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

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

The newest version!
        <rule id="IF130_P3" name="Reg Nodes Ex,Pos,Site,Hist ICDO3,Rpt (SEER IF130)" tag="N0727" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,Regional_Nodes_Examined,Regional_Nodes_Positive,Year_of_Diagnosis">
            <expression><![CDATA[if ((line.behaviorCodeIcdO3 != '2' && line.behaviorCodeIcdO3 != '3') ||
     line.dateOfDiagnosisYear < '1998' || line.dateOfDiagnosisYear > '2003' ||
     line.regionalNodesExamined == null || line.regionalNodesPositive == null)
   return true

if ((((List)Context.Odd_Histologies).contains(Functions.asInt(line.histologicTypeIcdO3)) ||
    (line.histologicTypeIcdO3 != '9140' &&
      ((List)Context.Certain_Sites).contains(Functions.asInt(line.primarySite.substring(1))))) &&
    (line.regionalNodesExamined != '99' || line.regionalNodesPositive != '99'))
   return false

return true]]></expression>
            <message>Reg Nodes Pos and Examined must both be 99 for this site/histology</message>
            <description><![CDATA[This edit is skipped if Year of Diagnosis is before 1998 or after 2003.

This edit is skipped if Regional Nodes Examined [830] or Regional Nodes Positive [820] are blank.

This edit is skipped if Behavior Code ICD-O-3 [523] is not 2 (in situ) or 3 (malignant).

If Death Certificate only case (Type of Reporting Source [500]= '7'), the Regional Nodes Positive [820] and Regional Nodes Examined [830] must both be coded '99.'

For the following sites [400] and histologies (ICD-O-3) [522], Regional Nodes Positive [820] and Regional Nodes Examined [830] must both be coded '99':

  1.  Hematopoietic: 9731-9734, 9740-9758, 9760-9989

  2.  Lymphomas:  9590-9699, 9702-9729

  3.  Brain (except for histology 9140 (Kaposi sarcoma)):
      C700, C710-C719

  4.  Other CNS (except for histology 9140 (Kaposi sarcoma)):
      C701, C709, C720-C725, C728, C729

  5.  Other and ill-defined (except for histology 9140 (Kaposi sarcoma)):
      C760-C765, C767, C768, C809, C420-C429, C770-C779


For all cases, the following is checked:

  1.  If Regional Nodes Examined [830] = 00, Regional Nodes Positive [820]
      must = 98.

  2.  If Regional Nodes Examined [830] = 01-89, Regional Nodes Positive
      [820] must = 97 or 99, or be less than or equal to Regional Nodes
      Examined.  If Regional Nodes Examined[830] = 90, Regional Nodes
      Positive must = 00-96,97,99.

  3.  If Regional Nodes Examined [830] = 96, 97, or 98, Regional Nodes
      Positive [820] must = 00-96, 97, or 99.

  4.  If Regional Nodes Examined [830] = 99, then Regional Nodes Positive
      [820] must = 99.

  5.  If Regional Nodes Examined [830] = 95, Regional Nodes Positive
      [820] must = 00, 97, or 99.]]></description>
            <history>
                <event version="SE11-001-18" user="greend" date="2004-10-05">Edit was modified to skip cases diagnosed before 1998.  Condition #2 was changed to allow codes 91-96 for Regional Nodes Positive when Regional Nodes Examined is 90.  In conditiion #3 the Regional Nodes Positive range was expaned from 00-90 to 00-96.  In condition #5 the valid value of 95 was deleted for Regional Nodes Positive.</event>
                <event version="SE11-001-18" user="greend" date="2004-12-28">This edit is now skipped for cases diagnosed 2004+.</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