edits.seer.internal.rules.IFN2708.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="IFN2708" name="Gleason Patterns Pathological, Date DX (NAACCR)" tag="N2708" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.gleasonPatternsPathological != null) return false return line.gleasonPatternsPathological == null || Functions.matches(line.gleasonPatternsPathological, /^X[6-9]|[1-5][1-59]$/)]]></expression> <message>Gleason Patterns Pathological is not valid for Date DX</message> <description><![CDATA[The edit is skipped if Date of Diagnosis is blank (unknown), or invalid. 1. This data item must be blank for pre-2018 diagnoses. 2. Must be a valid Gleason Patterns Pathological code or blank: 11: Primary pattern 1, secondary pattern 1 12: Primary pattern 1, secondary pattern 2 13: Primary pattern 1, secondary pattern 3 14: Primary pattern 1, secondary pattern 4 15: Primary pattern 1, secondary pattern 5 19: Primary pattern 1, secondary pattern unknown 21: Primary pattern 2, secondary pattern 1 22: Primary pattern 2, secondary pattern 2 23: Primary pattern 2, secondary pattern 3 24: Primary pattern 2, secondary pattern 4 25: Primary pattern 2, secondary pattern 5 29: Primary pattern 2, secondary pattern unknown 31: Primary pattern 3, secondary pattern 1 32: Primary pattern 3, secondary pattern 2 33: Primary pattern 3, secondary pattern 3 34: Primary pattern 3, secondary pattern 4 35: Primary pattern 3, secondary pattern 5 39: Primary pattern 3, secondary pattern unknown 41: Primary pattern 4, secondary pattern 1 42: Primary pattern 4, secondary pattern 2 43: Primary pattern 4, secondary pattern 3 44: Primary pattern 4, secondary pattern 4 45: Primary pattern 4, secondary pattern 5 49: Primary pattern 4, secondary pattern unknown 51: Primary pattern 5, secondary pattern 1 52: Primary pattern 5, secondary pattern 2 53: Primary pattern 5, secondary pattern 3 54: Primary pattern 5, secondary pattern 4 55: Primary pattern 5, secondary pattern 5 59: Primary pattern 5, secondary pattern unknown X6: Prostatectomy done, primary pattern unknown, secondary pattern unknown X7: No prostatectomy/autopsy performed X8: Not applicable: Information not collected for this case X9: Not documented in medical record Gleason Patterna Pathological not assessed or unknown if assessed Unknown if prostatectomy done Another edit, Gleason Patterns Pathological, Schema ID, Required (NAACCR), checks that the item is coded correctly by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-16" ref="67883">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-24" ref="68396">Update X6 and X9 descriptions.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy