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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN2679" name="Progesterone Receptor Percent Positive or Range, Date DX (NAACCR)" tag="N2679" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null)
    return true

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

if (line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2021' && line.progesteroneRecepPrcntPosOrRange == 'XX6')
    return true

return line.progesteroneRecepPrcntPosOrRange == null || Functions.matches(line.progesteroneRecepPrcntPosOrRange, /^100|0\d\d|XX[789]|R([1-9]0|99)$/)]]></expression>
            <message>Progesterone 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 Progesterone Receptor Percent Positive or Range code or blank:

    000:    PR negative, or stated as less than 1%
    001-100: 1 to 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%
    XX6:  PR results cannot be determined (indeterminate) - valid for 2018-2020 only
    XX7:  Test done, results not in chart
    XX8:  Not applicable: Information not collected for this case
    XX9:  Not documented in medical record
          Progesterone Receptor Percent Positive or Range not assessed or unknown
          if assessed

3. Numeric value must be right-justified and zero-filled.

Another edit, Progesterone 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-06" ref="67865">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>
                <event version="SE18-020-05" user="beverung" date="2020-08-06" ref="68445">Added &apos;XX6&apos; as a valid value for years 2018-2020.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy