edits.seer.internal.rules.IF118.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IF118" name="Age, Primary Site, Morph ICDO3--Adult (SEER)" tag="N0718" java-path="lines.line" category="inter-field" depends="Age_at_Diagnosis,Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[Integer ageDx = Functions.asInt(line.ageAtDiagnosis) if (line.dateOfDiagnosisYear == null || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.dateOfDiagnosisYear < '2001' || line.overRideAgeSiteMorph == '1' || ageDx < 15) return true if (ageDx < 30 && (['9732','9823','9863','9875','9876','9945'].contains(line.histologicTypeIcdO3) || line.primarySite == 'C609')) return false if (ageDx < 20 && (Functions.matches(line.primarySite, /^C(15\d|17\d|199|209|21[0-8]|239|24\d|25\d|384|50\d|54\d|559)$/) || (Functions.matches(line.primarySite, /^C(18\d|339|34\d)$/) && ! Functions.between(line.histologicTypeIcdO3,'8240','8245')) || (Functions.matches(line.primarySite, /^C53\d$/) && line.behaviorCodeIcdO3 == '3'))) return false if ((ageDx < 40 && line.primarySite == 'C619' && line.histologicTypeIcdO3 == '8140') || (ageDx > 45 && line.primarySite == 'C589' && line.histologicTypeIcdO3 == '9100')) return false if (Functions.matches(line.primarySite, /^C69\d$/) && Functions.between(line.histologicTypeIcdO3,'9510','9514')) return false if (line.histologicTypeIcdO3 == '8960' || line.histologicTypeIcdO3 == '9946') return false return true]]></expression> <message>Age, Primary Site, Histology conflict for Adult</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1) Histologic Type ICD-O-3[522] is blank 2) Behavior Code ICD-O-3[523] is blank 3) Year of Diagnosis[390] < 2001 4) Year of Diagnosis is blank 5) Age < 15 6) Over-ride age/site/morph[1990] is 1 (review complete). This edit and the edit Age, Primary Site, Morphology ICDO3--Pediatric (NPCR) replace the edit Age, Primary Site, Morphology ICDO3 (SEER IF15) for cases diagnosed on or after 01/01/2001. There is no overlap in the two edits. The edit Age, Primary Site, Morphology ICDO3--Pediatric (NPCR) is for ages 000 - 014 and this edit (Age, Primary Site, Morphology ICDO3--Adult (SEER)) is for ages 015 and older. The field Over-ride Age/Site/Morph [1990] is shared by both edits and contains a "1" when the case has been reviewed and accepted as is. For each specified age group in the following table, the Primary Site[400]/Morphology--Type&Behav ICD-O-3[521] combinations require review. 014 < Age < 020 Esophagus C150-C159 | Any morphology Small intestine C170-C179 | Any morphology Colon C180-C189 | Any other than carcinoid 8240-8245 Rectosigmoid C199 | Any morphology Rectum C209 | Any morphology Anus, anal canal C210-C218 | Any morphology Gallbladder C239 | Any morphology Other biliary tract C240-C249 | Any morphology Pancreas C250-C259 | Any morphology Trachea C339 | Any other than carcinoid 8240-8245 Lung and bronchus C340-C349 | Any other than carcinoid 8240-8245 Pleura C384 | Any morphology Breast C500-C509 | Any morphology Uterus, NOS C559 | Any morphology Cervix uteri C530-C539 | Any Histologic Type ICD-O-3 with Behavior ICD-O-3 of 3 (malignant) Corpus uteri C540-C549 | Any morphology 014 < Age < 030 Any site | Multiple Myeloma 9732 | Chronic myeloid leukemia 9863,9875,9876,9945 | Chronic lymphocytic leukemia 9823 Penis C609 | Any morphology 014 < Age < 040 Prostate C619 | Adenocarcinoma, NOS 8140 Age > 014 Eye C690-C699 | Retinobastoma 9510-9514 Any site | Wilms tumor 8960 | Juvenile myelomonocytic leukemia 9946 Age > 045 Placenta C589 | Choriocarcinoma 9100]]></description> <history> <event version="SE11-001-21" user="greend" date="2007-08-02">Juvenile myelomonocytic leukemia(9946) was moved from the 014 < Age < 030 group to the Age > 14 group.</event> <event version="SE11-001-23" user="greend" date="2009-01-06">Edit changed to require review if age is < 040 [instead of < 045], site is prostate (C619), and histology is Adenocarcinoma, NOS (8140).</event> <event version="SE11-001-23" user="greend" date="2009-01-07">Edit changed to accept blank year of diagnosis instead of 9 filled</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE24-024-04" user="kirbyk" date="2024-04-16" ref="69326">Removed several dependencies.</event> </history> </rule>