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

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

There is a newer version: 024-13
Show newest version
    <rule id="IFN6802" name="Schema Discriminator 2, Head and Neck, Histology (NAACCR)" tag="N6802" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear < '2023' || line.dateOfDiagnosisYear == null || line.primarySite == null || line.histologicTypeIcdO3 == null ||
            line.schemaDiscriminator2 == null || line.typeOfReportingSource == '7')
    return true

if (Functions.matches(line.primarySite, /^C(10[0-489]|019|024|09\d|111)$/)) {
    if (line.histologicTypeIcdO3 == '8085')
        return line.schemaDiscriminator2 == '2' || line.schemaDiscriminator2 == '9'
    else if (line.histologicTypeIcdO3 == '8086')
        return line.schemaDiscriminator2 == '1' || line.schemaDiscriminator2 == '9'
    else if (line.histologicTypeIcdO3 == '8070')
        return line.schemaDiscriminator2 == '9'
    else if (line.histologicTypeIcdO3 == '8071')
        return line.schemaDiscriminator2 != '1'
    else if (line.histologicTypeIcdO3 == '8072')
        return line.schemaDiscriminator2 != '2'
}

return true]]></expression>
            <message>Histologic Type ICD-O-3, Schema Discriminator 2 must = 2 or 9</message>
            <description><![CDATA[This edit checks coding consistency among Histologic Type ICD-O-3, primary sites of
Head and Neck, and Schema Discriminator 2.

1. The edit is skipped for the following;
    a. Date of diagnosis blank (unknown), invalid, or before 2023.
    b. Primary Site is blank
    c. Histologic Type ICD-O-3 is blank
    d. Schema Discriminator 2 is blank
    e. Type of Reporting Source = 7 (death certificate only)

2. If Primary Site = C100-C104, C108-C109, C019, C024, C090-C099, or C111:

    If Histologic Type is 8085, Schema Discriminator 2 must = 2 or 9
    If Histologic Type is 8086, Schema Discriminator 2 must = 1 or 9
    If Histologic Type is 8070, Schema Discriminator 2 must = 9
    If Histologic Type is 8072, Schema Discriminator 2 must not = 2
    If Histologic Type is 8071, Schema Discriminator 2 must not = 1


Histology:  8085: Squamous cell carcinoma, HPV positive
            8086: Squamous cell carcinoma, HPV negative
            8070: Squamous cell carcinoma, NOS
            8071: Squamous cell carcinoma, keratinizing, NOS
            8072: Squamous cell carcinoma, nonkeratinizing, NOS

Schema Discriminator 2 - 1: p16 negative, nonreactive
                         2: p16 positive, HPV positive, diffuse, strong reactivity


SOLID TUMOR RULES:

The 2018 Solid Tumor Head and Neck Rules, Table 5, instruct squamous cell carcinoma, HPV positive (8085) and
squamous cell
carcinoma, HPV negative (8086) are coded only when HPV status is determined by tests based on ISH, PCR, RT-PCR
technologies to detect the viral DNA or RNA. P16 was not a valid test to assign these codes. Beginning with
cases diagnosed
1/1/2022 forward, p16 test results can be used to code squamous cell carcinoma, HPV positive (8085) and
squamous cell
carcinoma, HPV negative (8086.
2. Beginning 1/1/2022, non-keratinizing squamous cell carcinoma, HPV positive is coded 8085 for sites listed
in Table 5 only. A
diagnosis of non-keratinizing squamous cell carcinoma, NOS is coded 8072.
3. Beginning 1/1/2022, keratinizing squamous cell carcinoma, HPV negative is coded 8086 for sites listed in
Table 5 only. A
diagnosis of keratinizing squamous cell carcinoma, NOS is coded 8071.]]></description>
            <history>
                <event version="SE23-023-07" user="cooki" date="2023-09-08" ref="69306">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy