edits.seer.internal.rules.IFN2694.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="IFN2694" name="Microsatellite Instability (MSI), Date DX (NAACCR)" tag="N2694" 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.microsatelliteInstability == null return line.microsatelliteInstability == null || Functions.matches(line.microsatelliteInstability, /^[01289]$/)]]></expression> <message>Microsatellite Instability (MSI) 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 Microsatellite Instability (MSI) code or blank: 0: Microsatellite instability (MSI) stable; microsatellite stable (MSS); negative, NOS AND/OR Mismatch repair (MMR) intact, no loss of nuclear expression of MMR proteins MMR proficient (pMMR or MMR-P) 1: MSI unstable low (MSI-L) 2: MSI unstable high (MSI-H) AND/OR MMR deficient (dMMR or MMR-D), (loss of nuclear expression of one or more MMR proteins 8: Not applicable: Information not collected for this case 9: Not documented in medical record MSI indeterminate MSI equivocal Microsatellite Instability (MSI) not assessed or unknown if assessed Another edit, Microsatellite Instability (MSI), 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-12" ref="67873">Edit created.</event> <event version="SE18-018-06" user="kirbyk" date="2018-08-24" ref="68026">Changed error message.</event> <event version="SE18-020-05" user="beverung" date="2020-07-27" ref="68433">Update descriptions for codes 0 and 2.</event> <event version="SE22-022-01" user="secristc" date="2022-01-28" ref="68878">Update descriptions for code 9.</event> </history> </rule>