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

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

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

if (line.dateOfDiagnosisYear < '2018')
    return line.serumAlbuminPretreatmentLevel == null

return line.serumAlbuminPretreatmentLevel == null || Functions.matches(line.serumAlbuminPretreatmentLevel, /^[01579]$/)]]></expression>
            <message>Serum Albumin Pretreatment Level 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 Serum Albumin Pretreatment Level code or blank: 

    0: Serum albumin <3.5 g/dL
    1: Serum albumin >= 3.5 g/dL
    5: Schema Discriminator 1: Plasma Cell Myeloma Terminology coded to 1 or 9
    7: Test done, results not in chart
    9: Not documented in medical record
       Serum albumin Pretreatment Level not assessed or unknown if assessed

Another edit, Serum Albumin Pretreatment Level, Schema ID, Required (NAACCR), 
checks that the item is coded by Schema ID if required by a standard setter. 

This data item is required for AJCC staging and EOD Derived Stage Group.]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-17" ref="67906">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE22-022-01" user="secristc" date="2022-01-28" ref="68856">Added logic for code 5</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy