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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF152" name="Type of Reporting Source, Date of DX (SEER IF152)" tag="N0792" java-path="lines.line" category="inter-field" depends="Type_of_Reporting_Source,Year_of_Diagnosis">
            <expression><![CDATA[if (line.typeOfReportingSource == null || line.dateOfDiagnosisYear == null || line.registryId == '0000001562')
    return true

if (line.dateOfDiagnosisYear < '2006')
    return Functions.matches(line.typeOfReportingSource, /^[13-7]$/)

return Functions.matches(line.typeOfReportingSource, /^[1-8]$/)]]></expression>
            <message>Type of reporting source and Year of Diagnosis Conflict</message>
            <description><![CDATA[This edit is skipped if Type of Reporting Source[500] is blank, if Year of Diagnosis[390] is blank, or if Registry ID = 0000001562 (New York).

If Year of Diagnosis[390] < 2006 and, then Type of Reporting Source[500] must be 1,3-7.

If Year of Diagnosis[390] > 2005 and, then Type of Reporting Source[500] must be 1-8.]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2009-12-21">Removed year of diagnosis &apos;is not blank&apos; and &apos;is not 9999&apos;. The edit is still skipped if year of diagnosis 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-019-01" user="kirbyk" date="2019-03-28" ref="68129">Edit is now skipped for New York cases.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy