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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6376" name="Ki-67, NET, Schema ID, Required (NAACCR)" tag="N6376" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[ if(line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.typeOfReportingSource == '7')
            return true
if ('0000001565' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2023')
    return true
if ('0000001566' == line.registryId && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022')
    return true

if (['00290','00301','00302','00310','00320','00330','00340','09290','09301','09302','09310','09320','09330','09340'].contains(line.schemaId))
    return line.ki67 != null && line.ki67 != 'XXX.8'
return true]]></expression>
            <message>Ki-67 must not be blank or not applicable for Schema ID cases diagnosed 2021 and later</message>
            <description><![CDATA[1. The edit is skipped for any of the following conditions:
   a. Date of Diagnosis pre-2021, blank (unknown), or invalid.
   b. Schema ID is blank.
   c. Type of Reporting Source = 7 (Death Certificate Only)
   d. Registry ID = 0000001565 (Illinois) and Year of Diagnosis 2018-2022
   e. RegistryID = 0000001566 (Texas) and Year of Diagnosis = 2018-2021

2. This edit verifies that Ki-67 is not "XXX.8" (not applicable) and not blank
   for the Schema IDs for which it is required by a standard setter.

    00290 NET Stomach [8th: 2018-2023]
    00301 NET Duodenum [8th: 2018-2023]
    00302 NET Ampulla of Vater [8th: 2018-2023]
    00310 NET Jejunum and Ileum [8th: 2018-2023]
    00320 NET Appendix [8th: 2018-2023]
    00330 NET Colon and Rectum [8th: 2018-2023]
    00340 NET Pancreas [8th: 2018-2023]

    09290 NET Stomach [V9: 2024+]
    09301 NET Duodenum [V9: 2024+]
    09302 NET Ampulla of Vater [V9: 2024+]
    09310 NET Jejunum and Ileum [V9: 2024+]
    09320 NET Appendix [V9: 2024+]
    09330 NET Colon and Rectum [V9: 2024+]
    09340 NET Pancreas [V9: 2024+]
]]></description>
            <history>
                <event version="SE21-021-04" user="secristm" date="2021-04-20" ref="68639">Edit created.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68989">Added skip condition for IL for DX years 2018-2022, TX for 2018-2021.</event>
                <event version="SE23-023-06" user="cooki" date="2023-08-07" ref="69301">Changed error message to 2021+ cases.</event>
                <event version="SE24-024-01" user="shearerw" date="2024-03-01" ref="69405">Add schemas for 2024+.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy