edits.seer.internal.rules.IFN2856.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="IFN2856" name="Esophagus and EGJ Tumor Epicenter, Schema ID, Required (NAACCR)" tag="N2856" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.schemaId == null || line.typeOfReportingSource == '7') return true if (['0000001565','0000001566'].contains(line.registryId) && line.dateOfDiagnosisYear > '2017' && line.dateOfDiagnosisYear < '2022') return true return line.schemaId != '00161' || line.esophagusAndEgjTumorEpicenter != null]]></expression> <message>Esophagus and EGJ Tumor Epicenter must not be blank 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) d. Registry ID = 0000001565 (Illinois) or 0000001566 (Texas) and Year of Diagnosis = 2018-2021 2. This edit verifies that Esophagus and EGJ Tumor Epicenter is coded (not blank) for the Schema IDs for which it is required by a standard setter. The data item is required for AJCC staging and EOD Derived Stage Group. Required for Schema ID: 00161: Esophagus and Esophagus GE Junction (Squamous)]]></description> <history> <event version="SE18-018-03" user="schadega" date="2018-07-18" ref="67893">Edit created.</event> <event version="SE18-018-05" user="schadega" date="2018-08-14" ref="68003">Added DCO skip condition</event> <event version="SE21-021-09" user="beverung" date="2021-08-26" ref="68721">Add skip conditions for IL and TX for DX Years 2018-2020.</event> <event version="SE22-022-03" user="secristc" date="2022-04-20" ref="68955">Update skip conditions for IL and TX to DX Years 2018-2021.</event> </history> </rule>