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

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

The newest version!
        <rule id="IFN3031" name="Serum Markers, Testis, Post-Orchiectomy 03-2022, Range (NAACCR)" tag="N3031" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.dateOfDiagnosisYear > '2022' || line.schemaId != '00590' || line.rxSummSurgPrimSite == null)
    return true

if ((line.afpPostOrchiectomyRange == null || line.afpPostOrchiectomyRange == '8') && (line.hcgPostOrchiectomyRange == null || line.hcgPostOrchiectomyRange == '8') && 
    (line.ldhPostOrchiectomyRange == null || line.ldhPostOrchiectomyRange == '8') && line.sCategoryPathological == null)
    return true

String surgPrimSite = line.rxSummSurgPrimSite
if (surgPrimSite == '00' || surgPrimSite == '12' || surgPrimSite == '20' || surgPrimSite == '99')
    return line.afpPostOrchiectomyRange == '9' && line.hcgPostOrchiectomyRange == '9' && line.ldhPostOrchiectomyRange == '9' && line.sCategoryPathological == '9'

return true]]></expression>
            <message>Testis Serum Markers must be coded &quot;no orchiectomy performed&quot; if no orchiectomy performed.</message>
            <description><![CDATA[This edit verifies that the testis tumor marker range SSDIs are coded consistently
with surgery code.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2019 or after 2022, blank (unknown), or invalid.
    b. Schema ID not = 00590
    c. The following SSDIs are blank or not applicable:

       AFP Post-Orchiectomy Range
       hCG Post-Orchiectomy Range
       LDH Post-Orchiectomy Range
       S Category Pathological

    d. RX Summ--Surg Prim Site 03-2022 is blank

2.  If Primary Site Surgery = 00 (no surgery of primary site), 12 (local tumor
    destruction NOS (no specimen sent to pathology), or 20 (local excision of
    testicle),
     Then the data items must be coded as follows (no orchiectomy performed):

       AFP Post-Orchiectomy Range          9
       hCG Post-Orchiectomy Range          9
       LDH Post-Orchiectomy Range          9
       S Category Pathological             9

3. If RX Summ-Surg Prim Site 03-2022 = 99,
    Then the data items must be coded as follows (no orchiectomy performed, or AFP Post-Orchiectomy Range not assessed or unknown if assessed):

       AFP Post-Orchiectomy Range          9
       hCG Post-Orchiectomy Range          9
       LDH Post-Orchiectomy Range          9
       S Category Pathological             9]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-06" ref="68169">Edit created.</event>
                <event version="SE23-023-01" user="cooki" date="2023-01-20" ref="69089">Added logic to skip for 2023+ and updated description.</event>
                <event version="SE23-023-01" user="cooki" date="2023-03-07" ref="69197">Updated name.</event>
                <event version="SE23-023-05" user="shearerw" date="2023-06-29" ref="69292">Remove logic for when S Category Pathological is 8.</event>
                <event version="SE24-024-01" user="cooki" date="2024-02-08" ref="69370">Added condition 3. for code 99.</event>
                <event version="SE24-024-06" user="shearerw" date="2024-06-20" ref="69499">Updated name.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy