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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF500" name="CS SSF 1, TS/Ext Eval, Retinoblastoma Schema (CS)" tag="N1909" java-path="lines.line" category="inter-field" depends="CS_Site-Specific_Factor_1,CS_Tumor_Size_Ext_Eval,CS_Version_Input_Original">
            <expression><![CDATA[if (line._csSchemaId == null || Functions.asInt(line.csVersionInputOriginal) < 20500 ||
    line.csTumorSizeExtEval == null || line.csSiteSpecificFactor1 == null ||
    line.csSiteSpecificFactor1 == '988')
    return true

if (line._csSchemaId == 'retinoblastoma') {
    if (['3','5','6'].contains(line.csTumorSizeExtEval) && line.csSiteSpecificFactor1 == '970')
        return false
    if (line.csTumorSizeExtEval == '6' && line.csSiteSpecificFactor1 == '950')
        return false
}

return true]]></expression>
            <message>Conflict between SSF 1, TS/Ext Eval, and Retinoblastoma Schema</message>
            <description><![CDATA[Purpose: For cases coded using the Retinoblastoma schema, if CS Tumor Size/Ext Eval indicates surgical resection (codes 3, 5, 6), then CS Site Specific Factor 1 (extension evaluated at enucleation) must not indicate "no enucleation performed" (code 970).  If CS Tumor Size/Ext Eval = 6 (surgical resection performed WITH pre-surgical systemic treatment or radiation; tumor size and/or extension based on pathologic evidence), then CS Site Specific Factor 1 must not indicate "no evidence of primary tumor" (code 950).

This edit is skipped if any of the following conditions are true:
1. CS Version Input Original is less than 020500
2. CS Tumor Size/Ext Eval is blank
3. CS Site-Specific Factor 1 is blank or 988
4. CS schema is invalid

If CS schema is Retinoblastoma:

If CS Tumor Size/Ext Eval = 3, 5, 6 (codes indicating surgical resection)
then
    CS Site Specific Factor 1 must not = 970 (no enucleation performed)

If CS Tumor Size/Ext Eval = 6 (surgical resection performed WITH pre-surgical systemic treatment or radiation; tumor size and/or extension based on pathologic evidence)
then
    CS Site Specific Factor 1 must not = 950 (no evidence of primary tumor)

This edit first determines the CS schema by doing a function call to the CS Dynamic Link Library (dll).  The function call passes Primary Site, Histologic Type ICD-O-3, and CS Site-Specific Factor25 (schema discriminator) to the dll and the CS schema name is returned.]]></description>
            <history>
                <event version="SE14-011-01" user="murphyr" date="2013-11-18" ref="67043">Edit created.</event>
                <event version="SE16-015-01" user="kirbyk" date="2016-05-04" ref="67370">Changed edit to use schema IDs instead of schema names</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy