edits.seer.internal.rules.IF15_3.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.
The newest version!
<rule id="IF15_3" name="Age, Primary Site, Morphology ICDO3 (SEER IF15)" tag="N0449" 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 age = Functions.asInt(line.ageAtDiagnosis) if (line.overRideAgeSiteMorph == '1' || line.overRideAgeSiteMorph == '3' || line.histologicTypeIcdO3 == null || line.dateOfDiagnosisYear >= '2001' || line.dateOfDiagnosisYear == null) return true if (age < 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, /^C18\d$/) && !Functions.between(line.histologicTypeIcdO3,'8240','8245')) || (Functions.matches(line.primarySite, /^C(339|34\d)$/) && !Functions.between(line.histologicTypeIcdO3,'8240','8245')) || (Functions.matches(line.primarySite, /^C53\d$/) && line.behaviorCodeIcdO3 == '3'))) return false if (age < 15 && line.behaviorCodeIcdO3 == '2' && Functions.matches(line.primarySite, /^C53\d$/)) return false if ((age < 15 || age > 45) && line.primarySite == 'C589' && line.histologicTypeIcdO3 == '9100') return false if (age < 30 && (line.primarySite == 'C609' || ['9732','9823','9863','9875','9876','9945'].contains(line.histologicTypeIcdO3))) return false if (age < 40 && line.primarySite == 'C619' && line.histologicTypeIcdO3 == '8140') return false if (age > 5 && Functions.matches(line.primarySite, /^C69\d$/) && Functions.between(line.histologicTypeIcdO3, '9510', '9514')) return false if (age > 14 && (line.histologicTypeIcdO3 == '8960' || line.histologicTypeIcdO3 == '9946')) return false return true]]></expression> <message>Age, Primary Site and Morphology ICD-O-3 conflict</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) Over-ride Age/Site/Morph[1990] contains a '1' (review completed) or '3' (Reviewed: Conditions 1 and 2 above both apply) 3) Diagnosis year >= 2001 4) Diagnosis year is blank For each specified age group in the following list, the Primary Site/Morphology combinations require review. Age at Diagnosis < 015 Cervix uteri C530-C539 | Any histology with in situ behavior 2 Placenta C589 | Choriocarcinoma 9100 Age at Diagnosis < 020 Esophagus C150-C159 | Any morphology Small intestine C170-C179 | Any morphlogy 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 histology with malignant behavior 3 Corpus uteri C540-C549 | Any morphology Age at Diagnosis < 030 Any site | Multiple myeloma 9732 Any site | Chronic myeloid leukemia 9863, 9875, 9876, 9945 Any site | Chronic lymphocytic leukemia 9823 Penis C609 | Any morphology Age at Diagnosis < 040 Prostate C619 | Adenocarcinoma, NOS 8140 Age at Diagnosis > 005 Eye C690-C699 | Retinoblastoma 9510-9514 Age > 014 Any site | Wilms tumor 8960 or | 9946 Age at Diagnosis > 045 Placenta C589 | Choriocarcinoma 9100]]></description> <history> <event version="SE11-001-20" user="greend" date="2005-09-21">Juvenile myelomoncytic leukema (9946) for ages < 30 was removed from the group of age/histologies requiring review.</event> <event version="SE11-001-21" user="greend" date="2007-02-02">Edit skipped for cases diagnosed 2001+.</event> <event version="SE11-001-21" user="greend" date="2007-08-02">Juvenile myelomonocytic leukemia(9946) was added to the Age > 14 group.</event> <event version="SE11-001-22" user="greend" date="2008-07-10">Edit is now bypassed if Over-ride Age/Site/Morph [1990] contains a '3' (Reviewed: Conditions 1 and 2 above both apply).</event> <event version="SE11-001-23" user="greend" date="2009-01-06">Edit is now bypassed if year of diagnosis is blank</event> <event version="SE11-001-23" user="greend" date="2009-01-07">Edit changed to require review if age is < 040 [instead of < 045] and site is prostate (C619) and histology is Adenocarcinoma, NOS (8140).</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>