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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN4002" name="SSDI for Skin, Blank for Other Schemas (NAACCR)" tag="N4002" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null)
    return true
    
if (line.schemaId != '00150' && line.highRiskHistologicFeatures != null)
    return false
    
if (line.schemaId != '00460' && (line.lnIsolatedTumorCells != null || line.profoundImmuneSuppression != null))
    return false
 
boolean isBlankLdh = line.ldhPretreatmentLabValue == null && line.ldhUpperLimitsOfNormal == null
if (line.schemaId != '00470' && (line.breslowTumorThickness != null || line.clinicalMarginWidth != null || line.mitoticRateMelanoma != null || line.ulceration != null || !isBlankLdh))
    return false
    
return true]]></expression>
            <message>Conflict between schema and coded SSDI items for Skin</message>
            <description><![CDATA[This edit verifies that Site-Specific Data Items that are defined for Cutaneous
Carcinoma of the Head and Neck (Schema ID 00150), Merkel Cell (Schema 
ID 00460) and Melanoma of Skin (Schema ID 00470), and are blank (not coded) for 
all other schemas.

This edit is skipped for any of the following conditions:

    a.Date of Diagnosis is before 2018, blank, invalid.
    b.Schema ID is blank.

If Schema ID is not 00150 (Cutaneous Carcinoma of the Head and Neck), 
the following Site-Specific Data Item must be blank:

    High Risk Histologic Features

If Schema ID is not 00460 (Merkel Cell), the following Site-Specific Data Items 
must be blank:

    LN Isolated Tumor Cells (ITC)
    Profound Immune Suppression

If Schema ID is not 00470 (Melanoma of Skin), the following Site-Specific Data 
Items must be blank:

    Breslow Tumor Thickness
    Clinical Margins Width
    LDH Lab Value
    LDH Upper Limits of Normal
    Mitotic Rate Melanoma
    Ulceration]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-19" ref="67839">Edit Created.</event>
                <event version="SE18-018-05" user="kirbyk" date="2018-08-17" ref="68020">Changed schema name for 00150.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68467">Change LDH Pretreatment Lab Value to LDH Lab Value.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-02" ref="69151">Check whether Clinical Margins Width is blank.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy