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

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

The newest version!
        <rule id="IF113" name="ICD Revisn, Vital Stat, Date Last Cont (SEER IF113)" tag="N0738" java-path="lines.line" category="inter-field" depends="Year_of_Last_Contact">
            <expression><![CDATA[Integer yearLastContact = Functions.asInt(line.dateOfLastContactYear)

if (line.dateOfLastContactYear == null)
    return true

if (yearLastContact > 1998 && (line.vitalStatus == '0' || line.vitalStatus == '4'))
   return line.icdRevisionNumber == '1'

if (Functions.between(yearLastContact, 1979, 1998) && (line.vitalStatus == '0' || line.vitalStatus == '4'))
   return line.icdRevisionNumber == '9'

return true]]></expression>
            <message>Year of Last Contact, Vital Status, ICD Revision Code conflict</message>
            <description><![CDATA[This edit is skipped if Year of Last Contact[1750] is blank.

If Year of Last Contact[1750] > 1998, and Vital Status[1760] = 0 or 4 (dead), then the ICD Revision Number[1920] must be
1(ICD-10th Revision).

If Year of Last Contact[1750] is between 1979 and 1998 and Vital Status[1760] = 0 or 4 (dead), then the ICD Revision Number[1920] must be
9 (ICD-9th Revision).]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2009-12-21">Edit now skipped if year of last contact is blank.</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-017-01" user="schadega" date="2018-03-15" ref="67719">Updated syntax to use valid death code 0.</event>
                <event version="SE18-018-02" user="kirbyk" date="2018-05-25" ref="67757">Changed edit name.</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="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