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

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

There is a newer version: 024-13
Show newest version
        <rule id="IFN3087" name="Grade, Ovary/PPC/FT, Behavior ICD-O-3 (NAACCR)" tag="N3087" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis">
            <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || !Functions.matches(line.schemaId, /^0055[123]$/) || line.behaviorCodeIcdO3 == null)
    return true

if (line.gradeClinical == null && line.gradePathological == null)
    return true 

return !['2', '3'].contains(line.behaviorCodeIcdO3) || (line.gradeClinical != 'B' && line.gradePathological != 'B')]]></expression>
            <message>Grade Clinical or Grade Pathological value not valid for this Behavior Code ICD-O-3</message>
            <description><![CDATA[This edit verifies that Grade Clinical and Grade Pathological are coded consistently with Behavior ICD-O-3
for Ovary, Primary Peritoneal Carcinoma, and Fallopian Tube.

1. The edit is skipped for the following conditions:
    a. Date of Diagnosis before 2018, blank (unknown), or invalid.
    b. Schema ID is not 00551, 00552, or 00553.
    c. Grade Clinical and Grade Pathological are both blank.
    d. Behavior ICD-O-3 is blank

2. The edit verifies that if Behavior ICD-O-3 = 2 (in situ) or 3 (invasive),
    both Grade Clinical and Grade Pathological must not = "B" (borderline tumor).]]></description>
            <history>
                <event version="SE18-018-03" user="schadega" date="2018-07-09" ref="67926">Edit created.</event>
                <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event>
                <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68299">Added 9 as valid value for grade.</event>
                <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68402">Remove Grade Post Therapy and update logic for Behavior ICD-O-3 and Grade Clinical/Grade Pathological.</event>
                <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event>
            </history>
        </rule>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy