edits.seer.internal.rules.IFN2749.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="IFN2749" name="High Risk Cytogenetics, Date DX (NAACCR)" tag="N2749" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018') return line.highRiskCytogenetics == null return line.highRiskCytogenetics == null || Functions.matches(line.highRiskCytogenetics, /^[01579]$/)]]></expression> <message>High Risk Cytogenetics 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 High Risk Cytogenetics code or blank: 0: High risk cytogenetics not identified/not present 1: High risk cytogenetics present 5: Schema Discriminator 1: Plasma Cell Myeloma Terminology coded to 1 or 9 7: Test done, results not in chart 9: Not documented in medical record; High Risk Cytogenetics not assessed or unknown if assessed Another edit, High Risk Cytogenetics, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. This data item is required for AJCC staging and EOD Derived Stage Group.]]></description> <history> <event version="SE18-018-04" user="smithm" date="2018-08-06" ref="67907">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE22-022-01" user="secristc" date="2022-01-20" ref="68851">Added logic for code 5.</event> </history> </rule>