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

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

The newest version!
        <rule id="IF218" name="CS SSF 6, Tumor Size, Breast Schema (CS)" tag="N1026" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,CS_Site-Specific_Factor_6,CS_Tumor_Size,Histologic_Type_ICD-O-3,Primary_Site">
            <expression><![CDATA[if (line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988' ||
    line.csTumorSize == null || line.behaviorCodeIcdO3 == '0' ||
    line.behaviorCodeIcdO3 == '1' || line.histologicTypeIcdO3 == '9140')
   return true
if (line._csSchemaId == 'breast') {
   if (Functions.matches(line.csSiteSpecificFactor6, /^0[2345]0$/) && line.csTumorSize == '999')
      return false
   if (line.csSiteSpecificFactor6 == '060')
      return line.csTumorSize == '999'
}

return true]]></expression>
            <message>CS Site-Specific Factor 6, CS Tumor Size, and Breast Schema conflict</message>
            <description><![CDATA[The purpose of this edit is to verify that, for cases code using the Breast schema, that Site-Specific Factor 6 and CS Tumor Size are coded consistently.

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

If CS Schema name is Breast:

1.  If CS Site-Specific Factor 6 = 020, 030, 040, or 050, indicating size of invasive or entire component coded in CS Tumor Size, the CS Tumor Size must not = 999 (unknown; size not stated).

2.  If CS Site-Specific Factor 6 = 060 [Invasive and in situ components present, unknown size of tumor (CS Tumor Size coded 999)], then CS Tumor Size must = 999 (unknown).]]></description>
            <history>
                <event version="SE11-001-23" user="greend" date="2009-01-13">This edit was created.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-03-10">Edit now uses CS Schema name.</event>
                <event version="SE12-004-01" user="murphyr" date="2011-01-21">Edit now skipped if SSF6 = 988.</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