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

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

        <rule id="IFN4017" name="SSDI FIGO Stage, Blank for Other Schemas (NAACCR)" tag="N4017" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null)
    return true
    
if (!Functions.matches(line.schemaId, /^005([01236]0|4[12]|5[123]|28)|09520$/))
    return line.figoStage == null
    
return true]]></expression>
            <message>Conflict between schema and coded SSDI items for FIGO Stage</message>
            <description><![CDATA[This edit verifies that the Site-Specific Data Item FIGO Stage is blank for
schemas for which it is not collected. This SSDI is collected for gynecologic
schemas: Vulva (Schema ID 00500), Vagina (Schema ID 00510), Cervix (Schema IDs
00520, 09520), Corpus (Schema IDs 00530, 00541, 00542), Ovary (Schema ID 00551),
Fallopian Tube (Schema ID 00552), Primary Peritoneal Carcinoma (Schema ID 00553),
Placenta (Schema ID 00560).

This edit is skipped for any of the following conditions:

    a.Date of Diagnosis is before 2018, blank, invalid.
    b.Schema ID is blank.

If Schema ID is not 00500 (Vulva), 00510 (Vagina), 00520 or 09520 (Cervix), 00530
(Corpus Carcinoma), 00541 (Corpus Sarcoma), 00542 (Corpus Adenosarcoma),
00551 (Ovary), 00552 (Fallopian Tube), 00553 (Primary Peritoneal Carcinoma), or
00560 (Placenta), 00528 (Cervix Sarcoma [2021]) the following Specific Data Item must be blank:

    FIGO Stage]]></description>
            <history>
                <event version="SE18-018-02" user="kirbyk" date="2018-06-15" ref="67813">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-020-05" user="kirbyk" date="2020-08-04" ref="68463">Added &apos;09520&apos; as a Cervix Schema ID.</event>
                <event version="SE22-022-01" user="smithm" date="2022-02-15" ref="68831">Add 00528 to skip condition</event>
            </history>
        </rule>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy