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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6199" name="EOD Regional Nodes, Kidney Renal Pelvis/Urethra, Regional Nodes Positive (SEER)" tag="N6199" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7' || line.eodRegionalNodes == null)
    return true
if (line.schemaId == null || !['00610','00631','00633'].contains(line.schemaId) || line.regionalNodesPositive == null)
    return true

if (['200','300'].contains(line.eodRegionalNodes) && !Functions.matches(line.regionalNodesPositive, /^0[01]|9[5789]$/))
    return false
if (Functions.matches(line.regionalNodesPositive, /^0[2-9]|[1-8]\d|90$/) && line.eodRegionalNodes != '400')
    return false
return true]]></expression>
            <message>EOD Regional Nodes/Reg Nodes Pos conflict for Kidney and Urethra</message>
            <description><![CDATA[This edit verifies that EOD Regional Nodes codes 400 and 800 are coded
consistently with Regional Nodes Positive for Schema ID 00610, Kidney Renal
Pelvis, 00631 Urethra, and 00633 Urethra Prostatic.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank (unknown), or invalid.
    b. Schema ID is blank or not 00610, 00631, or 00633
    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 = 200 or 300 (single positive node)
    Regional Nodes Positive must = 00, 01, 95, 97, 98, or 99

2. If Regional Nodes Positive = 02-90
    then EOD Regional Nodes must = 400 (multiple nodes)


Note: Schema IDs 00631 and 00633 have only codes 300 and 400]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-04-28" ref="68607">Edit created.</event>
                <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event>
                <event version="SE23-023-01" user="secristc" date="2023-02-22" ref="69185">Added 97 as a valid code for EOD Nodes 200 or 300, remove code 800.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy