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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6079" name="EOD Regional Nodes, Regional Nodes Positive (SEER)" tag="N6079" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodRegionalNodes == null || line.regionalNodesPositive == null)
    return true

if (line.schemaId == null || line.typeOfReportingSource == '7')
    return true

if (line.schemaId == '00811')
    return line.eodRegionalNodes != '000' || ['00', '98', '99'].contains(line.regionalNodesPositive)
else
    return !Functions.matches(line.eodRegionalNodes, /^0[0357]0$/) || ['00', '98', '99'].contains(line.regionalNodesPositive)]]></expression>
            <message>Regional Nodes Positive conflicts with EOD Regional Nodes.</message>
            <description><![CDATA[This edit verifies that EOD Regional Nodes is coded consistently with Regional Nodes Positive.

1. This edit is skipped if any of the following conditions are true:
    a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid
    b. EOD Regional Nodes is blank
    c. Regional Nodes Positive is blank
    d. Schema ID is blank
    e. Type of Reporting Source = 7 (Death Certificate Only)

2. If Schema ID = 00811 (Mycosis Fungoides):
    If EOD Regional Nodes = 000, then Regional Nodes Positive must = 00, 98, or 99

3. For all other Schemas:
    If EOD Regional Nodes = 000, 030, 050, or 070, then Regional Nodes Positive must = 00, 98, or 99]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-15" ref="68146">Edit created.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68379">Add special logic for schema Id = 00811 and update logic for EOD Regional Nodes/EOD Regional Nodes Positive.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy