edits.seer.internal.rules.IFN6105.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="IFN6105" name="Grade Post Therapy, Gleason Score Pathological, Tertiary Pattern (NAACCR)" tag="N6105" 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') && (line.gleasonTertiaryPattern == null || line.gleasonTertiaryPattern == 'X8')) return true if (line.gradePostTherapy != '9') { if (line.gleasonPatternsPathological != null && line.gleasonPatternsPathological != 'X8' && line.gleasonPatternsPathological != 'X9') return false if (line.gleasonTertiaryPattern != null && line.gleasonTertiaryPattern != 'X8' && line.gleasonTertiaryPattern != 'X9') return false } return true]]></expression> <message>Grade Post Therapy Path (yp) conflicts with Gleason Score Pathological</message> <description><![CDATA[This edit verifies that Gleason Score Pathological and Tertiary Pattern are coded consistently with Grade Post Therapy Path (yp). 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 Score Pathological and Gleason Tertiary Pattern are both blank or not applicable. d. Grade Post Therapy Path (yp) is blank. 2. If Grade Post Therapy Path (yp) is not 9, Then Gleason Score Pathological if not blank or X8 must = X9, and Gleason Tertiary Pattern if not blank or X8 must = X9.]]></description> <history> <event version="SE22-022-05" user="secristc" date="2022-05-04" ref="68938">Edit created.</event> </history> </rule>