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

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

The newest version!
        <rule id="IF349" name="CS Ext, LN, Mets at DX, SSF 1, Retinoblastoma (CS)" tag="N1433" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Extension,CS_Lymph_Nodes,CS_Mets_at_DX,CS_Site-Specific_Factor_1">
            <expression><![CDATA[if (line.csExtension == null || line.csLymphNodes == null ||
    line.csMetsAtDx == null || line.csSiteSpecificFactor1 == null ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line._csSchemaId == 'retinoblastoma') {
    if (line.csExtension == '950') {
        if ((line.csSiteSpecificFactor1 >= '300' && line.csSiteSpecificFactor1 <= '810') || line.csSiteSpecificFactor1 == '999')
            return true
        if (line.csLymphNodes >= '100' && line.csLymphNodes <= '800')
            return true
        if (line.csMetsAtDx >= '10' && line.csMetsAtDx <= '80')
            return true
        return false
    }
    if (line.csSiteSpecificFactor1 == '950') {
        if (line.csExtension >= '110' && line.csExtension <= '800')
            return true
        if (line.csLymphNodes >= '100' && line.csLymphNodes <= '800')
            return true
        if (line.csMetsAtDx >= '10' && line.csMetsAtDx <= '80')
            return true
        return false
    }
}

return true]]></expression>
            <message>CS Ext, LN, Mets &amp; SSF 1 conflict for Retinoblastoma schema</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
1. CS Extension, CS Lymph Nodes, CS Mets at DX, or CS Site-Specific Factor 1 is blank
2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)

This edit first determines the correct 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.

If schema = Retinoblastoma:

1. If CS Extension = 950 (no evidence of primary tumor), then at least one of the following fields must show that tumor is present; that is, at least one of the following must be true:
CS Site-Specific Factor 1 must = 300-810, or 999
CS Lymph Nodes must = 100-800
CS Mets at DX must = 10-80

2. If CS Site-Specific Factor 1 = 950 (no evidence of primary tumor), then at least one of the following fields must show that tumor is present; that is, at least one of the following must be true:
CS Extension must = 110-800
CS Lymph Nodes must = 100-800
CS Mets at DX must = 10-80]]></description>
            <history>
                <event version="SE12-004-01" user="murphyr" date="2011-02-14">Edit created.</event>
                <event version="SE13-009-01" user="murphyr" date="2013-01-25" ref="66826">Edit name changed.</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