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

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

There is a newer version: 024-13
Show newest version
<rule id="IFN6828" name="EOD Primary Tumor, Prostate, RX Summ--Surg Prim Site 2023 (SEER)" tag="N6828" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2023' || line.schemaId != '00580' || line.eodPrimaryTumor == null
            || line.rxSummSurgPrimSite2023 == null || line.typeOfReportingSource == '7')
    return true

if (['100','110','150'].contains(line.eodPrimaryTumor) && Functions.matches(line.prostatePathologicalExtension, /^[89]\d\d$/))
    return Functions.matches(line.rxSummSurgPrimSite2023, /^A(2[0145]\d|220|260|300)$/)

return true]]></expression>
            <message>Conflict among EOD Primary Tumor, RX Summ--Surg Prim Site 2023, EOD Prostate Pathologic Extension</message>
            <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently
with RX Summ--Surg Prim Site 2023 for Schema ID 00580, Prostate.

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

2. If EOD Primary Tumor = 100, 110, or 150 (incidental finding for example on
    TURP)
   if EOD Prostate Pathologic Extension = 800-999 (no tumor at prostatectomy or
   no prostatectomy or unknown if prostatectomy done)
   RX Summ--Surg Prim Site 2023 must = A200-A220, A240-A260 (TURP), A300 (simple
prostatectomy)]]></description>
            <history>
                <event version="SE23-023-05" user="shearerw" date="2023-06-21" ref="69236">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy