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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6264" name="FIGO Stage, Derived SS 2018 (SEER)" tag="N6264" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.figoStage == null || line.figoStage == '98' || line.typeOfReportingSource  == '7')
    return true

if (!Functions.matches(line.schemaId, /^(00(5[01236]0|55[123]|528)|095[02]0)$/) || line.derivedSummaryStage2018 == null)
    return true

if (line.figoStage == '97' && line.derivedSummaryStage2018 != '0')
    return false

if (line.derivedSummaryStage2018 == '0' && !['00530', '00551', '00553'].contains(line.schemaId) && line.figoStage != '97')
    return false

return true]]></expression>
            <message>FIGO Stage conflicts with Derived Summary Stage 2018.</message>
            <description><![CDATA[The edit verifies that the FIGO Stage SSDI is coded consistently with Derived
Summary Stage 2018 for in situ tumors.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2021, blank, or invalid
    b. Schema ID not = 00500, 00510, 00520, 00530, 00551, 00552,
      00553, 00560, 09520, 00528, 09500
    c. FIGO Stage is blank or = 98 (not applicable)
    d. Derived Summary Stage 2018 blank
    e. Type of Reporting Source = 7

2. The edit verifies that if FIGO Stage = 97 (Carcinoma in situ),
    Derived Summary Stage 2018 must = 0 (Carcinoma in situ).

3. If Derived Summary Stage 2018 = 0 and Schema ID is not 00530, 00551, or 00553 (schemas where 8380/2 or 8441/2 are staged T1a or T1b),
    FIGO Stage must = 97.]]></description>
            <history>
                <event version="SE21-021-02" user="kirbyk" date="2021-01-27" ref="68494">Edit created.</event>
                <event version="SE21-021-03" user="secristm" date="2021-02-26" ref="68588">Added schema check when Derived Summary Stage 2018 = 0/</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event>
                <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68965">Added skip condition for Type of Reporting Source = 7.</event>
                <event version="SE24-024-01" user="beverung" date="2024-03-04" ref="69403">Added Schema ID 09500 to skip condition.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy