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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN5041" name="Brain Molecular Markers, Summary Stage 2018 (NAACCR)" tag="N5041" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.typeOfReportingSource  == '7')
    return true
    
if (!['00721','00722','09721','09722','09724'].contains(line.schemaId) || line.brainMolecularMarkers == null || line.brainMolecularMarkers == '88')
    return true

if (line.brainMolecularMarkers == '86')
    return line.summaryStage2018 == '8'

if (line.summaryStage2018 == '8')
    return line.brainMolecularMarkers == '86' || line.brainMolecularMarkers == '99'

return true]]></expression>
            <message>Brain Molecular Markers conflicts with Summary Stage 2018.</message>
            <description><![CDATA[This edit verifies that the Brain Molecular Markers SSDI is coded consistently
with Summary Stage 2018.


1. The edit is skipped for the following conditions:
    a. Diagnosis date is before 2019, blank (unknown), or invalid.
    b. Schema ID not = 00721, 00722, 09721, 09722, or 09724.
    c. Brain Molecular Markers is blank or 88 (not applicable).
    d. Summary Stage 2018 is blank
    e. Type of Reporting Source = 7

2. The edit verifies that if Brain Molecular Markers is coded 86 (Benign or
   borderline tumor),Summary Stage 2018 = 8.

3. If Summary Stage 2018 = 8, Brain Molecular Markers must = 86 (Benign or
   borderline) or 99 (no microscopic confirmation).]]></description>
            <history>
                <event version="SE18-019-01" user="kirbyk" date="2019-03-28" ref="68142">Edit created.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event>
                <event version="SE23-023-01" user="cooki" date="2023-02-16" ref="69147">Added skip condition for Schema IDs 09721, 09722, and 09724.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy