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

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

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

if (line.schemaId == '00210' && line.dateOfDiagnosisYear < '2023')
    return line.p16 == null

if (line.schemaId == '00500' && line.dateOfDiagnosisYear < '2024')
    return line.p16 == null

if (line.dateOfDiagnosisYear < '2021')
    return line.p16 == null

else
    return line.p16 == null || Functions.matches(line.p16, /^[0189]$/)
             ]]></expression>
            <message>p16 must be blank for cases diagnosed before 2021</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-2021 diagnoses.

2. Must be a valid p16 code or blank:

    0: p16 Negative; Nonreactive
    1: p16 Positive; Diffuse, Strong reactivity
    8: Not applicable: Information not collected for this case
    9: Not tested for p16; Unknown
    Blank: Diagnosis year prior to 2021

3. This data item must be blank for pre-2023 cases assigned to Schema ID 00210

4. This data item must be blank for pre-2024 cases assigned to schema ID 00500

Another edit, p16, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description>
            <history>
                <event version="SE22-022-01" user="secristc" date="2022-02-24" ref="68895">Edit created.</event>
                <event version="SE23-023-01" user="cooki" date="2023-02-07" ref="69142">Added condition for Schema 00210.</event>
                <event version="SE24-024-01" user="kirbyk" date="2024-03-13" ref="69411">Added condition for Schema 00500.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy