edits.seer.internal.rules.IFN6190.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="IFN6190" name="EOD Primary Tumor, Penis, Morphology ICDO3 (SEER)" tag="N6190" 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 || line.schemaId != '00570') return true if (line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null) return true String morphTypebehavIcdO3 = line.histologicTypeIcdO3 + line.behaviorCodeIcdO3 return line.eodPrimaryTumor != '070' || morphTypebehavIcdO3 == '80513']]></expression> <message>EOD Primary Tumor/Morphology conflict for Penis</message> <description><![CDATA[This edit verifies that EOD Primary Tumor is coded consistently with Histologic Type ICD-O-3 and Behavior Code ICD-O-3 for verrucous carcinoma for Schema ID 00570, Penis. 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 00570 d. EOD Primary Tumor is blank e. Histologic Type ICD-O-3 or Behavior Code ICD-O-3 is blank f. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 070 (verrucous carcinoma) then Histologic Type ICD-O-3 and Behavior Code ICD-O-3 must = 80513 (verrucous carcinoma)]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-03-25" ref="68606">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> <event version="SE23-023-01" user="cooki" date="2023-01-27" ref="69113">Updated description with Histologic Type and Behavior Code</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy