All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edits.seer.internal.rules.IFN2968.xml Maven / Gradle / Ivy

There is a newer version: 024-13
Show newest version
        <rule id="IFN2968" name="Schema ID, EOD Primary Tumor (SEER)" tag="N2968" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.eodPrimaryTumor == null)
    return true

List validCode = (List)((Map)Context.IFN2968_Table).get(line.schemaId)

return validCode == null || validCode.contains(line.eodPrimaryTumor)]]></expression>
            <message>EOD Primary Tumor is not valid for this Schema ID.</message>
            <description><![CDATA[This edit checks the values for EOD Primary Tumor 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 Primary Tumor is blank


The following list shows the Schema ID, Schema name, and values of EOD--Primary
Tumor by Schema ID. 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 Primary Tumor: 800


00071       Lip

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 550, 600, 650, 700, 999


00072       Tongue Anterior

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 650, 700, 999


00073       Gum

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 650, 700, 999


00074       Floor of Mouth

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 550, 600, 650, 700, 999


00075       Palate Hard

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 750, 999


00076       Buccal Mucosa

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 999


00077       Mouth Other

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 999


00080       Major Salivary Glands

EOD Primary Tumor: 000, 100, 200, 300, 350, 400, 500, 600, 700, 800, 999


00090       Nasopharynx

EOD Primary Tumor: 000, 100, 200, 300, 500, 700, 800, 999


00100       Oropharynx HPV-Mediated (p16+)

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 800, 999


00111       Oropharynx (p16-)

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 550, 600, 700, 999


00112       Hypopharynx

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 999


00118       Pharynx Other

EOD Primary Tumor: 000, 100, 200, 700, 999


00119       Middle Ear

EOD Primary Tumor: 000, 100, 200, 700, 999


00121       Maxillary Sinus

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 999


00122       Nasal Cavity and Ethmoid Sinus

EOD Primary Tumor: 000, 100, 150, 175, 200, 300, 400, 500, 550, 600, 700,
                   999


00128       Sinus Other

EOD Primary Tumor: 000, 100, 200, 700, 999


00130       Larynx Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00131       Larynx Supraglottic

EOD Primary Tumor: 000, 100, 200, 250, 300, 400, 450, 500, 600, 700, 999


00132       Larynx Glottic

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 400, 500, 600, 700, 999


00133       Larynx Subglottic

EOD Primary Tumor: 000, 100, 200, 400, 500, 600, 700, 999


00140       Melanoma Head and Neck

EOD Primary Tumor: 000, 100, 300, 500, 600, 700, 999


00150       Cutaneous Carcinoma Head and Neck

EOD Primary Tumor: 000, 100, 300, 400, 500, 600, 700, 999


00161       Esophagus (incl GE Junction) (incl Squamous)

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 350, 400, 500, 600, 700,
                   800, 999

00169       Esophagus (incl GE Junction) (excl Squamous)

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 350, 400, 500, 600, 700,
                   800, 999

00170       Stomach

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 650, 700, 750, 800, 999


00180       Small Intestine

EOD Primary Tumor: 000, 100, 200, 250, 300, 400, 500, 600, 700, 800, 999


00190       Appendix [8th: 2018-2022]

EOD Primary Tumor: 000, 050, 070, 100, 200, 300, 400, 500, 600, 700, 750,
                   800, 999


09190       Appendix [V9: 2023+]

EOD Primary Tumor: 000, 050, 070, 100, 200, 300, 400, 500, 600, 700, 750,
                   800, 999


00200       Colon and Rectum

EOD Primary Tumor: 000, 050, 100, 200, 300, 400, 500, 600, 700, 800, 999


00210       Anus [8th: 2018-2022]

EOD Primary Tumor: 000, 100, 200, 600, 700, 800, 999


09210       Anus [V9: 2023+]

EOD Primary Tumor: 000, 100, 200, 600, 700, 800, 999


00220       Liver

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 800, 999


00230       Bile Ducts Intrahepatic

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


00241       Gallbladder

EOD Primary Tumor: 000, 100, 200, 300, 400, 450, 500, 550, 600, 700, 800, 999


00242       Cystic Duct

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 400, 450, 500, 550, 600,
                   650, 700, 800, 999


00250       Bile    Ducts Perihilar

EOD Primary Tumor: 000, 100, 200, 250, 300, 400, 500, 600, 700, 800, 999


00260       Bile    Ducts Distal

EOD Primary Tumor: 000, 100, 200, 600, 700, 800, 999


00270       Ampulla of Vater

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 400, 450, 500, 600, 700, 800, 999


00278       Biliary Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00280       Pancreas

EOD Primary Tumor: 000, 100, 500, 600, 700, 800, 999


00288       Digestive Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00290 NET Stomach [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 400, 500, 600, 700, 800, 999


09290 NET Stomach [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 400, 500, 600, 700, 800, 999


00301 NET Duodenum [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 800, 999


09301 NET Duodenum [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 800, 999


00302 NET Ampulla of Vater [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


09302 NET Ampulla of Vater [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


00310 NET Jejunum and Ileum [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 500, 600, 700, 800, 999


09310 NET Jejunum and Ileum [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 500, 600, 700, 800, 999


00320 NET Appendix [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


09320 NET Appendix [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


00330 NET Colon and Rectum [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 800, 999


09330 NET Colon and Rectum [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 800, 999


00340 NET Pancreas [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 200, 300, 500, 600, 700, 800, 999


09340 NET Pancreas [V9: 2024+]

EOD Primary Tumor: 000, 100, 200, 300, 500, 600, 700, 800, 999


00350       Thymus

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 700, 800, 999


00358       Trachea

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00360       Lung

EOD Primary Tumor: 000, 100, 200, 300, 400, 450, 500, 600, 650, 675, 700, 800,
                   980, 999


00370       Pleural Mesothelioma

EOD Primary Tumor: 000, 100, 300, 500, 600, 700, 800, 999


00378       Respiratory Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00381       Bone Appendicular Skeleton

EOD Primary Tumor: 100, 200, 300, 500, 800, 999


00382       Bone Spine

EOD Primary Tumor: 100, 200, 300, 400, 450, 500, 650, 700, 750, 800, 999


00383       Bone Pelvis

EOD Primary Tumor: 100, 200, 300, 400, 500, 550, 600, 650, 700, 750, 800, 999


00400       Soft Tissue Head and Neck

EOD Primary Tumor: 100, 200, 500, 600, 700, 800, 999


00410       Soft Tissue Trunk and Extremities

EOD Primary Tumor: 100, 200, 700, 800, 999


00421       Soft Tissue Abdomen and Thorax

EOD Primary Tumor: 100, 200, 300, 400, 500, 550, 600, 650, 700, 750, 800, 999


00422       Soft Tissue Heart, Mediastinum, Pleura

EOD Primary Tumor: 100, 200, 300, 400, 500, 550, 600, 650, 700, 750, 800, 999


00430       GIST

EOD Primary Tumor: 000, 100, 400, 700, 800, 999


00440       Soft Tissue Retroperitoneum

EOD Primary Tumor: 100, 200, 700, 800, 999


00450       Soft Tissue Rare

EOD Primary Tumor: 100, 200, 700, 800, 999


00458       Kaposi Sarcoma

EOD Primary Tumor: 100, 200, 300, 600, 700, 800, 999


00459       Soft Tissue Other

EOD Primary Tumor: 100, 200, 700, 800, 999


00460       Merkel Cell Skin

EOD Primary Tumor: 000, 100, 400, 700, 800, 999


00470       Melanoma Skin

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 700, 800, 999


00478       Skin Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00480       Breast

EOD Primary Tumor: 000, 050, 070, 100, 200, 300, 400, 450, 500, 600, 700,
                   800, 999


00500 Vulva [8th: 2018-2023]

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 400, 500, 600, 700, 800, 999


09500 Vulva [V9: 2024+]

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 400, 500, 600, 650, 750, 800, 999


00510       Vagina

EOD Primary Tumor: 000, 100, 300, 400, 500, 600, 700, 800, 999


00520       Cervix [8th: 2018-2020]

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550,
                   600, 700, 750, 800, 999


00528       Cervix Sarcoma

EOD Primary Tumor: 100, 200, 300, 400, 500, 550, 600, 650, 700, 750,
800, 999


09520       Cervix [9th: 2021+]

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550,
                   600, 700, 750, 800, 999


00530       Corpus Carcinoma and Carcinosarcoma

EOD Primary Tumor: 000, 050, 100, 150, 200, 250, 300, 400, 500, 550,
                   600, 650, 700, 750, 800, 999


00541       Corpus Sarcoma

EOD Primary Tumor: 100, 200, 400, 450, 500, 550, 600, 650, 700, 750,
                   800, 999


00542       Corpus Adenosarcoma

EOD Primary Tumor: 100, 125, 150, 175, 200, 250, 300, 350, 400, 450, 500, 550,
                   600, 650, 700, 750, 800, 999


00551       Ovary

EOD Primary Tumor: 000, 050, 100, 150, 200, 250, 300, 350, 400, 450, 500, 600, 650,
                   700, 750, 800, 999


00552       Primary Peritoneal Carcinoma

EOD Primary Tumor: 000, 300, 400, 450, 600, 650, 700, 750, 800, 999


00553       Fallopian Tube

EOD Primary Tumor: 000, 050, 070, 080, 100, 150, 250, 300, 350, 400, 450, 500, 600, 650,
                   700, 750, 800, 999


00558       Adnexa Uterine Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00559       Genital Female Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00560       Placenta

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


00570       Penis

EOD Primary Tumor: 000, 050, 070, 100, 150, 200, 300, 400, 450, 500, 550, 600,
                   700, 800, 999


00580       Prostate

EOD Primary Tumor: 000, 100, 110, 120, 150, 200, 210, 220, 250, 300, 350, 400,
                   500, 600, 700, 800, 999


00590       Testis

EOD Primary Tumor: 000, 100, 150, 200, 300, 400, 500, 600, 700, 800, 999


00598       Genital Male Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00600       Kidney Parenchyma

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


00610       Kidney Renal Pelvis

EOD Primary Tumor: 000, 050, 100, 200, 300, 400, 500, 600, 700, 800, 999


00620       Bladder

EOD Primary Tumor: 000, 050, 100, 130, 150, 170, 200, 250, 300, 350, 370, 400,
                   450, 500, 550, 600, 650, 700, 720, 750, 800, 999


00631       Urethra

EOD Primary Tumor: 000, 050, 100, 200, 300, 400, 700, 800, 999


00633       Urethra-Prostatic

EOD Primary Tumor: 000, 050, 100, 300, 400, 700, 800, 999


00638       Urinary Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00640       Skin Eyelid

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


00650       Conjunctiva

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 650, 700, 800, 999


00660       Melanoma Conjunctiva

EOD Primary Tumor: 000, 100, 110, 120, 130, 150, 200, 250, 300, 350, 400, 450,
                   500, 550, 600, 650, 700, 750, 800, 999


00671       Melanoma Iris

EOD Primary Tumor: 000, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600,
                   650, 700, 800, 999


00672       Melanoma Choroid and Cililary Body

EOD Primary Tumor: 000, 100, 200, 300, 400, 500, 600, 700, 800, 999


00680       Retinoblastoma

EOD Primary Tumor: 100, 125, 150, 175, 200, 225, 250, 275, 300, 325, 350, 375,
                   400, 425, 450, 475, 500, 525, 550, 600, 650, 700, 750, 800,
                   999


00690       Lacrimal Gland

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


00698       Lacrimal Sac

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00700       Orbital Sarcoma

EOD Primary Tumor: 000, 100, 300, 400, 700, 800, 999


00710       Lymphoma    Ocular Adnexa

EOD Primary Tumor: 100, 200, 300, 400, 700, 800, 999


00718       Eye Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00721       Brain [8th: 2018-2022]

EOD Primary Tumor: 050, 100, 500, 700, 800, 999


09721 Brain [9V9: 2023+]

EOD Primary Tumor: 050, 100, 500, 700, 800, 999


00722       CNS Other [8th: 2018-2022]

EOD Primary Tumor: 050, 100, 500, 700, 800, 999


09722 CNS Other [V9: 2023+]

EOD Primary Tumor: 050, 100, 500, 700, 800, 999


00723       Intracranial Gland [8th: 2018-2022]

EOD Primary Tumor: 000, 050, 100, 200, 700, 800, 999


09723       Intracranial Gland [V9: 2023+]

EOD Primary Tumor: 000, 050, 100, 200, 700, 800, 999


09724       Medulloblastoma [V9: 2023+]

EOD Primary Tumor: 050, 150, 250, 800, 999


00730       Thyroid

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 750, 800, 999


00740       Thyroid Medullary

EOD Primary Tumor: 000, 100, 200, 300, 400, 600, 700, 750, 800, 999


00750       Parathyroid

EOD Primary Tumor: 000, 050, 100, 200, 300, 700, 800, 999


00760       Adrenal Gland

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


00770       NET Adrenal

EOD Primary Tumor: 000, 100, 200, 300, 700, 800, 999


00778       Endocrine Other

EOD Primary Tumor: 000, 100, 200, 700, 800, 999


00790       Lymphoma (excluding CLL/SLL)


EOD Primary Tumor: 100, 200, 300, 400, 500, 575, 600, 700, 750, 800, 999


00795       Lymphoma (CLL/SLL)

EOD Primary Tumor: 100, 200, 300, 400, 500, 575, 600, 700, 750, 800, 999


00811       Mycosis Fungoides

EOD Primary Tumor: 100, 150, 200, 250, 300, 400, 450, 500, 600, 700, 800, 999


00812       Primary Cutaneous Lymphomas (excluding Mycosis Fungoides)

EOD Primary Tumor: 100, 200, 400, 500, 600, 700, 800, 999


00821       Plasma Cell Myeloma

EOD Primary Tumor: 700, 999


00822       Plasma Cell Disorder

EOD Primary Tumor: 100, 200, 700, 999


00830       HemeRetic

EOD Primary Tumor: 100, 700, 999


99999       Ill-Defined Other/Ill-Defined Other

EOD Primary Tumor: 888]]></description>
            <history>
                <event version="SE18-018-03" user="kirbyk" date="2018-07-17" ref="67950">Edit created.</event>
                <event version="SE18-018-04" user="kirbyk" date="2018-08-06" ref="67984">For Schema ID &apos;00822&apos;, changed name to &apos;Plasma Cell Disorder&apos; and added valid code &apos;700&apos;.</event>
                <event version="SE18-018-05" user="kirbyk" date="2018-08-17" ref="68020">Changed schema name for 00150.</event>
                <event version="SE18-018-07" user="kirbyk" date="2018-10-01" ref="68037">Added valid codes &apos;400&apos; and &apos;500&apos; for schema ID &apos;00812&apos;.</event>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-08" ref="68122">Added valid code &apos;675&apos; for schema ID &apos;00360&apos;, and code &apos;400&apos; for schema ID &apos;00740&apos;.</event>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-27" ref="68133">Changed schema ID &apos;00632&apos; to &apos;00633&apos;.</event>
                <event version="SE18-019-01" user="kirbyk" date="2019-04-16" ref="68163">Changed several valid codes in description and logic.</event>
                <event version="SE18-019-03" user="kirbyk" date="2019-08-01" ref="68210">Removed code &apos;250&apos; for prostate (00680).</event>
                <event version="SE18-019-07" user="beverung" date="2019-11-05" ref="68269">Updated table and description to list 250 as a valid code for Retinoblastoma (00680).</event>
                <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68305">Removed code &apos;250&apos; for prostate (00580).</event>
                <event version="SE18-020-03" user="beverung" date="2020-04-17" ref="68339">Added back code &apos;250&apos; for prostate (00580).</event>
                <event version="SE21-021-01" user="kirbyk" date="2021-01-08" ref="68457">Updated valid codes for NAACCR 21.</event>
                <event version="SE22-022-01" user="secristc" date="2022-01-21" ref="68843">Added logic for new schema IDs, removed 070, 080 from 00530.</event>
                <event version="SE23-023-01" user="secristc" date="2023-02-06" ref="69133">Added logic for schema IDs 00230, 00370, 00790, 00795, 09190, 09210, 09721-4.</event>
                <event version="SE24-024-01" user="kirbyk" date="2024-03-06" ref="69416">Added new schema IDs for NAACCR 24.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy