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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF497" name="CS SSF 2, Lymph Nodes, Ovary (CS)" tag="N1900" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Lymph_Nodes,CS_Site-Specific_Factor_2,CS_Version_Input_Original">
            <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 ||
    line.csLymphNodes == null ||
    line.csSiteSpecificFactor2 == null || line.csSiteSpecificFactor2 == '988' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1')
    return true

if (line._csSchemaId == 'ovary' && line.csLymphNodes != '000' && line.csLymphNodes != '999')
    return !(['100','110','120','130','200','210','220','230'].contains(line.csSiteSpecificFactor2))

return true]]></expression>
            <message>Conflict among Ovary Schema, CS Lymph Nodes, and CS SSF2</message>
            <description><![CDATA[The purpose of this edit is to verify that the CS Site-Specific Factor 2 (FIGO Stage) and CS Lymph Nodes are coded consistently for Ovary cases that are originally coded using CSv02.05 or higher.

This edit is skipped if any of the following conditions are true:
1. CS Version Input Original is less than 020500
2. CS schema is not Ovary
3. CS Site-Specific Factor 2 is blank or 988
4. CS Lymph Nodes is blank
5. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline)

If schema is Ovary:
    If CS Lymph Nodes not = 000 (no regional lymph nodes involvement)
    or 999 (unknown)
    then
        CS Site-Specific Factor 2 must not =  100, 110, 120, 130,
        200, 210, 220, or 230 (codes indicating FIGO I, II, IIIA, IIIB)]]></description>
            <history>
                <event version="SE14-011-01" user="murphyr" date="2013-10-22" ref="66990">Edit created.</event>
                <event version="SE16-015-01" user="kirbyk" date="2016-03-29" ref="67234">Removed codes 310 and 320 from the invalid list.</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