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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6092" name="FIGO Stage, Gynecologic, EOD Primary Tumor (SEER)" tag="N6092" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.figoStage == null || line.eodPrimaryTumor == null)
    return true

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

if (line.figoStage == '97' && line.eodPrimaryTumor != '000')
    return false

if (line.eodPrimaryTumor == '000' && line.figoStage != '97')
    return false

return true]]></expression>
            <message>FIGO Stage conflicts with EOD Primary Tumor</message>
            <description><![CDATA[The edit verifies that the FIGO Stage SSDI is coded consistently with EOD Primary
Tumor.


1. The edit is skipped for the following condition:
        a. Date of diagnosis before 2019, blank (unknown), or invalid.
        b. FIGO Stage is blank.
        c. Schema ID is not 00500, 00510, 00520, 00528, 00530, 00551, 00552, 00553, 00560, 09520, 09500
        d. EOD Primary Tumor is blank

2. The edit verifies that if FIGO Stage = 97 (Carcinoma in situ),
    EOD Primary Tumor must = 000 (Carcinoma in situ).

3. If EOD Primary Tumor = 000, FIGO Stage must = 97.]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-13" ref="68147">Edit created.</event>
                <event version="SE18-019-03" user="beverung" date="2019-08-01" ref="68242">Updated error message. No behavior change.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-30" ref="68393">Add schema ID 09520 to skip condition.</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</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