edits.seer.internal.rules.IFN2893.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="IFN2893" name="Invasion Beyond Capsule, Date DX (NAACCR)" tag="N2893" 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.invasionBeyondCapsule == null return line.invasionBeyondCapsule == null || Functions.matches(line.invasionBeyondCapsule, /^[0-589]$/)]]></expression> <message>Invasion Beyond Capsule 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 Invasion Beyond Capsule code or blank: 0: Invasion beyond capsule not identified 1: Perinephric (beyond renal capsule) fat or tissue 2: Renal sinus 3: Gerota's fascia 4: Any combination of codes 1-3 5: Invasion beyond capsule, NOS 8: Not applicable: Information not collected for this case 9: Not documented in medical record Invasion Beyond Capsule not assesssed or unknown if assessed No surgical resection of primary site is performed Another edit, Invasion Beyond Capsule, 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-10" ref="67910">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>