edits.seer.internal.rules.IFN6180.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="IFN6180" name="EOD Primary Tumor, Urinary, Histology ICDO3, Behavior ICDO3 (SEER)" tag="N6180" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.eodPrimaryTumor == null) return true if (line.typeOfReportingSource == '7' || line.schemaId == null || !['00610','00620','00631','00633'].contains(line.schemaId)) return true if (line.behaviorCodeIcdO3 == null || line.histologicTypeIcdO3 == null) return true return line.eodPrimaryTumor != '000' || (line.behaviorCodeIcdO3 == '2' && ['8130','8131'].contains(line.histologicTypeIcdO3))]]></expression> <message>EOD Primary Tumor conflicts with Histologic Type ICD-O-3 and/or Behavior Code ICD-O-3</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Histologic Type ICD-O-3 codes for papillary carcinomas and Behavior Code ICD-O-3 for Schema IDs 00610 Kidney Renal Pelvis, 00620 Bladder, 00631 Urethra, 00633 Urethra Prostatic. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00610, 00620, 00631, 00633 c. EOD Primary Tumor is blank d. Histologic Type ICD-O-3 is blank e. Behavior Code ICD-O-3 is blank f. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 000 (papillary non-invasive) then Behavior Code ICD-O-3 must = 2 (in situ) and Histologic Type ICD-O-3 must = 8130 or 8131 (papillary or micropapillary transitional cell carcinoma)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy