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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN6584" name="Grade Post Therapy Clin (yc), Grade Post Therapy Path (yp) (NAACCR)" tag="N6584" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || Functions.matches(line.schemaId, /^0072[123]|0972[1-4]$/))
    return true
if (line.gradePostTherapyClin == null || line.gradePostTherapyClin == '8' || line.gradePostTherapyClin == '9')
    return true
if (line.gradePostTherapy == null || line.gradePostTherapy == '8' || line.gradePostTherapy == '9')
    return true

Integer gradePostTherapyInt = Functions.asInt(line.gradePostTherapy)
Integer gradePostTherapyClinInt = Functions.asInt(line.gradePostTherapyClin)

if (gradePostTherapyInt != null && gradePostTherapyClinInt != null)
    return gradePostTherapyInt >= gradePostTherapyClinInt

return true]]></expression>
            <message>Grade Post Therapy Path (yp) must not be less than Grade Post Therapy Clin (yc)</message>
            <description><![CDATA[This edit checks that Grade Post Therapy Clin (yc) is used to code Grade Post Therapy Path (yp)
if the grade on clinical pathology is higher than the grade on surgical pathology.


1. This edit is skipped under the following conditions:
    a. Date of diagnosis = pre-2022, blank (unknown) or invalid.
    b. Grade Post Therapy Path (yp) is blank or = 8 or 9.
    c. Grade Post Therapy Clin (yc) is blank or = 8 or 9.
    d. Schema ID = 00721, 00722, 00723, 09721, 09722, 09723, 09724

2. If Grade Post Therapy Path(yp) is numeric and Grade Post
    Therapy Clin (yc) is numeric, Grade Post Therapy Path(yp)
    must not be less than Grade Post Therapy Clin (yc)]]></description>
            <history>
                <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event>
                <event version="SE23-023-01" user="shearerw" date="2023-02-02" ref="69128">Add Schema IDs for skip condition.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy