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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF453" name="CS SSF 6, Histology, KidneyParenchyma Schema (CS)" tag="N1774" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_6">
            <expression><![CDATA[if (line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' ||
    line._csSchemaId != 'kidney_parenchyma')
    return true

Integer histInt = Functions.asInt(line.histologicTypeIcdO3)
if (line.csSiteSpecificFactor6 == '987')
    return (histInt != 8260 && histInt != 8310 && histInt != 8312 &&
        histInt != 8510 && histInt != 8959 &&
        !(histInt >= 8316 && histInt <= 8320))

return true]]></expression>
            <message>CS SSF 6 and Histology ICD-O--3 conflict for KidneyParenchyma Schema</message>
            <description><![CDATA[For cases coded using the KidneyParenchyma schema, if CS SSF 6 (Fuhrman Nuclear Grade) indicates case is not a renal cell carcinoma, then the histology code must not be a renal cell carcinoma code per Multiple Primary/Histology Rules.

This edit is skipped if any of the following conditions are true:
1. CS Site-Specific Factor 6 is blank or 988
2. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)
3. CS schema is invalid

If schema is KidneyParenchyma:
    If CS Site-Specific Factor 6 = 987 (not applicable: not a renal cell carcinoma morphology)
    THEN
        Histologic Type ICD-O-3 must not = 8260, 8310, 8312, 8316-8320, 8510, or 8959 (renal cell carcinoma codes per MP/H rules)

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.]]></description>
            <history>
                <event version="SE13-010-01" user="murphyr" date="2013-05-08" ref="66868">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="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</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