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

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

        <rule id="IF15" name="Age, Primary Site, Morphology ICDO2 (SEER IF15)" tag="N0001" java-path="lines.line" category="inter-field" depends="Age_at_Diagnosis,Behavior_92-00_ICD-O-2,Histology_92-00_ICD-O-2,Over-ride_Age-Site-Morph,Primary_Site,Year_of_Diagnosis">
            <expression><![CDATA[if (line.histologyIcdO2 == null || line.behaviorIcdO2 == null || line.registryId == '0000001562')
    return true

Integer age = Functions.asInt(line.ageAtDiagnosis)
Integer histICDO2 = Functions.asInt(line.histologyIcdO2)

if (line.overRideAgeSiteMorph == '1' || line.overRideAgeSiteMorph == '3' || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2000')
    return true
if (age < 20 && (Functions.matches(line.primarySite, /^C(15\d|17\d|199|209|21[0-8]|239|24\d|25\d|384|50\d|54\d|559)$/)
        || Functions.matches(line.primarySite, /^C18\d$/) && !Functions.between(histICDO2,8240,8244)
        || Functions.matches(line.primarySite, /^C(339|34\d)$/) && !Functions.between(histICDO2,8240,8244)
        || Functions.matches(line.primarySite, /^C53\d$/) && line.behaviorIcdO2 == '3'))
    return false
if (age < 15 && line.behaviorIcdO2 == '2' && Functions.matches(line.primarySite, /^C53\d$/))
    return false
if ((age < 15 || age > 45) && line.primarySite == 'C589' && histICDO2 == 9100)
    return false
if (age < 30 && ([9732,9823,9863,9868,9893,9890,9892,9894].contains(histICDO2) || line.primarySite == 'C609'))
    return false
if (age < 40 && line.primarySite == 'C619' && histICDO2 == 8140)
    return false
if (age > 5 && Functions.matches(line.primarySite, /^C69\d$/) && Functions.between(histICDO2, 9510, 9512))
    return false
if (age > 14 && histICDO2 == 8960)
    return false

return true]]></expression>
            <message>Age, Primary Site and Morphology ICD-O-2 conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
  1)  Year of Diagnosis[390] >= 2001
  2)  Year of Diagnosis[390] is blank
  3)  Over-ride age/site/morphp[1990] is '1' (review completed) or
         '3' (Reviewed: Conditions 1 and 2 above both apply)
  4)  Histology (92-00) ICD-O-2 is blank or Behavior (92-00) ICD-O-2 is blank
  5)  Registry ID is 0000001562 (New York)

For each specified Age at diagnosis[230] group in the table, the Primary Site[400]/Histology(92-00) ICD-O-2[420] combinations require review.

Age < 015
     Cervix uteri C530-C539        | Any histology with in situ behavior 2
     Placenta C589                 | Choriocarcinoma 9100

Age < 020
     Esophagus C150-C159           | Any histology
     Small intestine C170-C179     | Any histology
     Colon C180-C189               | Any histology other than carcinoid
                                     8240-8244
     Rectosigmoid C199             | Any histology
     Rectum C209                   | Any histology
     Anus, anal canal C210-C218    | Any histology
     Gallbladder C239              | Any histology
     Other biliary tract C240-C249 | Any histology
     Pancreas C250-C259            | Any histology
     Trachea C339                  | Any histology other than carcinoid
                                     8240-8244
     Lung and bronchus C340-C349   | Any histology other than carcinoid
                                     8240-8244
     Pleura C384                   | Any histology
     Breast C500-C509              | Any histology
     Uterus, NOS C559              | Any histology
     Cervix uteri C530-C539        | Any histology with malignant
                                     behavior 3
     Corpus uteri C540-C549        | Any histology

Age < 030
     Any site                      | Multiple myeloma 9732
     Any site                      | Chronic myeloid leukemia 9863, 9868
     Any site                      | Chronic Mono leukemia 9893
     Any site                      | Monocytic leukemia, NOS
                                     9890, 9892, 9894
     Any site                      | Chronic lymphocytic leukemia 9823
     Penis C609                    | Any histology

Age < 040
     Prostate C619                 | Adenocarcinoma, NOS 8140

Age > 005
     Eye C690-C699                 | Retinoblastoma 9510-9512

Age > 014
     Any site                      | Wilms tumor 8960

Age > 045
     Placenta C589                 | Choriocarcinoma 9100]]></description>
            <history>
                <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of topography and morphology codes from ICD-O-1 to ICD-O-2.</event>
                <event version="SE11-001-08" user="greend" date="1992-12-15">Modified definition of chronic mono leukemia to &apos;9893&apos;, and other mono leukemia to &apos;9890&apos;, &apos;9892&apos;, &apos;9894&apos;.</event>
                <event version="SE11-001-09" user="greend" date="1993-02-01">The definition for chronic myeloid leukemia was inadvertantly removed from program in 12/92 change.  Chronic myeloid leukemia (9863, 9868) was put back in the program.</event>
                <event version="SE11-001-18" user="greend" date="2004-05-12">This edit was limited to cases diagnosed before 2001.</event>
                <event version="SE11-001-22" user="greend" date="2008-07-10">Edit is now bypassed if Over-ride Age/Site/Morph [1990] contains a &apos;3&apos; (Reviewed:  Conditions 1 and 2 above both apply).</event>
                <event version="SE11-001-23" user="greend" date="2009-01-06">Edit changed to require review if age is less than 040 [instead of less than 045] and site is prostate (C619) and histology is Adenocarcinoma, NOS (8140).</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-019-01" user="kirbyk" date="2019-03-19" ref="68126">Edit is now skipped if either Behavior ICD-O-2 or Histology ICD-O-2 is blank.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-06" ref="68181">Edit is now skipped for New York.</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 - 2025 Weber Informatics LLC | Privacy Policy