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

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

The newest version!
        <rule id="IF130_P1" 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,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 ||
     line.registryId == '0000001562' || line.registryId == '0000001563')
   return true

if (line.regionalNodesExamined == '00' && line.regionalNodesPositive != '98')
   return false

if (line.regionalNodesExamined >= '01' && line.regionalNodesExamined <= '89' &&
    line.regionalNodesPositive != '97' && line.regionalNodesPositive != '99' &&
    line.regionalNodesPositive > line.regionalNodesExamined)
   return false

if ((line.regionalNodesExamined == '90' ||
       (line.regionalNodesExamined >= '96' && line.regionalNodesExamined <= '98')) &&
   ! ((line.regionalNodesPositive >= '00' && line.regionalNodesPositive <= '97') ||
      line.regionalNodesPositive == '99'))
   return false

if (line.regionalNodesExamined == '99' && line.regionalNodesPositive != '99')
   return false

if (line.regionalNodesExamined == '95' && line.regionalNodesPositive != '00' &&
    line.regionalNodesPositive != '97' && line.regionalNodesPositive != '99')
   return false

return true]]></expression>
            <message>Regional Nodes Positive/Examined conflict</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).

This edit is skipped if Registry ID = 0000001562 (New York) or 0000001563 (Massachusetts)

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="SE18-019-03" user="beverung" date="2019-07-12" ref="68205">This edit is now skipped for New York and 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>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy