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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2880" name="FIGO Stage, Gynecologic, Schema ID (NAACCR)" tag="N2880" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.figoStage == null || !Functions.matches(line.schemaId, /^005([01236]0|4[12]|5[123]|28)|095[02]0$/))
    return true

Map<String, List<String>> valueMap = (Map<String, List<String>>)Context.IFN2880_Table
return valueMap.get(line.schemaId).contains(line.figoStage)]]></expression>
            <message>FIGO Stage not valid for Schema ID</message>
            <description><![CDATA[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, 00541, 00542, 00551,
           00552, 00553, 00560, 09520, 09500

2. This edit verifies that FIGO Stage is coded appropriately by Schema ID as
   shown in the following chart:

    Code                                    Schema ID

             ____________________________________________________________________

                           00500 00510 00520 00530 00541 00542 00551 00552 00560
                           09500       09520       00528       00553
    1: FIGO Stage I         X     X     X     X     X     X     X           X
    1A: FIGO Stage IA       X           X     X     X     X     X
    1A1: FIGO Stage IA1                 X
    1A2: FIGO Stage IA2                 X
    1B: FIGO Stage IB       X           X     X     X     X     X
    1B1: FIGO Stage IB1                 X
    1B2: FIGO Stage IB2                 X
    1B3: FIGO Stage IB3                 X*
    1C: FIGO Stage IC                                     X     X
    1C1: FIGO Stage IC1                                         X
    1C2: FIGO Stage IC2                                         X
    1C3: FIGO Stage IC3                                         X
    2: FIGO Stage II        X     X     X     X     X     X     X     X     X
    2A: FIGO Stage IIA                  X           X     X     X     X
    2A1: FIGO Stage IIA1                X
    2A2: FIGO Stage IIA2                X
    2B: FIGO Stage IIB                  X           X     X     X     X
    3: FIGO Stage III       X     X     X     X     X     X     X     X     X
    3A: FIGO Stage IIIA     X           X     X     X     X     X     X
    3A1: FIGO Stage IIIA1                                       X     X
    3A11: FIGO Stage IIIA1i                                     X     X
    3A12: FIGO Stage IIIA1ii                                    X     X
    3A2: FIGO Stage IIIA2                                       X     X
    3B: FIGO Stage IIIB     X           X     X     X     X     X     X
    3C: FIGO Stage IIIC     X                 X     X     X     X     X
    3C1: FIGO Stage IIIC1               X*    X
    3C2: FIGO Stage IIIC2               X*    X 
    4: FIGO Stage IV        X     X     X     X     X     X     X     X     X
    4A: FIGO Stage IVA      X     X     X     X     X     X     X     X
    4B: FIGO Stage IVB      X     X     X     X     X     X     X     X
    97: NA, Ca in situ     97    97    97    97                97    97    97
    98: NA, not collected  98    98    98    98    98    98    98    98    98
    99: Unknown            99    99    99    99    99    99    99    99    99

* For 09520 only]]></description>
            <history>
                <event version="SE18-019-02" user="kirbyk" date="2019-05-14" ref="68166">Edit created.</event>
                <event version="SE21-021-02" user="kirbyk" date="2021-01-26" ref="68494">Changed valid values for NAACCR 21.</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 logic for Schema ID 09500.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy