edits.seer.internal.rules.IF119.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="IF119" name="Age, Primary Site, Morph ICDO3--Pediatric (NPCR)" tag="N0717" 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) Integer site = Functions.asInt(line.primarySite.substring(1)) Integer hist = Functions.asInt(line.histologicTypeIcdO3) if (line.dateOfDiagnosisYear == null || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.dateOfDiagnosisYear < '2001' || line.overRideAgeSiteMorph == '1' || line.overRideAgeSiteMorph == '3' || ageDx > 14) return true /* Hodgkin Lymphoma */ if (ageDx < 3 && Functions.between(line.histologicTypeIcdO3,'9650','9667')) return false /* Neuroblastoma and ganglioneuroblastoma */ if (ageDx > 9 && ((line.histologicTypeIcdO3 == '9490') || (line.histologicTypeIcdO3 == '9500'))) return false /* Retinoblastoma */ if (ageDx > 5 && Functions.between(line.histologicTypeIcdO3,'9510','9514')) return false /* Wilms tumro, rhabdoid, and clear cell */ if (ageDx > 8 && ((line.histologicTypeIcdO3 == '8960') || (line.histologicTypeIcdO3 == '8964') || ((line.histologicTypeIcdO3 == '8963') && ((site == 649) || (site == 809))))) return false /* Renal carcinoma */ if (ageDx < 9 && ((((List)Context.Group_VIb).contains(hist) && (site == 649)) || (line.histologicTypeIcdO3 == '8312'))) return false /* Hepatoblastoma */ if (ageDx > 5 && (line.histologicTypeIcdO3 == '8970')) return false /* Hepatic carcinoma */ if (ageDx < 9 && ((((List)Context.Group_VIIb).contains(hist) && ((site == 220) || (site == 221))) || Functions.between(line.histologicTypeIcdO3,'8160','8180'))) return false /* Osteosarcoma */ if (ageDx < 6 && Functions.between(line.histologicTypeIcdO3,'9180','9200')) return false /* Chondrosarcoma */ if (ageDx < 6 && (Functions.between(line.histologicTypeIcdO3,'9220','9230') || (((line.histologicTypeIcdO3 == '9231') || (line.histologicTypeIcdO3 == '9240')) && Functions.between(site,400,419)))) return false /* Ewing sarcoma */ if (ageDx < 4 && (((line.histologicTypeIcdO3 == '9260') && (Functions.between(site,400,419) || (site == 809))) || (((line.histologicTypeIcdO3 == '9363') || (line.histologicTypeIcdO3 == '9364')) && Functions.between(site,400,419)))) return false /* Non-gonadal germ cell */ if (ageDx > 7 && Functions.between(line.histologicTypeIcdO3,'9060','9102') && ((List)Context.Group_Xb_Site).contains(site)) return false /* Gonadal carcinoma */ if (ageDx < 15 && ((((List)Context.Group_Xd_1).contains(hist) && ((List)Context.Group_Xd_Site_1).contains(site)) || ((List)Context.Group_Xd_2).contains(hist))) return false /* Thyroid carcinoma */ if (ageDx < 6 && ((((List)Context.Group_XIb).contains(hist) && (site == 739)) || Functions.between(line.histologicTypeIcdO3,'8330','8350'))) return false /* Nasopharyngeal carcinoma */ if (ageDx < 6 && ((List)Context.Group_XIc).contains(hist) && Functions.between(site,110,119)) return false /* Skin carcinoma */ if (ageDx < 5 && ((List)Context.Group_XIe).contains(hist) && Functions.between(site,440,449)) return false /* NOS carcinoma */ if (ageDx < 5 && ((List)Context.Group_XIf).contains(hist) && ((List)Context.Group_XIf_Site).contains(site)) return false /* Mesothelial neoplasma (M905) */ if (Functions.between(line.histologicTypeIcdO3,'9050','9053')) return false /* Additional SEER Groups */ if ((line.behaviorCodeIcdO3 == '2' && Functions.between(site,530,539)) || (line.histologicTypeIcdO3 == '9100' && site == 589) || 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|609)$/) || (Functions.matches(line.primarySite, /^C(18\d|339|34\d)$/) && !Functions.between(line.histologicTypeIcdO3,'8240','8245')) || (Functions.between(site,530,539) && line.behaviorCodeIcdO3 == '3') || (site == 619 && line.histologicTypeIcdO3 == '8140') || ['9732','9863','9875','9876','9945','9823'].contains(line.histologicTypeIcdO3)) return false return true]]></expression> <message>Age, Primary Site, Histology conflict for Pediatric</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 > 14 6) Over-ride age/site/morph[1990] is 1 (review complete) or 3 (Reviewed: Conditions 1 and 2 above both apply) This edit and the edit Age, Primary Site, Morphology ICDO3--Adult (SEER) 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. This edit (Age, Primary Site, Morphology ICDO3--Pediatric (NPCR)) is for ages 000 - 014 and the 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. This edit is based on the International Classification of Childhood Cancer (ICCC) CHILD-CHECK program edit of "Unlikely Combinations of Age and Tumour Type" as specified on page 11 of IARC Technical Report No. 29. It also includes SEER edits for ages 000 - 014 that were formerly part of the edit Age, Primary Site, Morphology ICDO3 (SEER IF15). For each specified group in the following list, the Age/Primary Site/ Morphology combinations require review. Unlikely Combinations of Age and Tumor Type ICCC Diagnostic Group: IIa Hodgkin Lymphoma Histologic Type ICD-O-3 [522]: 9650-9667 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 002 ICCC Diagnostic Group: IVa Neuroblastoma and ganglioneuroblastoma Histologic Type ICD-O-3 [522]: 9490, 9500 Primary Site [400]: Any Age at Diagnosis [230]: 010 - 014 ICCC Diagnostic Group: V Retinoblastoma Histologic Type ICD-O-3 [522]: 9510-9514 Primary Site [400]: Any Age at Diagnosis [230]: 006 - 014 ICCC Diagnostic Group: VIa Wilms tumor, rhabdoid, and clear cell sarcoma Histologic Type ICD-O-3 [522]: 8960, 8964 Primary Site [400]: Any Histologic Type ICD-O-3 [522]: 8963 Primary Site [400]: C649, C809 Age at Diagnosis [230]: 009 - 014 ICCC Diagnostic Group: VIb Renal carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8120-8122, 8130-8141, 8143, 8155, 8190-8201, 8210, 8211, 8221-8231, 8240, 8241, 8244-8246, 8260-8263, 8290, 8310, 8320, 8323, 8401, 8430, 8440, 8480-8490, 8504, 8510, 8550, 8560-8573 Primary Site [400]: C649 Histologic Type ICD-O-3 [522]: 8312 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 008 ICCC Diagnostic Group: VIIa Hepatoblastoma Histologic Type ICD-O-3 [522]: 8970 Primary Site [400]: Any Age at Diagnosis [230]: 006 - 014 ICCC Diagnostic Group: VIIb Hepatic carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8120-8122, 8140, 8141, 8143, 8155, 8190-8201, 8210, 8211, 8230, 8231, 8240, 8241, 8244-8246, 8260-8263, 8310, 8320, 8323, 8401, 8430, 8440, 8480-8490, 8504, 8510, 8550, 8560-8573 Primary Site [400]: C220, C221 Histologic Type ICD-O-3 [522]: 8160-8180 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 008 ICCC Diagnostic Group: VIIIa Osteosarcoma Histologic Type ICD-O-3 [522]: 9180-9200 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 005 ICCC Diagnostic Group: VIIIb Chondrosarcoma Histologic Type ICD-O-3 [522]: 9220-9230 Primary Site [400]: Any Histologic Type ICD-O-3 [522]: 9231, 9240 Primary Site [400]: C400-C419 Age at Diagnosis [230]: 000 - 005 ICCC Diagnostic Group: VIIIc Ewing sarcoma Histologic Type ICD-O-3 [522]: 9260 Primary Site [400]: C400-C419, C809 Histologic Type ICD-O-3 [522]: 9363, 9364 Primary Site [400]: C400-C419 Age at Diagnosis [230]: 000 - 003 ICCC Diagnostic Group: Xb Non-gonadal germ cell Histologic Type ICD-O-3 [522]: 9060-9102 Primary Site [400]: C000-C559, C570-C619, C630-C699, C739-C750, C754-C809 Age at Diagnosis [230]: 008 - 014 ICCC Diagnostic Group: Xd Gonadal carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8120-8122, 8130-8141, 8143, 8155, 8190-8201, 8210, 8211, 8221-8241, 8244-8246, 8260-8263, 8290, 8310, 8320, 8323, 8430, 8440, 8480-8490, 8504, 8510, 8550, 8560-8573 Primary Site [400]: C569, C620-C629 Histologic Type ICD-O-3 [522]: 8380, 8381, 8441-8473 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 014 ICCC Diagnostic Group: XIb Thyroid carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8120-8122, 8130-8141, 8155, 8190, 8200, 8201, 8211, 8230, 8231, 8244-8246, 8260-8263, 8290, 8310, 8320, 8323, 8430, 8440, 8480, 8481, 8500-8573 Primary Site [400]: C739 Histologic Type ICD-O-3 [522]: 8330-8350 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 005 ICCC Diagnostic Group: XIc Nasopharyngeal carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8120-8122, 8130-8141, 8155, 8190, 8200, 8201, 8211, 8230, 8231, 8244-8246, 8260-8263, 8290, 8310, 8320, 8323, 8430, 8440, 8480, 8481,8504, 8510, 8550, 8560-8573 Primary Site [400]: C110-C119 Age at Diagnosis [230]: 000 - 005 ICCC Diagnostic Group: XIe Skin carcinoma Histologic Type ICD-O-3 [522]: 8010-8041, 8050-8075, 8082, 8090-8110, 8140, 8143, 8147, 8190, 8200, 8240, 8246, 8247, 8260, 8310, 8320, 8323, 8390-8420, 8430, 8480, 8542, 8560, 8570-8573, 8940 Primary Site [400]: C440-C449 Age at Diagnosis [230]: 000 - 004 ICCC Diagnostic Group: XIf NOS carcinoma Histologic Type ICD-O-3 [522]: 8010-8082, 8120-8155, 8190-8263, 8290, 8310, 8314-8323, 8430-8440, 8480-8580, 8940, 8941 Primary Site [400]: C000-C109, C129-C218, C239-C399, C480-C488, C500-C559, C570-C619, C630-C639, C659-C729, C750-C809 Age at Diagnosis [230]: 000 - 004 ICCC Diagnostic Group: XIIa Mesothelial neoplasms (M905) Histologic Type ICD-O-3 [522]: 9050-9053 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 014 Additional SEER Groups: Cervix Uteri Histologic Type ICD-O-3 [522]: Any Behavior Code ICD-O-3 [523]: 2 Primary Site [400]: C530-C539 Age at Diagnosis [230]: 000 - 014 Placenta: choriocarcinoma Histologic Type ICD-O-3 [522]: 9100 Primary Site [400]: C589 Age at Diagnosis [230]: 000 - 014 Esophagus, Small Intestine, Rectosigmoid, Rectum, Anus, Anal Canal, Gallbladder, Other Biliary Tract, Pancreas, Pleura, Breast, Uterus, NOS, Corpus Uteri, Penis Histologic Type ICD-O-3 [522]: Any Primary Site [400]: C150-C159, C170-C179, C199, C209, C210-C218, C239, C240-C249, C250-C259, C384, C500-C509, C559, C540-C549, C609 Age at Diagnosis [230]: 000 - 014 Colon, Trachea, Lung and Bronchus Histologic Type ICD-O-3 [522]: Any other than carcinoid (8240-8245) Primary Site [400]: C180-C189, C339, C340-C349 Age at Diagnosis [230]: 000 - 014 Cervix Uteri Histologic Type ICD-O-3 [522]: Any with Behavior ICD-O-3 of 3 Primary Site [400]: C530-C539 Age at Diagnosis [230]: 000 - 014 Prostate: adenocarcinoma Histologic Type ICD-O-3 [522]: 8140 Primary Site [400]: C619 Age at Diagnosis [230]: 000 - 014 Multiple Myeloma Histologic Type ICD-O-3 [522]: 9732 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 014 Chronic Myeloid Leukemia Histologic Type ICD-O-3 [522]: 9863, 9875, 9876, 9945 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 014 Chronic Lymphocytic Leukemia Histologic Type ICD-O-3 [522]: 9823 Primary Site [400]: Any Age at Diagnosis [230]: 000 - 014]]></description> <history> <event version="SE11-001-20" user="greend" date="2005-09-21">Juvenile myelomoncytic leukema (9946) was removed from the group of histologies requiring review.</event> <event version="SE11-001-21" user="greend" date="2007-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 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="SE22-022-01" user="secristc" date="2022-02-23" ref="68907">Changed maximum age at DX to 14 for gonadal carcinoma.</event> <event version="SE24-024-04" user="kirbyk" date="2024-04-16" ref="69326">Removed several dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy