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

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

The newest version!
        <rule id="IF12" name="Date of Last Contact, Cause of Death (SEER IF12)" tag="N0312" java-path="lines.line" category="inter-field" depends="Year_of_Last_Contact">
            <expression><![CDATA[if (line.icdRevisionNumber == '9' && (line.vitalStatus == '0' || line.vitalStatus == '4') && line.causeOfDeath >= '0420' && line.causeOfDeath <= '0449')
    return (line.dateOfLastContactYear == null || line.dateOfLastContactYear > '1986')

    if (line.icdRevisionNumber == '1' && line.vitalStatus == '0' && ['U070', 'U071', 'U072'].contains(line.causeOfDeath))
        return (line.dateOfLastContactYear == null || line.dateOfLastContactYear > '2018')
return true]]></expression>
            <message>Date of Last Contact and Cause of Death conflict</message>
            <description><![CDATA[The ICD-9 Cause of Death codes for AIDS (0420-0449) cannot be used prior to 1987.

If ICD Revision Number[1920] is '9' (Ninth revision), Vital Status[1760] is dead (0 or 4), and Cause of Death[1910] is 0420-0449 (AIDS related causes), then Year of Last Contact[1750] can not be less than 1987, but it can be blank.

The ICD-10 Cause of Death codes for vaping related disorder (U070) and COVID 19 (U071, U072) cannot be used prior to 2019.

If ICD Revision Number[1920] is '1' (Tenth revision), Vital Status[1760] is dead (0), and Cause of Death[1910] is U070 (vaping related disorder), U071 (COVID-19, virus identified), or U072 (COVID-19, virus not identified) then Year of Last Contact[1750] can not be less than 2019, but it can be blank.]]></description>
            <history>
                <event version="SE18-017-01" user="schadega" date="2018-03-15" ref="67717">Updated vital status death code from 4 to 0</event>
                <event version="SE18-018-02" user="kirbyk" date="2018-06-21" ref="67924">Re-added 4 as a valid code for &apos;dead&apos;.</event>
                <event version="SE18-020-04" user="beverung" date="2020-05-27" ref="68344">Updated to verify Year of Last Contact is after 2018 when Cause of Death is U070, U071, or U072.</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