edits.seer.internal.rules.IFN2970.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="IFN2970" name="Schema ID, EOD Mets (SEER)" tag="N2970" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.eodMets == null) return true List validCode = (List)((Map)Context.IFN2970_Table).get(line.schemaId) return validCode == null || validCode.contains(line.eodMets)]]></expression> <message>EOD Mets is not valid for this Schema ID.</message> <description><![CDATA[This edit checks the values for EOD Mets by Schema ID. This edit is skipped for any of the following conditions: 1. Year of Date of Diagnosis is less than 2018, blank (unknown), or invalid. 2. Schema ID is blank 3. EOD Mets is blank The following list shows the Schema ID, Schema name, and values for EOD Mets. The sites and histologies for each schema are listed in the edit _SYS Schema ID, Primary Site, Histology, Behavior (NAACCR). 00060 Cervical Lymph Nodes and Unknown Primary EOD Mets: 00, 10, 70, 99 00071 Lip EOD Mets: 00, 10, 70, 99 00072 Tongue Anterior EOD Mets: 00, 10, 70, 99 00073 Gum EOD Mets: 00, 10, 70, 99 00074 Floor of Mouth EOD Mets: 00, 10, 70, 99 00075 Palate Hard EOD Mets: 00, 10, 70, 99 00076 Buccal Mucosa EOD Mets: 00, 10, 70, 99 00077 Mouth Other EOD Mets: 00, 10, 70, 99 00080 Major Salivary Glands EOD Mets: 00, 10, 70, 99 00090 Nasopharynx EOD Mets: 00, 10, 70, 99 00100 Oropharynx HPV-Mediated (p16+) EOD Mets: 00, 10, 70, 99 00111 Oropharynx (p16-) EOD Mets: 00, 10, 70, 99 00112 Hypopharynx EOD Mets: 00, 10, 70, 99 00118 Pharynx Other EOD Mets: 00, 10, 70, 99 00119 Middle Ear EOD Mets: 00, 10, 70, 99 00121 Maxillary Sinus EOD Mets: 00, 10, 70, 99 00122 Nasal Cavity and Ethmoid Sinus EOD Mets: 00, 10, 70, 99 00128 Sinus Other EOD Mets: 00, 10, 70, 99 00130 Larynx Other EOD Mets: 00, 10, 70, 99 00131 Larynx Supraglottic EOD Mets: 00, 10, 70, 99 00132 Larynx Glottic EOD Mets: 00, 10, 70, 99 00133 Larynx Subglottic EOD Mets: 00, 10, 70, 99 00140 Melanoma Head and Neck EOD Mets: 00, 10, 70, 99 00150 Cutaneous Carcinoma Head and Neck EOD Mets: 00, 10, 70, 99 00161 Esophagus (incl GE Junction) (incl Squamous) EOD Mets: 00, 10, 70, 99 00169 Esophagus (incl GE Junction) (excl Squamous) EOD Mets: 00, 10, 70, 99 00170 Stomach EOD Mets: 00, 10, 70, 99 00180 Small Intestine EOD Mets: 00, 10, 70, 99 00190 Appendix [8th: 2018-2022] EOD Mets: 00, 10, 30, 40, 50, 70, 99 09190 Appendix [V9: 2023+] EOD Mets: 00, 10, 30, 40, 50, 70, 99 00200 Colon and Rectum EOD Mets: 00, 10, 20, 30, 40, 50, 70, 99 00210 Anus [8th: 2018-2022] EOD Mets: 00, 10, 70, 99 09210 Anus [V9: 2023+} EOD Mets: 00, 10, 70, 99 00220 Liver EOD Mets: 00, 10, 70, 99 00230 Bile Ducts Intrahepatic EOD Mets: 00, 10, 50, 70, 99 00241 Gallbladder EOD Mets: 00, 10, 70, 99 00242 Cystic Duct EOD Mets: 00, 10, 70, 99 00250 Bile Ducts Perihilar EOD Mets: 00, 10, 70, 99 00260 Bile Ducts Distal EOD Mets: 00, 10, 70, 99 00270 Ampulla Vater EOD Mets: 00, 10, 70, 99 00278 Biliary Other EOD Mets: 00, 10, 70, 99 00280 Pancreas EOD Mets: 00, 10, 20, 70, 99 00288 Digestive Other EOD Mets: 00, 10, 70, 99 00290 NET Stomach [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09290 NET Stomach [V9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00301 NET Duodenum [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09301 NET Duodenum [V9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00302 NET Ampulla of Vater [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09302 NET Ampulla of Vater [v9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00310 NET Jejunum and Ileum [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09310 NET Jejunum and Ileum [v9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00320 NET Appendix [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09320 NET Appendix [v9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00330 NET Colon and Rectum [8th: 2018-2023] EOD Mets: 00, 10, 20, 30, 50, 70, 99 09330 NET Colon and Rectum [V9: 2024+] EOD Mets: 00, 10, 20, 30, 50, 70, 99 00340 NET Pancreas [8th: 2018-2023] EOD Mets: 00, 10, 20, 40, 50, 60, 70, 99 09340 NET Pancreas [V9: 2024+] EOD Mets: 00, 10, 20, 40, 50, 60, 70, 99 00350 Thymus EOD Mets: 00, 10, 30, 50, 70, 99 00358 Trachea EOD Mets: 00, 10, 70, 99 00360 Lung EOD Mets: 00, 10, 20, 30, 50, 70, 99 00370 Pleural Mesothelioma EOD Mets: 00, 05, 10, 70, 99 00378 Respiratory Other EOD Mets: 00, 10, 70, 99 00381 Bone Appendicular Skeleton EOD Mets: 00, 10, 30, 50, 70, 99 00382 Bone Spine EOD Mets: 00, 10, 30, 50, 70, 99 00383 Bone Pelvis EOD Mets: 00, 10, 30, 50, 70, 99 00400 Soft Tissue Head and Neck EOD Mets: 00, 10, 70, 99 00410 Soft Tissue Trunk and Extremities EOD Mets: 00, 10, 70, 99 00421 Soft Tissue Abdomen and Thorax EOD Mets: 00, 10, 70, 99 00422 Soft Tissue Heart, Mediastinum, Pleura EOD Mets: 00, 10, 70, 99 00430 GIST EOD Mets: 00, 10, 70, 99 00440 Soft Tissue Retroperitoneum EOD Mets: 00, 10, 70, 99 00450 Soft Tissue Rare EOD Mets: 00, 10, 70, 99 00458 Kaposi Sarcoma EOD Mets: 88 00459 Soft Tissue Other EOD Mets: 00, 10, 70, 99 00460 Merkel Cell Skin EOD Mets: 00, 10, 20, 30, 50, 70, 99 00470 Melanoma Skin EOD Mets: 00, 10, 20, 30, 50, 60, 70, 99 00478 Skin Other EOD Mets: 00, 10, 70, 99 00480 Breast EOD Mets: 00, 05, 10, 70, 99 00500 Vulva [8th: 2018-2023] EOD Mets: 00, 10, 70, 99 09500 Vulva [V9: 2024+] EOD Mets: 00, 10, 70, 99 00510 Vagina EOD Mets: 00, 10, 70, 99 00520 Cervix [8th: 2018-2020] EOD Mets: 00, 10, 70, 99 00528 Cervix Sarcoma [2021+] EOD Mets: 00, 10, 70, 99 00530 Corpus Carcinoma and Carcinosarcoma EOD Mets: 00, 10, 70, 99 00541 Corpus Sarcoma EOD Mets: 00, 10, 70, 99 00542 Corpus Adenosarcoma EOD Mets: 00, 10, 70, 99 00551 Ovary EOD Mets: 00, 10, 30, 50, 70, 99 00552 Primary Peritoneal Carcinoma EOD Mets: 00, 10, 30, 50, 70, 99 00553 Fallopian Tube EOD Mets: 00, 10, 30, 50, 70, 99 00558 Adnexa Uterine Other EOD Mets: 00, 10, 70, 99 00559 Genital Female Other EOD Mets: 00, 10, 70, 99 00560 Placenta EOD Mets: 00, 10, 30, 50, 70, 99 00570 Penis EOD Mets: 00, 10, 70, 99 00580 Prostate EOD Mets: 00, 10, 30, 50, 70, 99 00590 Testis EOD Mets: 00, 10, 30, 50, 60, 70, 99 00598 Genital Male Other EOD Mets: 00, 10, 70, 99 00600 KidneyParenchyma EOD Mets: 00, 10, 70, 99 00610 Kidney Renal Pelvis EOD Mets: 00, 10, 70, 99 00620 Bladder EOD Mets: 00, 10, 50, 70, 99 00631 Urethra EOD Mets: 00, 10, 70, 99 00633 Urethra-Prostatic EOD Mets: 00, 10, 70, 99 00638 Urinary Other EOD Mets: 00, 10, 70, 99 00640 Skin Eyelid EOD Mets: 00, 10, 70, 99 00650 Conjunctiva EOD Mets: 00, 10, 70, 99 00660 Melanoma Conjunctiva EOD Mets: 00, 10, 70, 99 00671 Melanoma Iris EOD Mets: 00, 10, 30, 50, 70, 99 00672 Melanoma Choroid and Cililary Body EOD Mets: 00, 10, 30, 50, 70, 99 00680 Retinoblastoma EOD Mets: 00, 10, 30, 50, 70, 99 00690 Lacrimal Gland EOD Mets: 00, 10, 70, 99 00698 Lacrimal Sac EOD Mets: 00, 10, 70, 99 00700 Orbital Sarcoma EOD Mets: 00, 10, 70, 99 00710 Lymphoma Ocular Adnexa EOD Mets: 00, 10, 30, 50, 70, 99 00718 Eye Other EOD Mets: 00, 10, 70, 99 00721 Brain [8th: 2018-2022] EOD Mets: 00, 10, 70, 99 09721 Brain [V9: 2023+] EOD Mets: 00, 10, 70, 99 00722 CNS Other [8th: 2018-2022] EOD Mets: 00, 10, 70, 99 09722 CNS Other [V9: 2023+] EOD Mets: 00, 10, 70, 99 00723 Intracranial Gland [8th: 2018-2022] EOD Mets: 00, 10, 70, 99 09723 Intracranial Gland [V9: 2023+] EOD Mets: 00, 10, 70, 99 09724 Medulloblastoma [V9: 2023+] EOD Mets: 00, 15, 25, 35, 45, 70, 99 00730 Thyroid EOD Mets: 00, 10, 70, 99 00740 Thyroid Medullary EOD Mets: 00, 10, 70, 99 00750 Parathyroid EOD Mets: 00, 10, 70, 99 00760 Adrenal Gland Mets: 00, 10, 70, 99 00770 NET Adrenal EOD Mets: 00, 10, 20, 30, 50, 70, 99 00778 Endocrine Other EOD Mets: 00, 10, 70, 99 00790 Lymphoma (excluding CLL/SLL) EOD Mets: 88 00795 Lymphoma (CLL/SLL) EOD Mets: 88 00811 Mycosis Fungoides EOD Mets: 00, 10, 70, 99 00812 Primary Cutaneous Lymphomas (excluding Mycosis Fungoides) EOD Mets: 00, 10, 70, 99 00821 Plasma Cell Myeloma EOD Mets: 88 00822 Plasma Cell Disorder EOD Mets: 88 00830 HemeRetic EOD Mets: 88 09520 Cervix [9th: 2021+] EOD Mets: 00, 10, 70, 99 99999 Ill-Defined Other/Ill-Defined Other EOD Mets: 88]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-16" ref="67949">Edit created.</event> <event version="SE18-018-04" user="kirbyk" date="2018-08-08" ref="67985">Updated name for schema 00822 in description.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-14" ref="67989">Added valid code '60' for schema ID '00470'.</event> <event version="SE18-018-05" user="kirbyk" date="2018-08-17" ref="68020">Changed schema name for 00150.</event> <event version="SE18-019-01" user="kirbyk" date="2019-03-27" ref="68133">Changed schema ID '00632' to '00633'.</event> <event version="SE18-020-05" user="kirbyk" date="2020-08-12" ref="68456">Added valid codes for Schema IDs '00190', '00620', and '09520'.</event> <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68842">Added Schema IDs 00528, 00459 to validation logic</event> <event version="SE23-023-01" user="secristc" date="2023-02-06" ref="69132">Added logic for schema IDs 09190, 09210, 09721-4.</event> <event version="SE24-024-01" user="kirbyk" date="2024-03-04" ref="69415">Added new schemas for 2024.</event> </history> </rule>