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

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

        <rule id="IF554" name="Tumor Size Pathologic, Date of Diagnosis (SEER)" tag="N2407" java-path="lines.line" category="inter-field" depends="Tumor_Size_Pathologic,Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

if (line.dateOfDiagnosisYear <= '2017' && line.dateOfDiagnosisYear >= '2016' && line.registryId == '0000001561')
    return true
if (line.dateOfDiagnosisYear <= '2018' && line.dateOfDiagnosisYear >= '2016' && ['0000001562', '0000001563'].contains(line.registryId))
    return true
if (line.dateOfDiagnosisYear <= '2021' && line.dateOfDiagnosisYear >= '2016' && line.registryId == '0000001566')
    return true
if (line.dateOfDiagnosisYear <= '2022' && line.dateOfDiagnosisYear >= '2016' && line.registryId == '0000001565')
    return true

if (line.dateOfDiagnosisYear > '2015')
    return line.tumorSizePathologic != null
else
    return line.tumorSizePathologic == null]]></expression>
            <message>Tumor Size Pathologic, Date DX conflict</message>
            <description><![CDATA[If year of Date of Diagnosis is blank, this edit is skipped.
If year of Date of Diagnosis is 2016-2017 and Registry ID is 0000001561 (Idaho), this edit is skipped.
If year of Date of Diagnosis is 2016-2018 and Registry ID is 0000001563 (Massachusetts) or 0000001562 (New York), this edit is skipped.
If year of Date of Diagnosis is 2016-2021 and Registry ID is 0000001566 (Texas), this edit is skipped
If year of Date of Diagnosis is 2016-2022 and Registry ID is 0000001565 (Illinois), this edit is skipped

If year of Date of Diagnosis is greater than 2015, then Tumor Size Pathologic cannot be blank.
If year of Date of Diagnosis is less than 2016, then Tumor Size Pathologic must be blank.]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67320">Edit created.</event>
                <event version="SE18-018-01" user="schadega" date="2018-04-11" ref="67741">Edit name change.</event>
                <event version="SE18-018-12" user="kirbyk" date="2019-01-29" ref="68087">Edit is skipped for DX years 2016-2017 for ID, NY, and MA.</event>
                <event version="SE18-020-01" user="beverung" date="2020-01-28" ref="68274">Edit is skipped for DX years 2016-2018 for MA.</event>
                <event version="SE18-020-01" user="beverung" date="2020-02-24" ref="68285">Edit is skipped for DX years 2016-2018 for NY.</event>
                <event version="SE21-021-07" user="kirbyk" date="2021-07-20" ref="68690">Edit is skipped for DX years 2016-2020 for IL and TX.</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68958">Edit is skipped for DX years 2016-2022 for IL, 2016-2021 for TX.</event>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy