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

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

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

if ((line.schemaId == '00190' && line.dateOfDiagnosisYear < '2023') || (line.schemaId == '09190' && line.dateOfDiagnosisYear >= '2023') || line.schemaId == '00200')
    return (line.ceaPretreatmentLabValue != 'XXXX.8' && line.ceaPretreatmentLabValue != null)

return true]]></expression>
            <message>CEA Pretreatment Lab Value must not be blank or not applicable for cases with this Schema ID 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. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021

2. This edit verifies that CEA Pretreatment Lab Value is not "XXXX.8" (not
   applicable) and not blank for the Schema IDs for which it is required by 
   a standard setter. 
    
   Required for Schema ID:

    00190: Appendix [8th: 2018-2022]
    09190: Appendix [V9: 2023+]
    00200: Colon and Rectum]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-18" ref="67832">Edit created.</event>
                <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68010">Added DCO skip condition.</event>
                <event version="SE21-021-09" user="beverung" date="2021-08-26" ref="68721">Add skip conditions for IL and TX for DX Years 2018-2020.</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68956">Change skip condition for IL to DX Years 2018-2022, and TX to 2018-2021</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-07" ref="69138">Add logic for Schema ID 09190. Update year logic for Schema ID 00190.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy