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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF440" name="Obsolete Histology ICDO3, Date of DX (SEER)" tag="N1966" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

Integer histInt = Functions.asInt(line.histologicTypeIcdO3)
if (histInt == 8157)
    return false

if (line.dateOfDiagnosisYear >= '1992' && histInt == 9810)
        return false

if (line.dateOfDiagnosisYear >= '2010')
    if ([9654,9661,9662,9664,9665,9667,9670,9675,9684,9728,9729,9733,9750,9752,9753,9754,9760,9764,9805,9835,9836,9960,9984,9987].contains(histInt))
        return false

if (line.dateOfDiagnosisYear >= '2021')
    if ([8471,9150,9826,9991,9992,8444,8462,8463,8473,8965].contains(histInt))
        return false

return true]]></expression>
            <message>Histologic Type ICD-O-3 code is obsolete</message>
            <description><![CDATA[If year of Date of Diagnosis is blank, this edit is skipped.

The following histology is obsolete for all years.
Source: ICD-O-3 Update Implementation (December 2013)
- The current code to be used in place of the obsolete code is shown in the
second column.

Obsolete ICD-O-3 Code    Current ICD-O-3 Code
        8157                     8152

If the year of Date of Diagnosis is 1992 or later, the following Histologic Type
ICD-O-3 code listed in the first column is obsolete and will generate an error if used.
- The current code to be used in place of the obsolete code is shown in the
second column.

Obsolete ICD-O-3 Code    Current ICD-O-3 Code
        9810                     9800

If the year of Date of Diagnosis is 2010 or later, the following Histologic Type
ICD-O-3 codes listed in the first column are obsolete and will generate an error if used.
Source: Hematopoietic and Lymphoid Neoplasm Database & Coding Manual(Appendix E)
- The current code to be used in place of the obsolete code is shown in the
second column.

Obsolete ICD-O-3 Code    Current ICD-O-3 Code
         9654                    9653
         9661                    9650
         9662                    9650
         9664                    9663
         9665                    9663
         9667                    9663
         9670                    9823
         9675                    9690
         9684                    9680
         9728                    9811
         9729                    9837
         9733                    9732
         9750                    9751
         9752                    9751
         9753                    9751
         9754                    9751
         9760                    9761 or 9762
         9764                    9762
         9805                    9806-9809
         9835                    9811
         9836                    9811
         9960                    9975
         9984                    9983
         9987                    9920

If the year of Date of Diagnosis is 2021 or later, the following Histologic Type
ICD-O-3 codes listed in the first column are obsolete and will generate an error if
used.
Source: ICD-O-3.2
- The current code to be used in place of the obsolete code is shown in the
second column.

Obsolete ICD-O-3 Code    Current ICD-O-3 Code
         8471                    8470
         9150                    8815
         9826                    9687
         9991                    9980
         9992                    9980


If the year of Date of Diagnosis is 2021 or later, the following Histologic Type
ICD-O-3 codes are obsolete.  Please check ICD-O-3.2 and Solid Tumor Rules for
reportability and valid histology code.

         8444
         8462
         8463
         8473
         8965]]></description>
            <history>
                <event version="SE13-009-01" user="murphyr" date="2012-12-05" ref="66774">Edit created.</event>
                <event version="SE14-011-01" user="murphyr" date="2013-11-21" ref="67051">Fixed issue where name of histology ICD-O3 field was named wrong.  Also added skip condition for year of dx less than 2012 that was missing.</event>
                <event version="SE15-013-01" user="kirbyk" date="2015-01-09" ref="67130">Listed codes are now obsolete for year of diagnosis 2010+, code 9752 added to list. Added code 8157, obsolete for all years.</event>
                <event version="SE15-013-02" user="kirbyk" date="2015-03-02" ref="67193">Updated error message.</event>
                <event version="SE15-013-02" user="kirbyk" date="2015-03-02" ref="67195">Updated description.</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>
                <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68439">Added logic for 1992+ and 2021+ cases.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy