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

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

The newest version!
        <rule id="IFN6614" name="LN Assessment Method, Vulva, Regional Nodes Examined (SEER)" tag="N6614" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || !['00500', '09500'].contains(line.schemaId) || line.regionalNodesExamined == null
            || ['6','7'].contains(line.typeOfReportingSource))
    return true
if (line.lnAssessMethodFemoralInguinal == null || line.lnAssessMethodFemoralInguinal == '8')
    return true

if (line.lnAssessMethodFemoralInguinal == '0' && line.regionalNodesExamined != '00')
    return false
if (line.lnAssessMethodFemoralInguinal == '1' && line.regionalNodesExamined != '95')
    return false
if (line.lnAssessMethodFemoralInguinal == '2' && !Functions.matches(line.regionalNodesExamined, /^0[1-9]|[1-8]\d|9[06-8]$/))
    return false

return true]]></expression>
            <message>Conflict between LN Assessment Method Femoral-Inguinal and Regional Nodes Examined</message>
            <description><![CDATA[This edit verifies that LN Assessment Method Femoral-Inguinal SSDI for Vulva is coded
consistently
with Regional Nodes Examined.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2019, blank (unknown), or invalid.
    b. Schema ID is not 00500 or 09500.
    c. LN Assessment Method Femoral-Inguinal is blank or not applicable.
    d. Regional Nodes Examined is blank.
    e. Type of Reporting Source = 6 (Autopsy Only) or 7 (Death Certificate Only)

2.  If LN Assessment Method Femoral-Inguinal = 0 (clinical exam only)
    then Regional Nodes Examined must = 00 (no nodes examined).

3.  If LN Assessment Method Femoral-Inguinal = 1 (incisional biopsy, FNA)
    then Regional Nodes Examined must = 95 (aspiration or core biopsy).

4.  If LN Assessment Method Femoral-Inguinal = 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>
                <event version="SE23-023-03" user="cooki" date="2023-05-25" ref="69281">Changed name, id, and tag. Added skip condition for Type of Reporting Source.</event>
                <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy