edits.seer.internal.rules.IFN2668.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.
The newest version!
<rule id="IFN2668" name="Microvascular Density, Date DX (NAACCR)" tag="N2668" 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.microvascularDensity == null return line.microvascularDensity == null || Functions.matches(line.microvascularDensity, /^X[1-5789]|\d\d$/)]]></expression> <message>Microvascular Density 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 Microvascular Density code or blank: 00: No vessels involved 01-99: 01-99 vessels per 0.3 square millimeter (mm2) X1: Greater than or equal to 100 vessels per 0.3 square millimeter (mm2) X2: Lowest quartile for laboratory X3: Second quartile for laboratory X4: Third quartile for laboratory X5: Highest quartile for laboratory X7: Test ordered, results not available X8: Not applicable: Information not collected for this case X9: Not documented in medical record Microvascular Density not assessed or unknown if assessed 3. Numeric value must be right-justified and zero-filled. Another edit, Measured Thickness, 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-04" user="smithm" date="2018-08-01" ref="67854">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> </history> </rule>