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

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

The newest version!
        <rule id="IF222" name="Date Initial RX SEER, RPTSRC (SEER)" tag="N1098" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true
if (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000')
    return true
if (line.registryId == '0000001562' && line.dateOfDiagnosisYear < '2019')
    return true
if (line.registryId == '0000001565' && line.dateOfDiagnosisYear < '2023')
    return true

if (line.typeOfReportingSource == '6' || line.typeOfReportingSource == '7')
    return line.dateInitialRxSeerYear == null && line.dateInitialRxSeerMonth == null && line.dateInitialRxSeerDay == null

return true]]></expression>
            <message>Date Initial RX SEER and Type of Reporting Source conflict</message>
            <description><![CDATA[This edit is skipped if any of the following conditions are true:
1. If Year of Date of Diagnosis is blank or invalid
2. If registry = New York (0000001562) and Year of Date of Diagnosis is less than 2019.
3. If registry = New Jersey (0000001544) and Year of Date Diagnosis is less than 2000.
4. If registry = Illinois (0000001565) and Year of Date Diagnosis is less than 2023.

If Type of Reporting Source = 6 (Autopsy Only), or 7 (Death Certificate Only) Date Initial RX SEER must = blank]]></description>
            <history>
                <event version="SE12-002-01" user="murphyr" date="2009-12-07">Edit was created. This edit differs from the NPCR edit of the same name in that it does not allow both the date and flag fields to be blank; that is, if the date field is blank, the flag field must include a code indicating why the date is blank.</event>
                <event version="SE13-009-01" user="murphyr" date="2012-12-20" ref="66776">Updated edit name.</event>
                <event version="SE18-019-03" user="beverung" date="2019-07-16" ref="68202">Edit was updated to skip cases in New York when DX Year &lt; 2019.</event>
                <event version="SE18-019-04" user="beverung" date="2019-08-30" ref="68247">Edit now skipped for New Jersey cases when DX Year &lt; 2000.</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="SE21-021-08" user="beverung" date="2021-08-09" ref="68708">Add skip condition for IL for DX Year &lt; 2021.</event>
                <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68800">Update edit name and logic</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-21" ref="68960">Update skip condition for IL for DX year less than 2023.</event>
                <event version="SE23-023-01" user="shearerw" date="2023-01-24" ref="69079">Remove logic for date flag and update edit name.</event>
                <event version="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed several edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy