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

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

The newest version!
    <rule id="IFN7061" name="Neoadjuvant Therapy, Clinical Response (SEER)" tag="N7061" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2024' || line.neoadjuvantTherapy == null || line.neoadjuvTherapyClinicalResponse == null)
    return true

if (line.neoadjuvantTherapy == '0' || line.neoadjuvantTherapy == '3')
    return line.neoadjuvTherapyClinicalResponse == '0'
if (line.neoadjuvantTherapy == '1' || line.neoadjuvantTherapy == '2')
    return Functions.matches(line.neoadjuvTherapyClinicalResponse, /^[1-8]$/)
if (line.neoadjuvantTherapy == '9')
    return line.neoadjuvTherapyClinicalResponse == '9'

return true]]></expression>
            <message>Neoadjuvant Therapy conflicts with Neoadjuvant Therapy-Clinical Response</message>
            <description><![CDATA[This edit enforces consistency of coding between Neoadjuvant Therapy and Neoadjuvant Therapy-Clinical Response

1. The edit is skipped for any of the following:
    a. Diagnosis date blank (unknown), invalid, or pre-2024.
    b. Neoadjuvant Therapy is blank.
    c. Neoadjuvant Therapy-Clinical Response is blank
    
2. If Neoadjuvant Therapy = 0 (no neoadjuvant therapy) or 3 (limited, no neoadjuvant intent), 
    Neoadjuvant Therapy-Clinical Response must = 0 (Neoadjuvant therapy not given)

3. If Neoadjuvant Therapy = 1 (therapy completed) or 2 (therapy started but not completed),
    Neoadjuvant Therapy- Clinical Response must = 1-8 (therapy done, levels of response described or unknown)

4. If Neoadjuvant Therapy = 9 (unknown if performed),
    Neoadjuvant Therapy-Clinical Response must = 9 (unknown if performed)]]></description>
            <history>
                <event version="SE24-024-03" user="cooki" date="2024-03-18" ref="69437">Edit Created.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy