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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6279" name="Separate Tumor Nodules, Lung, Derived SS 2018 (SEER)" tag="N6279" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.derivedSummaryStage2018 == null || line.typeOfReportingSource  == '7')
    return true
if (line.schemaId != '00360' || line.separateTumorNodules == null || line.separateTumorNodules == '8')
    return true

if (['1','4'].contains(line.separateTumorNodules) && ['0','1','3'].contains(line.derivedSummaryStage2018))
    return false
if (['2','3'].contains(line.separateTumorNodules) && line.derivedSummaryStage2018 != '7')
    return false
return true]]></expression>
            <message>Separate Tumor Nodules conflicts with Derived Summary Stage 2018</message>
            <description><![CDATA[This edit verifies that Separate Tumor Nodules SSDI, with positive nodules, is
coded consistently with Derived 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 2021, blank (unknown), or invalid
   b. Schema ID is not 00360
   c. Separate Tumor Nodules is blank or 8 (not applicable)
   d. Derived Summary Stage 2018 is blank
   e. Type of Reporting Source = 7

2. If Separate Tumor Nodules = 1 (separate nodules in ipsilateral lung, same
     lobe) or 4 (separate nodules in ipsilateral lung, unknown lobe),
    Derived Summary Stage 2018 must not = 0, 1, or 3 (in situ, local, regional
      by nodal involvement only)

3. If Separate Tumor Nodules = 2 or 3 (separate nodules in ipsilateral lung,
    different lobe),
    Derived Summary Stage 2018 must = 7 (metastasis)]]></description>
            <history>
                <event version="SE21-021-04" user="beverung" date="2021-03-30" ref="68637">Edit created.</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