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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6613" name="LN Assessment Method, Cervix, Regional Nodes Examined (NAACCR)" tag="N6613" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || !['00520','09520'].contains(line.schemaId) || line.regionalNodesExamined == null)
    return true
if ((line.lnAssessMethodParaaortic == null || line.lnAssessMethodParaaortic == '8') && (line.lnAssessMethodPelvic == null || line.lnAssessMethodPelvic == '8'))
    return true

if (line.lnAssessMethodParaaortic == '0' && line.lnAssessMethodPelvic == '0' && line.regionalNodesExamined != '00')
    return false
if ((line.lnAssessMethodParaaortic == '1' || line.lnAssessMethodPelvic == '1') && !Functions.matches(line.lnAssessMethodParaaortic, /^[2789]$/) && !Functions.matches(line.lnAssessMethodPelvic, /^[2789]$/)) {
    if (line.regionalNodesExamined != '95')
        return false
}
return ((line.lnAssessMethodParaaortic != '2' && line.lnAssessMethodPelvic != '2') || Functions.matches(line.regionalNodesExamined, /^0[1-9]|[1-8]\d|9[06-8]$/))]]></expression>
            <message>Conflict among LN Assessment Method Para-aortic, LN Assessment Method Pelvic, and Regional Nodes Examined</message>
            <description><![CDATA[This edit verifies that the LN Assessment Method SSDIs are coded consistently
with Regional Nodes Examined 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 Assessment Method SSDIs are all blank or not applicable.
    d. Regional Nodes Examined is blank.

2.  If LN Assessment Method Para-Aortic = 0 (clinical exam only) and
    LN Assessment Method Pelvic = 0 (clinical exam only),
    then Regional Nodes Examined must = 00 (no nodes examined).

3.  If LN Assessment Method Para-Aortic = 1 (incisional biopsy, FNA) or
    LN Assessment Method Pelvic = 1 (incisional biopsy, FNA) and
    LN Assessment Method Para-Aortic not = 2 (lymphadenectomy), 7
        (unknown),8 (NA), or 9 (unknown if assessed) and
    LN Assessment Method Pelvic not = 2 (lymphadenectomy), 7 (unknown),
       8 (NA), or 9 (unknown if assessed)
    then Regional Nodes Examined must = 95 (aspiration or core biopsy).

4.  If LN Assessment Method Para-Aortic = 2 (lymphadenectomy) or
    LN Assessment Method Pelvic = 2 (lymphadenectomy),
    then Regional Nodes Examined must = 01-90 (number of nodes removed),
       96-98 (nodes removed but number unknown).]]></description>
            <history>
                <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy