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

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

The newest version!
        <rule id="IFN3968" name="RX Date Radiation, PhI Radiation Treatment Modality (NAACCR)" tag="N3968" java-path="lines.line" category="inter-field">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018')
            return true

if (line.phase1RadiationTreatmentModality == '00' || line.phase1RadiationTreatmentModality == '99')
    return line.rxDateRadiationDay == null && line.rxDateRadiationMonth == null && line.rxDateRadiationYear == null

if (line.rxDateRadiationDay != null || line.rxDateRadiationMonth != null || line.rxDateRadiationYear != null)
    return Functions.matches(line.phase1RadiationTreatmentModality, /^0[1-9]|1[0-6]|98$/)

return true
            ]]></expression>
            <message>Phase I Radiation Treatment Modality conflicts with RX Date Radiation</message>
            <description><![CDATA[This edit is skipped if any Diagnosis date before 2018, blank (unknown), or invalid

1. If Phase I Radiation Treatment Modality = 00 (no radiation) or 99 (unknown if radiation)
RX Date Radiation must = blank.

2. If RX Date Radiation is not blank, (radiation therapy administered), then Phase
I Radation Treatment Modality must equal 01-16,98 (treatment modalities).]]></description>
            <history>
                <event version="SE18-018-02" user="schadega" date="2018-05-29" ref="67793">Edit created.</event>
                <event version="SE18-018-03" user="kirbyk" date="2018-07-20" ref="67961">Removed unnecessary dependency.</event>
                <event version="SE18-018-05" user="schadega" date="2018-08-14" ref="67993">Edit name change.</event>
                <event version="SE18-018-05" user="kirbyk" date="2018-08-15" ref="68017">Changed edit to use Radiation Date year field instead of the full date field.</event>
                <event version="SE21-021-09" user="secristc" date="2021-09-14" ref="68750">Added condition to skip edit for DX year before 2018.</event>
                <event version="SE22-022-09" user="secristc" date="2022-08-10" ref="69020">Updated edit logic to use RX Date Radiation</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy