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

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

The newest version!
        <rule id="IFN2895" name="LDH Level, Myeloma, Schema ID, Required (NAACCR)" tag="N2895" 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 (line.registryId == '0000001566' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022')
    return true
if (line.registryId == '0000001565' && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023')
    return true

if (line.schemaId == '00821') {
    if (line.schemaDiscriminator1 == '0')
        return line.ldhPretreatmentLevel != null && line.ldhPretreatmentLevel != '5'
    else if (line.schemaDiscriminator1 == '1' || line.schemaDiscriminator1 == '9')
        return line.ldhPretreatmentLevel == '5'
}

return true]]></expression>
            <message>LDH Level, Schema Discriminator 1 conflict for Myeloma</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

2. This edit verifies that LDH Level is coded (not blank) for the
   Schema IDs for which it is required by a standard setter. Schema Discriminator 
   1 is required to identify a plasma cell myeloma diagnosis eligible for RISS staging.

   This data item is required for AJCC staging and EOD Derived Stage Group.

   Required for Schema ID:

   00821: Plasma Cell Myeloma:
            If Schema Discriminator 1 = 0, LDH Level is not blank and not = 5.
            If Schema Discriminator 1 = 1 or 9, LDH Level must = 5.]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-25" ref="67908">Edit created.</event>
                <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68004">Added DCO skip condition.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-29" ref="68028">LDH Pretreament Level must be blank if Schema Discriminator 1 is not = 0.</event>
                <event version="SE18-018-10" user="kirbyk" date="2018-11-30" ref="68058">Schema Discriminator 1 must not be blank for Schema ID 00821.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-31" ref="68418">Update edit name and change variable name from LDH Pretreatment Level to LDH Level.</event>
                <event version="SE21-021-11" user="beverung" date="2021-12-22" ref="68767">Added skip condition for IL and TX for DX Year 2018-2019.</event>
                <event version="SE22-022-01" user="secristc" date="2022-02-22" ref="68853">Updated logic for Schema ID = 00821.</event>
                <event version="SE22-022-03" user="secristc" date="2022-04-22" ref="68959">Changed skip condition for IL to DX Years 2018-2022, TX to 2018-2021.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy