edits.seer.internal.rules.IFN6076.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="IFN6076" name="EOD Mets, Type of Reporting Source (SEER)" tag="N6076" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.eodMets == null || line.typeOfReportingSource == null) return true return line.eodMets != '99' || line.typeOfReportingSource == '7']]></expression> <message>If EOD Mets = 99, Type of Reporting Source must = 7, Death Certificate Only.</message> <description><![CDATA[This edit verifies that EOD Mets is coded 99 (unknown) only for Death Certificate Only cases (Type of Reporting Source = 7). 1. This edit is skipped if any of the following conditions is true: a. Year of Date of Diagnosis is less than 2019, blank (unknown), or invalid b. EOD Mets is blank c. Type of Reporting Source is blank 2. If EOD Mets = 99, Type of Reporting Source must = 7 (Death Certificate Only).]]></description> <history> <event version="SE18-019-01" user="kirbyk" date="2019-03-29" ref="68148">Edit created.</event> </history> </rule>