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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF176" name="Primary Site, CS Extension (SEER IF176)" tag="N0851" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.overRideSiteEodDxDt == '1' ||
    line.dateOfDiagnosisYear < '2004' || line.dateOfDiagnosisYear > '2017' || line.dateOfDiagnosisYear == null ||
    line.histologicTypeIcdO3 == null || line.histologicTypeIcdO3 == '9140' ||
    Functions.between(line.histologicTypeIcdO3,'9590','9999') || line.behaviorCodeIcdO3 == '2')
   return true

if ((line.primarySite == 'C479' || line.primarySite == 'C499') &&
   line.csExtension != null && line.csExtension >= '100' && line.csExtension <= '320' &&
   (line.csMetsAtDx == '00' || line.csMetsAtDx == '99'))
   return false

if (Functions.matches(line.primarySite, /^C(069|26\d|39\d|4[01]9|579|639)$/)  &&
   line.csExtension != null && line.csExtension >= '100' && line.csExtension <= '300' &&
   (line.csMetsAtDx == '00' || line.csMetsAtDx == '99'))
   return false

if (line.csExtension != null && line.csExtension >= '100' && line.csExtension <= '400' &&
      (line.csMetsAtDx == '00' || line.csMetsAtDx == '99') &&
      ((line.primarySite == 'C189' && !['8210','8220','8261','8263'].contains(line.histologicTypeIcdO3)) ||
      line.primarySite == 'C559'))
   return false

return true]]></expression>
            <message>Site and CS Extension conflict (ICD-O-3)</message>
            <description><![CDATA[The edit is skipped if any of the following conditions are true:

    1) Over-ride Site/EOD/Dx Dt[2072] contains a '1' (review complete)
    2) Year of Date of Diagnosis is less than 2004 or greater than 2017 or is blank or invalid
    3) Histologic Type ICD-O-3 = 9140 (Kaposi Sarcoma)
    4) Histologic Type ICD-O-3 = 9590-9992 (lymphoma, leukemia, or other
    lymphoreticular neoplasm)
    5) Behavior Code ICD-O-3 = 2 (in situ)

If CS Extension[2810] = 100-300 (localized disease) and CS Mets at
DX[2850] = 00 or 99, the following Primary Site[400] codes require review:
    C069 Mouth, NOS
    C260-C269 Other and ill-defined digestive organs
    C390-C399 Other and ill-defined respiratory or intrathoracic sites
    C409, C419 Bone, NOS
    C579 Female genital system, NOS
    C639 Male genital organs, NOS

If CS Extension[2810] = 100-320 (localized disease) and CS Mets at
DX[2850] = 00 or 99, the following Primary Site[400] codes require review:
    C479 Peripheral nerves, NOS
    C499 Connective tissue, NOS

If CS Extension[2810] = 100-400 (localized disease) and CS Mets at
DX[2850] = 00 or 99, the following Primary Site[400] codes require review:
    C189 Colon, NOS and not histology 8210, 8220, 8261 and 8263
    C559 Uterus, NOS]]></description>
            <history>
                <event version="SE11-001-20" user="greend" date="2006-08-23">Edit modified to skip cases 9590-9989 instead of &gt; 9590.</event>
                <event version="SE12-002-01" user="murphyr" date="2010-01-27">Hematopoietic end range code was changed from 9989 to 9992.  Length of CS Extension changed from 2 to 3 characters.</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-018-02" user="kirbyk" date="2018-06-22" ref="67918">Edit now skips all 2018+ cases.</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-04" user="kirbyk" date="2024-04-16" ref="69326">Removed several edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy