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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF491" name="CS Mets at DX-BBLL, MycosisFungoides (CS)" tag="N1894" java-path="lines.line" category="inter-field" depends="CS_Version_Input_Original,Year_of_Diagnosis">
            <expression><![CDATA[if (Functions.asInt(line.csVersionInputOriginal) < 20500 || line._csSchemaId != 'mycosis_fungoides' ||
    line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.dateOfDiagnosisYear > '2015')
    return true

if (line.registryId == '0000001563')
    return true

if (line.csMetsAtDxBrain == '8' || line.csMetsAtDxBone == '8' || line.csMetsAtDxLung == '8' || line.csMetsAtDxLiver == '8')
    return false

return true]]></expression>
            <message>Conflict among MycosisFungoides Schema and CS Mets at DX</message>
            <description><![CDATA[The purpose of this edit is to verify that the CS Mets at DX-Bone, Brain, Liver, and Lung fields are not coded to 8 (not applicable) for MycosisFungoides cases that are originally coded using CSv02.05 or higher.

This edit is skipped under the following conditions:
1. CS Version Input Original is less than 020500
2. CS schema is not MycosisFungoides
3. Behavior Code ICD-O-3 = 0 (benign)or 1 (borderline)
4. Year of Date of Diagnosis is greater than 2015
5. Registry ID = 0000001563 (Massachusetts)

If schema is MycosisFungoides:
  An error will be generated under any of the following conditions:

1.  If CS Mets at DX-Bone = 8
2.  If CS Mets at DX-Brain = 8
3.  If CS Mets at DX-Liver = 8
4.  If CS Mets at DX-Lung = 8

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="SE14-011-01" user="murphyr" date="2013-10-22" ref="66984">Edit created.</event>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-20" ref="67331">Added skip condition for DX year.</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-018-12" user="kirbyk" date="2019-01-29" ref="68095">Edit is skipped for cases from Massachusetts.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy