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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6396" name="Derived Summary Stage 2018, HemeRetic, Histology (SEER)" tag="N6396" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.derivedSummaryStage2018 == null)
    return true

if (line.schemaId == null || line.schemaId != '00830' || line.histologicTypeIcdO3 == null)
    return true

if (((List)Context.IFN6396_Hist_List).contains(line.histologicTypeIcdO3)) {
    if (line.typeOfReportingSource == '7')
        return line.derivedSummaryStage2018 == '9'
    else
        return ['1','7','9'].contains(line.derivedSummaryStage2018)
}
else {
    if (line.typeOfReportingSource == '7')
        return ['7','9'].contains(line.derivedSummaryStage2018)
    else
        return line.derivedSummaryStage2018 == '7'
}]]></expression>
            <message>Derived Summary Stage 2018 conflicts with Histologic Type ICD-O-3</message>
            <description><![CDATA[This edit verifies that Derived Summary Stage 2018 is coded consistently with
histologies allowing localized disease and histologies requiring systemic
disease for Schema ID 00830, HemeRetic

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank (unknown), or invalid.
    b. Schema ID is blank or not 00830
    c. Derived Summary Stage 2018 is blank
    d. Histologic Type ICD-O-3 is blank


2. If Histologic Type ICD-O-3 is in the following list,
    a. If Type of Reporting Source = 7 (Death certificate only),
       Derived Summary Stage 2018 must = 9.
    b. If Type of Report Source not = 7, Derived Summary Stage 2018
        must = 1, 7, or 9.

    9740        Mast cell sarcoma
    9749        Erdheim-Chester disease (2021+)
    9751        Langerhans cell histiocytosis, disseminated
    9755        Histiocytic sarcoma
    9756        Langerhans cell sarcoma
    9757        Interdigitating dendritic cell sarcoma
    9758        Follicular dendritic cell sarcoma
    9759        Fibroblastic reticular cell tumor
    9930        Myeloid sarcoma
    9971        Polymmorphic PTLD (2018-2020 only, nonreportable 2021+)

3. For all other histologies,
    a. If Type of Reporting Source = 7 (Death Certificate Only),
         Derived Summary Stage 2018 must = 7 or 9.
    b. If Type of Reporting Source not = 7,
       Derived Summary Stage 2018 must = 7.]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-03-22" ref="68603">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy