edits.seer.internal.rules.IFN6093.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of validation-edits-seer Show documentation
Show all versions of validation-edits-seer Show documentation
Java implemenation of the SEER edits.
<rule id="IFN6093" name="Grade Post Therapy, Gleason Patterns Pathological (NAACCR)" tag="N6093" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.schemaId != '00580' || line.gradePostTherapy == null) return true if (line.gleasonPatternsPathological == null || line.gleasonPatternsPathological == 'X8') return true return line.gradePostTherapy == '9' || line.gleasonPatternsPathological == 'X9']]></expression> <message>Gleason Patterns Pathological conflicts with Grade Post Therapy.</message> <description><![CDATA[This edit verifies that Gleason Patterns Pathological, is coded consistently with Grade Post Therapy. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2019, blank (unknown), or invalid. b. Schema ID is not 00580 c. Gleason Patterns Pathological is blank or not applicable. d. Grade Post Therapy is blank. 2. If Grade Post Therapy is not 9, Then Gleason Patterns Pathological must = X9]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-04-05" ref="68155">Edit created.</event> </history> </rule>