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

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

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

if (line.eodRegionalNodes == '300')
    return Functions.matches(line.regionalNodesPositive, /^(0[0-3]|9[5789])$/)

if (Functions.matches(line.regionalNodesPositive, /^(0[4-9]|[1-8]\d|90)$/))
    return line.eodRegionalNodes == '400'

return true]]></expression>
            <message>Conflict between EOD Regional Nodes and Regional Nodes Positive</message>
            <description><![CDATA[This edit verifies that EOD Regional Nodes codes 300 and 400 are
coded consistently with Regional Nodes Positive for Schema ID 00270,
Ampulla of Vater.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2018, blank (unknown), or invalid.
    b. Schema ID is blank or not 00270
    c. EOD Regional Nodes is blank
    d. Regional Nodes Positive is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)

2. If EOD Regional Nodes = 300 (1-3 positive regional nodes)
   then Regional Nodes Positive must = 00, 01, 02, 03, 95, 97, 98,
or 99

3. If Regional Nodes Positive = 04-90
    then EOD Regional Nodes must = 400 (4 or more positive regional
lymph nodes)]]></description>
            <history>
                <event version="SE23-023-05" user="cooki" date="2023-06-15" ref="69239">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy