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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN4928" name="PhI, II, III Radiation Treatment Modality (SEER)" tag="N4928" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018')
    return true

if (line.phase1RadiationTreatmentModality == null && line.phase2RadiationTreatmentModality == null && line.phase3RadiationTreatmentModality == null)
    return true

if (line.phase2RadiationTreatmentModality != null && line.phase1RadiationTreatmentModality == null)
    return false

if (line.phase1RadiationTreatmentModality == '00' && line.phase2RadiationTreatmentModality != null && line.phase2RadiationTreatmentModality != '00')
    return false

if (line.phase3RadiationTreatmentModality != null && line.phase2RadiationTreatmentModality == null)
    return false

if (line.phase2RadiationTreatmentModality == '00' && line.phase3RadiationTreatmentModality != null && line.phase3RadiationTreatmentModality != '00')
    return false

return true]]></expression>
            <message>PhI, II, III Radiation Treatment Modality conflict.</message>
            <description><![CDATA[This edit checks that Phase I Radiation Treatment Modality, Phase II Radiation
Treatment Modality, and Phase III Radiation Treatment Modality are coded
consistently with each other.

1.  The edit is skipped for any of the following conditions:
    a. Phase I Radiation Treatment Modality, Phase II Radiation Treatment
       Modality, and Phase III Radiation Treatment Modality are all blank.
    b. Diagnosis date pre-2018, blank (unknown), or invalid.

2.  If Phase II Radiation Treatment Modality is not blank, then Phase I Radiation
    Treatment Modality cannot be blank.

3.  If Phase I Radiation Treatment Modality = 00 (no radiation given), Phase II
    Radiation Treatment Modality must = 00 or blank

4.  If Phase III Radiation Treatment Modality is not blank, Phase II Radiation
    Treatment Modality cannot be blank.

5.  If Phase II Radiation Treatment Modality = 00 (no radiation given), Phase III
    Radiation Treatment Modality must = 00 or blank]]></description>
            <history>
                <event version="SE18-018-05" user="kirbyk" date="2018-08-15" ref="68012">Edit created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy