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

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

The newest version!
        <rule id="IFN2879" name="FIGO Stage, Date DX (NAACCR)" tag="N2879" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

if (line.dateOfDiagnosisYear < '2018' && line.figoStage != null)
    return false

if (line.dateOfDiagnosisYear < '2021' && line.figoStage == '1B3')
    return false

List validValues = (List)Context.FigoStageList
return  line.figoStage == null || validValues.contains(line.figoStage)]]></expression>
            <message>FIGO Stage value is not valid for Date DX</message>
            <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid.

1. This data item must be blank for pre-2018 diagnoses.

2. Must be a valid FIGO Stage code or blank:

    1:    FIGO Stage I
    1A:   FIGO Stage IA
    1A1:  FIGO Stage IA1
    1A2:  FIGO Stage IA2
    1B:   FIGO Stage 1B
    1B1:  FIGO Stage IB1
    1B2:  FIGO Stage IB2
    1B3:  FIGO Stage IB3
    1C:   FIGO Stage IC
    1C1:  FIGO Stage IC1
    1C2:  FIGO Stage IC2
    1C3:  FIGO Stage IC3
    2:    FIGO Stage II
    2A:   FIGO Stage IIA
    2A1:  FIGO Stage IIA1
    2A2:  FIGO Stage IIA2
    2B:   FIGO Stage IIB
    3:    FIGO Stage III
    3A:   FIGO Stage IIIA
    3A1:  FIGO Stage IIIA1
    3A11: FIGO Stage IIIA1i
    3A12: FIGO Stage IIIA1ii
    3A2:  FIGO Stage IIIA2
    3B:   FIGO Stage IIIB
    3C:   FIGO Stage IIIC
    3C1:  FIGO Stage IIIC1
    3C2:  FIGO Stage IIIC2
    4:    FIGO Stage IV
    4A:   FIGO Stage IVA
    4B:   FIGO Stage IVB
    97:   Not applicable: Carcinoma in situ (intraepithelial, noninvasive,
          preinvasive)
    98:   Not applicable: Information not collected for this case
    99:   Not documented in medical record
          FIGO Stage unknown, not assessed or unknown if assessed

3. Code 1B3 may only be used for 2021+ diagnoses


Another edit, FIGO Stage, Schema ID, Required (NAACCR), checks that the
item is coded by Schema ID if required by a standard setter.]]></description>
            <history>
                <event version="SE18-018-02" user="kirbyk" date="2018-06-14" ref="67813">Edit created.</event>
                <event version="SE18-018-05" user="kirbyk" date="2018-08-14" ref="67987">Fixed valid values check.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE21-021-02" user="kirbyk" date="2021-01-26" ref="68494">Changed valid values for NAACCR 21.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy