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

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

The newest version!
        <rule id="IF44" name="RX Summ--Surgery Type, Radiation (SEER IF44)" tag="N0227" java-path="lines.line" category="inter-field" depends="RX_Summ--Surgery_Type">
            <expression><![CDATA[if (line.rxSummSurgeryType == null)
    return true

if (Functions.matches(line.rxSummSurgeryType, /^[1-9]\d$/) && (Functions.matches(line.rxSummRadiation, /^[1-6]$/) || line.rxSummRadToCns == '1'))
    return Functions.matches(line.rxSummSurgRadSeq, /^[2-69]$/)

if (line.rxSummSurgeryType < '10' || line.rxSummRadiation == '0')
    return line.rxSummSurgRadSeq == '0'

return true]]></expression>
            <message>RX Summ--Surgery Type, Rx Summ--Radiation, RX Summ--Surg/Rad Seq conflict</message>
            <description><![CDATA[If cancer-directed surgery was performed (RX Summ--Surgery Type > 09), and if radiation was given (RX Summ--Radiation = 1-6 or RX Summ--Rad to CNS = 1)
    then RX Summ--Surg/Rad Seq must specify sequence (codes 2-9).

If no cancer directed surgery or no radiation,
    then RX Summ--Surg/Rad Seq must specify no (0).]]></description>
            <history>
                <event version="SE11-001-04" user="greend" date="1988-05-25">Additional codes made valid due to 1988 SEER record changes.</event>
                <event version="SE11-001-07" user="greend" date="1991-09-15">Radiaton code values indicating Radiation therapy performed, were changed from 1-6 to 1-5.</event>
                <event version="SE11-001-11" user="greend" date="1995-10-01">Radiation code values indicating Radiation therapy performed were changed from 1-5 to 1-6.</event>
                <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event>
                <event version="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed several dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy