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

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

There is a newer version: 024-13
Show newest version
    <rule id="IFN7091" name="Grade, Bladder, RX Summ--Surg Prim Site 2023 (SEER)" tag="N7091" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId != '00620' ||
            line.gradePathological == null || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7')
    return true

if (Functions.matches(line.rxSummSurgPrimSite2023, /^A([01]\d|2[0-7]|9\d)0$/) && ['00', '99'].contains(line.eodMets))
    return line.gradePathological == '9'
return true]]></expression>
            <message>Grade and Surgery 2023+ conflict for Bladder</message>
            <description><![CDATA[This edit verifies that Grade Pathological is coded consistently with RX Summ--Surg Prim Site 2023 for Bladder. Transurethral Resection of Bladder (TURB) (or less severe surgeries) is not sufficient to assign Grade Pathological without presence of metastasis.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2023, blank (unknown), or invalid.
    b. Schema ID is not 00620
    c. Grade Pathological is blank
    d. RX Summ--Surg Prim Site 2023 is blank
    e. Type of Reporting Source = 7 (Death Certificate Only)

2. If RX Summ--Surg Prim Site 2023 = A000-A270, A900-A990 and EOD Mets = 00, 99
    Grade Pathological must = 9]]></description>
            <history>
                <event version="SE23-023-10" user="beverung" date="2024-01-22" ref="69327">Edit created.</event>
                <event version="SE24-024-06" user="beverung" date="2024-07-10" ref="69514">Edit name changed.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy