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

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

The newest version!
        <rule id="IFN6457" name="LN Status, Cervix, EOD Regional Nodes (SEER)" tag="N6457" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.typeOfReportingSource == '7' || !['00520','09520'].contains(line.schemaId) || line.eodRegionalNodes == null)
    return true
if ((line.lnStatusParaAortic == null || line.lnStatusParaAortic == '8') && (line.lnStatusPelvic == null || line.lnStatusPelvic == '8'))
    return true

if (line.schemaId == '00520' && (line.lnStatusPelvic == '1' || line.lnStatusParaAortic == '1') && line.eodRegionalNodes != '300')
    return false

if (line.schemaId == '09520') {
    if (line.lnStatusPelvic == '1' && (Functions.matches(line.lnStatusParaAortic, /^[089]$/) || line.lnStatusParaAortic == null) && !['100','200','300'].contains(line.eodRegionalNodes))
        return false
    if (line.lnStatusParaAortic == '1' && !['400','500','600'].contains(line.eodRegionalNodes))
        return false
}
if (line.dateOfDiagnosisYear >= '2022') {
    if (line.lnStatusPelvic == '0' && line.lnStatusParaAortic == '0' && !['000','050'].contains(line.eodRegionalNodes))
        return false
    if (['000','050'].contains(line.eodRegionalNodes) && (line.lnStatusParaAortic != '0' || line.lnStatusPelvic != '0'))
        return false
}
return true]]></expression>
            <message>LN Status Pelvic and/or LN Status Para-Aortic conflicts with EOD Regional Nodes</message>
            <description><![CDATA[This edit verifies that LN Status Para-Aortic SSDI is
coded consistently with EOD Regional Nodes for Cervix.

1. The edit is skipped for the following conditions:
   a. Date of Diagnosis before 2019, blank (unknown), or
invalid.
   b. Schema ID is not 00520 or 09520
   c. LN Status Para-Aortic is blank or 8 (not applicable) and
       LN Status Pelvic is blank or 8 (not applicable)
   d. EOD Regional Nodes is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)

For Schema ID 00520:

2.  If LN Status Pelvic = 1 or LN Status Para-Aortic = 1 (lymph nodes positive)
    EOD Regional Nodes must = 300

For Schema ID 09520:

3.    If LN Status Pelvic = 1 (lymph nodes positive) and
    LN Status Para-Aortic = 0, 8, 9, or blank
    EOD Regional Nodes must =  100, 200, or 300.

4.  if LN Status Para-Aortic = 1 (lymph nodes positive)
    EOD Regional Nodes must = 400, 500, or 600.


    for 2022+

5. If LN Status Pelvic = 0 and LN Status Para-Aortic = 0
    EOD Regional Nodes must = 000 or 050


6.    If EOD Regional Nodes = 000 or 050,
    LN Status Para-Aortic must = 0 and LN Status Pelvic must = 0]]></description>
            <history>
                <event version="SE22-022-01" user="beverung" date="2022-02-02" ref="68887">Edit created.</event>
                <event version="SE22-022-03" user="beverung" date="2022-04-11" ref="68928">Removed CoC Accredited Flag logic; changed edit name.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy