edits.seer.internal.rules.IFN2745.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="IFN2745" name="Thrombocytopenia, Date DX (NAACCR)" tag="N2745" 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.thrombocytopenia == null else if (line.primarySite == 'C421') return line.thrombocytopenia == null || Functions.matches(line.thrombocytopenia, /^[01679]$/) else return line.thrombocytopenia == null || line.thrombocytopenia == '5']]></expression> <message>Thrombocytopenia 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 Thrombocytopenia code or blank: 0: Thrombocytopenia not present Platelets (Plt) >= 100,000/microliter Physician states Rai Stage 0-III 1: Thrombocytopenia present Platelets (Plt) < 100,000/microliter 5: Not applicable: Primary site is not C421 6: Lab value unknown, physician states thrombocytopenia is present Physician states Rai Stage IV 7: Test done, results not in chart 9: Not documented in medical record Thrombocytopenia not assessed or unknown if assessed No Rai Stage is documented in the record and there is no documentation of thrombocytopenia 3. Code 5 must be used if primary site not C421 4. Codes 0, 1, 6, 7, and 9 must be used if primary site = C421 Another edit, Thrombocytopenia, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter. The data item is required for AJCC staging and EOD Derived Stage Group.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-11" ref="67904">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-27" ref="68860">Added logic for code 5.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy