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

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

The newest version!
        <rule id="IFN2677" name="Estrogen Receptor Percent Positive or Range, Date DX (NAACCR)" tag="N2677" 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.estrogenReceptorPercntPosOrRange == null
    
return line.estrogenReceptorPercntPosOrRange == null || Functions.matches(line.estrogenReceptorPercntPosOrRange, /^100|0\d\d|R([1-9]0|99)|XX[789]$/)]]></expression>
            <message>Estrogen Receptor Percent Positive or Range 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 Estrogen Receptor Percent Positive or Range code or blank: 
                                    
    000:  ER negative, or stated as less than 1%
    001-100:  1-100 percent 
    R10 Stated as 1-10%
    R20:    Stated as 11-20%
    R30:    Stated as 21-30%
    R40:    Stated as 31-40%
    R50:    Stated as 41-50%
    R60:    Stated as 51-60%
    R70:    Stated as 61-70%
    R80:    Stated as 71-80%
    R90:    Stated as 81-90%
    R99:    Stated as 91-100%
    XX7:  Test done,  results not in chart
    XX8:  Not applicable: Information not collected for this case
    XX9:  Not documented in medical record 
          Estrogen Receptor Percent Positive or Range not assessed or unknown if 
          assessed

3. Numeric value must be right-justified and zero-filled.
    
Another edit, Estrogen Receptor Percent Positive or Range, 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-04" user="schadega" date="2018-08-03" ref="67863">Edit created.</event>
                <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event>
                <event version="SE18-019-02" user="kirbyk" date="2019-04-25" ref="68177">Added &apos;XX7&apos; as a valid value.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy