edits.seer.internal.rules.IFN6374.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="IFN6374" name="HER2 Overall Summary, Esophagus, Schema ID, Required (NAACCR)" tag="N6374" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (line.schemaId == '00169') return line.her2OverallSummary != null return true]]></expression> <message>HER2 Overall Summary must not be blank or not applicable for Esophagus for cases 2021+</message> <description><![CDATA[1. The edit is skipped for any of the following conditions: a. Date of Diagnosis pre-2021, blank (unknown), or invalid. b. Schema ID is blank. c. Type of Reporting Source = 7 (Death Certificate Only) 2. This edit verifies that HER2 Overall Summary is coded (not blank) for the Schema IDs for which it is required by a standard setter. Required for Schema ID starting with 2021 diagnoses: 00169: Esophagus]]></description> <history> <event version="SE21-021-04" user="secristm" date="2021-03-23" ref="68626">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> </history> </rule>