edits.seer.internal.rules.IFN2743.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="IFN2743" name="Lymphocytosis, Date DX (NAACCR)" tag="N2743" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null) return true if (line.dateOfDiagnosisYear < '2018' && line.lymphocytosis != null) return false if (line.primarySite == 'C421') return line.lymphocytosis == null || Functions.matches(line.lymphocytosis, /^[01679]$/) else return line.lymphocytosis == null || line.lymphocytosis == '5']]></expression> <message>Lymphocytosis value 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 Lymphocytosis code or blank: 0: Lymphocytosis not present Absolute lymphocyte count <= 5,000 cells/microliter 1: Lymphocytosis present Absolute lymphocyte count > 5,000 cells/microliter 5: Not applicable: Primary site is not C421 6: Lab value unknown, physician states lymphocytosis is present Physician states Rai Stage 0-IV 7: Test done, results not in chart 9: Not documented in medical record Lymphocytosis not assessed or unknown if assessed No Rai Stage is documented in the record and there is no documentation of lymphocytosis 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, Lymphocytosis, 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-03" user="kirbyk" date="2018-07-10" ref="67902">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-21" ref="68854">Added logic for code 5</event> </history> </rule>