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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF58" name="RX Summ--Radiation, DateDX, RptSrc (SEER IF58)" tag="N0234" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2017')
    return true
if (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000')
    return true
if (line.registryId == '0000001562' && line.dateOfDiagnosisYear < '2003')
    return true
if (line.registryId == '0000001565' && Functions.matches(line.dateOfDiagnosisYear, /^20(0[36-9]|1\d)$/))
    return true
if (line.registryId == '0000001566' && line.dateOfDiagnosisYear < '2012')
    return true

if (line.typeOfReportingSource == '6')
    return line.rxSummRadiation == '0'
if (line.typeOfReportingSource == '7')
    return line.rxSummRadiation == '9'
if (line.dateOfDiagnosisYear != null && line.dateOfDiagnosisYear < '1988')
    return Functions.matches(line.rxSummRadiation, /^[0145689]$/)
if (line.dateOfDiagnosisYear > '1987' && line.dateOfDiagnosisYear != null)
    return Functions.matches(line.rxSummRadiation, /^[0-5789]$/)

return true]]></expression>
            <message>RX Summ--Radiation and Year of Diagnosis conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
  1.  Year of Date of Diagnosis is >= 2018, blank (unknown), or invalid.
  2.  Registry ID = 0000001544 (New Jersey) and Year of Diagnosis < 2000.
  3.  Registry ID = 0000001562 (New York) and Year of Diagnosis is < 2003.
  4.  Registry ID = 0000001565 (Illinois) and Year of Diagnosis is 2003 or 2006-2019.
  5.  Registry ID = 0000001566 (Texas) and Year of Diagnosis is < 2012.

1.  If Type of Reporting Source= 6(autopsy only),
    RX Summ--Radiation must be 0.

2.  If Type of Reporting Source= 7(death certificate only),
    RX Summ--Radiation must be 9.

3.  For all other values of Type of Reporting Source:

    A.  If Year of Diagnosis < 1988 and not blank,
        Rx Summ--Radiation must be 0,1,4-6,8,9.

    B.  If Year of Diagnosis > 1987,
        RX Summ--Radiation must be 0-5,7-9.]]></description>
            <history>
                <event version="SE11-001-17" user="greend" date="2003-09-22">Edit modified to skip cases from New Jersey diagnosed before 2000.</event>
                <event version="SE11-001-19" user="greend" date="2005-05-26">Edit checks for Type of Reporting Source values versus RX Summ--Radiation were added.</event>
                <event version="SE11-001-22" user="greend" date="2008-01-08">Code for AK updated.  Now edits AK records regardless of Dx Year value.</event>
                <event version="SE12-002-01" user="murphyr" date="2009-12-04">Edit changed to no longer recognize 9 filled year of diagnosis.</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="SE16-016-11" user="kirbyk" date="2018-02-27" ref="67699">Removed AK-specific check.</event>
                <event version="SE18-018-03" user="schadega" date="2018-07-23" ref="67968">Added skip condition for 2018+</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-07" ref="68179">Edit now skipped for New York cases when DX Year &lt; 2003.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; no change in behavior.</event>
                <event version="SE21-021-08" user="beverung" date="2021-08-18" ref="68709">Added skip conditions for IL for DX Years &lt; 2005 and TX for DX Years 2003-2011.</event>
                <event version="SE21-021-10" user="beverung" date="2021-10-13" ref="68753">Updated IL skip condition to use years 2003 and 2006-2019.</event>
                <event version="SE21-021-11" user="beverung" date="2022-01-05" ref="68772">Updated TX skip condition to skip for all years before 2012.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy