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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6318" name="Summary Stage 2018, HemeRetic, Histology (NAACCR)" tag="N6318" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.summaryStage2018 == null || line.typeOfReportingSource == '7')
    return true
if (line.schemaId == null || line.schemaId != '00830' || line.histologicTypeIcdO3 == null)
    return true

if (Functions.matches(line.histologicTypeIcdO3, /^9(7(4[09]|5[15-9])|9(30|71))$/)) {
    if (!['1','7','9'].contains(line.summaryStage2018))
        return false
}
else if (line.summaryStage2018 != '7')
    return false

return true]]></expression>
            <message>Summary Stage 2018 conflicts with Histologic Type ICD-O-3</message>
            <description><![CDATA[This edit verifies that 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 2018, blank (unknown), or invalid.
    b. Schema ID is blank or not 00830
    c. Summary Stage 2018 is blank
    d. Histologic Type ICD-O-3 is blank
    e. Type of Reporting Source = 7 (Death Certificate Only)


2. If Histologic Type ICD-O-3 is in the following list,
    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, Summary Stage 2018 must = 7.]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-04-26" ref="68614">Edit created.</event>
                <event version="SE22-022-03" user="beverung" date="2022-04-12" ref="68939">Update skip condition to pre-2018 instead of pre-2021.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-17" ref="69162">Add skip condition for when Type of Reporting Source is DCO.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy