edits.seer.internal.rules.IFN2905.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="IFN2905" name="Major Vein Involvement, Date DX (NAACCR)" tag="N2905" 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.majorVeinInvolvement == null return line.majorVeinInvolvement == null || Functions.matches(line.majorVeinInvolvement, /^[0-489]$/)]]></expression> <message>Mejor Vein Involvement 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 Major Vein Involvement code or blank: 0: Major vein involvement not present/not identified 1: Renal vein or its segmental branches 2: Inferior vena cava (IVC) 3: Major vein invasion, NOS 4: Any combination of codes 1-3 8: Not applicable: Information not collected for this case 9: Not documented in medical record Major Vein Involvement not assessed or unknown if assessed No surgical resection of primary site is performed Another edit, Major Vein Involvement, Schema ID, Required (NAACCR), checks that the item is coded by Schema ID if required by a standard setter.]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-11" ref="67911">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>