edits.seer.internal.rules.IFN2744.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="IFN2744" name="Organomegaly, Date DX (NAACCR)" tag="N2744" 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.organomegaly == null if (line.primarySite == 'C421') return line.organomegaly == null || Functions.matches(line.organomegaly, /^[019]$/) else return line.organomegaly == null || line.organomegaly == '5']]></expression> <message>Organomegaly 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 Organomegaly code or blank: 0: Organomegaly of liver and/or spleen not present Physician statges Rai Stage 0-I 1: Organomegaly of liver and/or spleen present Physician statges Rai Stage II 5: Not applicable: Primary site is not C421 9: Not documented in medical record Organomegaly not assessed or unknown if assessed No Rai Stage is documented in the record and there is no documentation of organomegaly Physician states Rai Stage III-IV and there is no documentation of organomegaly 3. Code 5 must be used if primary site not C421 4. Codes 0, 1, and 9 must be used if primary site = C421 Another edit, Organomegaly, 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-11" ref="67903">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-26" ref="68855">Added logic for organomegaly code 5, primary site.</event> </history> </rule>