edits.seer.internal.rules.IFN2990.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="IFN2990" name="Microsatellite Instability (MSI), Schema ID, Required (NAACCR)" tag="N2990" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear <= '2017' || line.schemaId == null || line.typeOfReportingSource == '7') return true return line.schemaId != '00200' || (line.microsatelliteInstability != '8' && line.microsatelliteInstability != null)]]></expression> <message>Microsatellite Instability (MSI) must not be blank or not applicable for cases with this Schema ID diagnosed 2018 and later</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2018, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) 2. This edit verifies that Microsatellite Instability (MSI) is not "8" (not applicable) and not blank for the Schema IDs for which it is required by a standard setter. Required for Schema ID: 00200: Colon and Rectum]]></description> <history> <event version="SE18-018-03" user="kirbyk" date="2018-07-12" ref="67873">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-15" ref="68009">Added DCO skip condition.</event> </history> </rule>