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

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

The newest version!
        <rule id="IFN4910" name="Derived Summary Stage 2018, Schema ID (SEER)" tag="N4910" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.derivedSummaryStage2018 == null)
    return true

List validCode = (List)((Map)Context.IFN_SS2018_Table).get(line.schemaId)
if (validCode == null)
    return Functions.matches(line.derivedSummaryStage2018, /^[0-479]$/)

return validCode.contains(line.derivedSummaryStage2018)]]></expression>
            <message>Derived Summary Stage 2018 not valid for this Schema ID.</message>
            <description><![CDATA[1. This edit is skipped for any of the following conditions:
    a. Diagnosis date is pre-2018, blank (unknown), or invalid
    b. Schema ID is blank
    c. Derived Summary Stage 2018 is blank

2. This edit checks that Derived Summary Stage 2018 is correct by Schema ID.  The
data item may be blank because it was not required before 2018.

The allowable values for Derived Summary Stage 2018 are 0, 1, 2, 3, 4, 7, and 9
for all Schema IDs except for those listed below.


00060    Cervical Lymph Nodes and Unknown Primary
Derived Summary Stage 2018:
            3, 7, 9


00381       Bone Appendicular
00382       Bone Spine
00383       Bone Pelvis
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00400       Soft Tissues Head and Neck
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00410       Soft Tissue Trunk and Extremities
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00421       Soft Tissue Abdomen and Thorax
00422       Heart, Mediastinum, Pleura
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00440       Retroperitoneum
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00450       Soft Tissue Rare
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00458       Kaposi Sarcoma
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9

00459 Soft Tissue Other
Derived Summary Stage 2018:
1, 2, 3, 4, 7, 9

00528 Cervix Sarcoma
Deerived Summary Stage 2018:
1, 2, 3, 4, 7, 9


00541       Corpus Sarcoma
00542       Corpus Adenosarcoma
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00680       Retinoblastoma
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00700       Orbital Sarcoma
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00710       Lymphoma Ocular Adnexa
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00721       Brain and Spinal Cord [8th: 2018-2022]
00722       CNS Other [8th: 2018-2022]
Derived Summary Stage 2018:
            1, 2, 7, 8, 9

09721       Brain and Spinal Cord Other [V9: 2023+]
09722       CNS Other [V9: 2023+]
Derived Summary Stage 2018:
            1, 2, 7, 8, 9

00723       Intracranial Gland [8th: 2018-2022]
Derived Summary Stage 2018:
            0, 1, 2, 7, 8, 9

09723       Intracranial Gland [V9: 2023+]
Derived Summary Stage 2018:
            0 , 1, 2, 7, 8, 9

09724       Brain and Spinal Cord Medulloblastoma [V9: 2023+]
Derived Summary Stage 2018:
            1, 2, 7, 8, 9

00790       Lymphoma
00795       Lymphoma-CLL/SLL
Derived Summary Stage 2018:
            1, 2, 7, 9


00811       Mycosis Fungoides
00812       Primary Cutaneous Lymphomas (excluding MF and SS)
Derived Summary Stage 2018:
            1, 2, 3, 4, 7, 9


00821 Plasma Cell Myeloma
Derived Summary Stage 2018:
            7, 9


00822 Plasma Cell Disorder
Derived Summary Stage 2018:
            1, 3, 7, 9


00830       HemeRetic
Derived Summary Stage 2018:
            1, 7, 9


99999       Ill-Defined Other
Derived Summary Stage 2018:
            9]]></description>
            <history>
                <event version="SE18-018-03" user="kirbyk" date="2018-07-18" ref="67954">Edit created.</event>
                <event version="SE18-018-04" user="kirbyk" date="2018-08-08" ref="67985">Updated names for schemas 00821 and 00822 in description.</event>
                <event version="SE18-020-02" user="kirbyk" date="2020-03-27" ref="68332">Removed codes 1 and 3 for Derived Summary Stage 2018.</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-28" ref="68830">Added logic for Schema IDs 00528, 09520, and 00459</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-03" ref="69127">Update SS2018 table to include Schema IDs 09721-09724. Update names for schemas 00721-00723.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-07" ref="69137">Update description and SS2018 table for Schema ID 09724. Add code 0 to schema id 00370 (set to default values).</event>
                <event version="SE23-023-02" user="shearerw" date="2023-05-02" ref="69256">Remove code 0 for Schema ID 00370 for 2018-2022.</event>
                <event version="SE23-023-07" user="shearerw" date="2023-09-08" ref="69308">Remove logic for Schema ID 00370.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy