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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2689" name="Oncotype Dx Risk Level-Invasive, Date DX (NAACCR)" tag="N2689" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

String hist = line.histologicTypeIcdO3
if ((hist == '8520' || hist == '8519' || hist == '8522') && line.behaviorCodeIcdO3 == '2')
    return true

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

return line.oncotypeDxRiskLevelInvasive == null || Functions.matches(line.oncotypeDxRiskLevelInvasive, /^[0-26-9]$/)]]></expression>
            <message>Oncotype Dx Risk Level-Invasive is not valid for Date DX</message>
            <description><![CDATA[The edit is skipped for the following conditions:
    a. Date of Diagnosis is blank (unknown), or invalid.
    b. Histologic Type ICD-O-3 = 8520, 8519, 8522 and Behavior Code ICD-O-3 is 2 (in situ)

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

2. Must be a valid Oncotype Dx Risk Level-Invasive code or blank: 

    0: Low risk (recurrence score 0-17)
    1: Intermediate risk (recurrence score 18-30)
    2: High risk (recurrence score greater than or equal to 31) 
    6: Not applicable: DCIS case
    7: Test done, results not in chart
    8: Not applicable: Information not collected for this case
    9: Not documented in medical record 
      Oncotype Dx Risk Level-Invasive not assessed or unknown if assessed

Another edit, Oncotype Dx Risk Level-Invasive, 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-03" user="schadega" date="2018-07-16" ref="67869">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-020-02" user="beverung" date="2020-03-31" ref="68301">Added skip conditions for histology/behavior = 8520/2, 8519/2, 8522/2.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy