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

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

The newest version!
        <rule id="IFN6195" name="EOD Primary Tumor, Testis, RX Summ--Surg Prim Site 03-2022 (SEER)" tag="N6195" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.dateOfDiagnosisYear > '2022' || line.eodPrimaryTumor == null || line.rxSummSurgPrimSite == null)
    return true
if (line.typeOfReportingSource == '7' || line.schemaId == null || line.schemaId != '00590')
    return true

return !Functions.matches(line.eodPrimaryTumor, /^[1245]00|150$/) || Functions.matches(line.rxSummSurgPrimSite, /^[348]0$/)]]></expression>
            <message>EOD Primary Tumor/Surgery conflict for Testis</message>
            <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with RX Summ--
Surg Prim Site 03-2022 for Schema ID 00590, Testis.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021 or after 2022, blank (unknown), or invalid.
    b. Schema ID is blank or not 00590
    c. EOD Primary Tumor is blank
    d. RX Summ--Surg Prim Site 03-2022 is blank
    e. Type of Reporting Source is 7 (Death Certificate Only)


2. If EOD Primary Tumor = 100, 150, 200, 400, or 500 (codes requiring orchiectomy)
    then RX Summ--Surg Prim Site 03-2022 must = 30, 40, or 80 (orchiectomy)]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">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="cooki" date="2023-01-27" ref="69106">Changed name, added 2022+ skip condition, added 03-2022 label to Surg Prim Site.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy