edits.seer.internal.rules.IFN6829.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="IFN6829" name="EOD Primary Tumor, Stomach, Morphology ICDO3 (SEER)" tag="N6829" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2018' || line.dateOfDiagnosisYear == null || line.schemaId != '00170' || line.schemaId == null || line.eodPrimaryTumor == null || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7') return true if (line.histologicTypeIcdO3 == '8142' && line.behaviorCodeIcdO3 == '3') return ['400','500','600','650','700','750'].contains(line.eodPrimaryTumor) return true]]></expression> <message>Histo/Beh conflict with EOD Primary Tumor</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Histologic Type ICD-O-3 code for linitis plastica for Schema ID 00170, Stomach. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2018, blank (unknown), or invalid. b. Schema ID is blank or not 00170 c. EOD Primary Tumor is blank d. Histologic Type ICD-O-3 is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If Histologic Type ICD-O-3 = 8142/3 (linitis plastica), EOD Primary Tumor must = 400 (linitis plastica with no other information on tumor) or higher (500, 600, 650, 700, 750)]]></description> <history> <event version="SE23-023-04" user="cooki" date="2023-06-14" ref="69230">Edit created.</event> </history> </rule>