edits.seer.internal.rules.IFN6575.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="IFN6575" name="Gleason Tertiary Pattern, EOD Prostate Pathologic Extension (SEER)" tag="N6575" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2022' || line.schemaId != '00580') return true if (line.prostatePathologicalExtension == null || line.gleasonTertiaryPattern == null) return true if (line.gleasonTertiaryPattern == 'X7' && line.prostatePathologicalExtension != '900') return false if (line.prostatePathologicalExtension == '900' && line.gleasonTertiaryPattern != 'X7') return false if (line.prostatePathologicalExtension == '950' && line.gleasonTertiaryPattern != 'X9') return false return true]]></expression> <message>EOD Prostate Pathologic Extension conflicts with Gleason Tertiary Pattern</message> <description><![CDATA[This edit verifies that Gleason Tertiary Pattrn is coded consistently with EOD Prostate Pathologic Extension. . 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2022, blank (unknown), or invalid. b. Schema ID is not 00580 c. EOD Prostate Pathologic Extension is blank. d. Gleason Tertiary Pattern is blank 2. If Gleason Tertiary Pattern = X7 (no prostatectomy/autopsy performed) then EOD Prostate Pathologic Extension must = 900 (no prostatectomy or autopsy performed) 3. If EOD Prostate Pathologic Extension = 900 (no prostatectomy or autopsy performed) then Gleason Tertiary Pattern must = X7 (no prostatectomy/autopsy performed) 4. If EOD Prostate Pathologic Extension = 950 (prostatectomy performed but not first course of treatment, then Gleason Tertiary Pattern must = X9 (not documented in medical record, Gleason Tertiary Pattern not assessed or unknown if assessed]]></description> <history> <event version="SE22-022-01" user="beverung" date="2022-03-04" ref="68896">Edit Created</event> <event version="SE22-022-03" user="beverung" date="2022-04-27" ref="68947">Update edit name and remove CoC Accredited Flag.</event> </history> </rule>