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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6594" name="Derived Rai Stage, Schema ID, Required (NAACCR)" tag="N6594" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource == '7')
    return true
if ('0000001565' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023')
    return true
if ('0000001566' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022')
    return true
if ('0000001563' == line.registryId && line.dateOfDiagnosisYear == '2018')
    return true

return (line.schemaId != '00795' || line.primarySite != 'C421') || (line.derivedRaiStage != null && line.derivedRaiStage != '8')
]]></expression>
            <message>Derived Rai Stage must not be blank or not applicable for Primary Site cases diagnosed 2018 and later</message>
            <description><![CDATA[1. The edit is skipped for any of the following conditions:
    a. Date of Diagnosis pre-2018, blank (unknown), or invalid.
    b. Schema ID is blank.
    c. Type of Reporting Source = 7 (Death Certificate Only)
    d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022
    e. Registry ID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021
    f. Registry ID = 0000001563 (Massachusetts) and Year of Diagnosis = 2018

2. Where required by a standard setter:

    This edit verifies that Derived Rai Stage is not blank and not 8 for Schema ID
    00795 where Primary Site = C421.]]></description>
            <history>
                <event version="SE22-022-01" user="beverung" date="2022-02-03" ref="68862">Edit created.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68989">Added skip condition for IL for DX years 2018-2022, TX for 2018-2021.</event>
                <event version="SE22-022-15" user="kirby" date="2022-10-21" ref="69048">Added skip condition for MA for DX year 2018.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy