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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6063" name="Visceral and Parietal Pleural Invasion, Lung, Summary Stage 2018 (NAACCR)" tag="N6063" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.summaryStage2018 == null || line.schemaId != '00360' || line.typeOfReportingSource  == '7')
    return true

if (line.visceralParietalPleuralInvasion == null || line.visceralParietalPleuralInvasion == '8')
    return true

return !Functions.matches(line.visceralParietalPleuralInvasion, /^[456]$/) || !Functions.matches(line.summaryStage2018, /^[013]$/)]]></expression>
            <message>Visceral and Parietal Pleural Invasion conflicts with Summary Stage 2018.</message>
            <description><![CDATA[Purpose: This edit verifies that Visceral and Parietal Pleural Invasion SSDI is
coded consistently with Summary Stage 2018 for Lung.

1. This edit is skipped if any of the following conditions is true:

   a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid
   b. Schema ID is not 00360
   c. Visceral and Parietal Pleural Invasion is blank or 8 (not applicable)
   d. Summary Stage 2018 is blank
   e. Type of Reporting Source = 7

2. If Visceral and Parietal Pleural Invasion = 4 (invasion of visceral pleura),
    5 (invasion of parietal pleura) or 6 (invasion of pleura NOS) then Summary Stage 2018
    must = not = 0, 1, or 3 (in situ, local, regional by nodal involvement only)]]></description>
            <history>
                <event version="SE18-019-01" user="kirbyk" date="2019-04-12" ref="68150">Edit created.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
                <event version="SE21-021-01" user="beverung" date="2021-01-12" ref="68478">Fixed typo and updated Visceral and Parietal Pleural Invasion codes.</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy