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

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

There is a newer version: 024-13
Show newest version
        <rule id="IF551" name="Tumor Size Clinical, Date of Diagnosis (SEER)" tag="N2144" java-path="lines.line" category="inter-field" depends="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 < '2016')
    return line.tumorSizeClinical == null
if (line.dateOfDiagnosisYear > '2015' && line.dateOfDiagnosisYear < '2024')
    return line.tumorSizeClinical != null
return true]]></expression>
            <message>Tumor Size Clinical and 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 and less than 2024, then Tumor Size Clinical cannot be blank.
If year of Date of Diagnosis is less than 2016, then Tumor Size Clinical must be blank.]]></description>
            <history>
                <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67316">Edit created.</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-03" user="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</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>
                <event version="SE24-024-03" user="cooki" date="2024-03-21" ref="69426">Added 2024 limit to logic.</event>
                <event version="SE24-024-04" user="beverung" date="2024-04-24" ref="69453">Allow blank and non-blank values for DX Year 2024 and later.</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