edits.seer.internal.rules.IFN2890.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="IFN2890" name="Ipsilateral Adrenal Gland Involvement, Date DX (NAACCR)" tag="N2890" 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.ipsilateralAdrenalGlandInvolve == null return line.ipsilateralAdrenalGlandInvolve == null || Functions.matches(line.ipsilateralAdrenalGlandInvolve, /^[0-489]$/)]]></expression> <message>Ipsilateral Adrenal Gland 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 Ipsilateral Adrenal Gland Involvement code or blank: 0: Ipsilateral adrenal gland involvement not present/not identified 1: Adrenal gland involvement by direct involvement (contiguous involvement) 2: Adrenal gland involvement by separate nodule (noncontiguous involvement) 3: Combination of codes 1-2 4: Ipsilateral adrenal gland involvement, unknown if direct involvement or separate nodule 8: Not applicable: Information not collected for this case 9: Not documented in medical record Ipsilateral adrenal gland not resected Ipsilateral adrenal gland involvement not assessed or unknown if assessed No surgical resection of primary site is performed Another edit, Ipsilateral Adrenal Gland 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="schadega" date="2018-07-24" ref="67909">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>