edits.seer.internal.rules.IF26E98_3_P12.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="IF26E98_3_P12" name="EOD--Extension Prost Path, Prim Site, ICDO3 (NAACCR)" tag="N0474" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,IF26E98_3_P1,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.codingSystemForEod != '4' || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '1998' || (line.histologicTypeIcdO3 == null && line.behaviorCodeIcdO3 == null)) return true if (line.primarySite != 'C619') return line.eodExtensionProstPath == null else if (line.histologicTypeIcdO3 < '9590' && line.histologicTypeIcdO3 != '9140') { if (line.eodExtensionProstPath == null) return false if (line.typeOfReportingSource == '7' && line.eodExtensionProstPath != '90') return false if (line.behaviorCodeIcdO3 == '2' && !(line.eodExtensionProstPath == '00' || line.eodExtensionProstPath == '99')) return false if (line.behaviorCodeIcdO3 == '3' && !Functions.matches(line.eodExtensionProstPath, /^(2[03]|3[0-4]|4[0-358]|[567]0|85|9[089])$/)) return false } return true]]></expression> <message>Primary Site and EOD--extension prost path 98+ ICD-O-3 conflict</message> <description><![CDATA[This edit is skipped for the following conditions 1) Eod Coding System is not equal 4 2) Year of Diagnosis is < 1998 or null 3) ICDO3 Histology and ICDO3 Behavior are null If Primary Site is not = C619 then Pathologic Prostate Extension must be blank. If Primary site = C619 and ICDO3 Histology is < 9590 and not 9140 then apply the following checks 1) Pathologic Prostate Extension cannot be blank 2) If Type Of Reporting Source = 7, Pathologic Prostate Extension must be 90 3) If ICDO3 Behavior = 2, Pathologic Prostate Extension must be 00, 99 4) If ICDO3 Behavor =3, Pathologic Prostate Extension must be 20, 23, 30-34, 40-43, 45, 48, 50, 60, 70, 85, 90, 98, 99]]></description> <history> <event version="SE11-001-16" user="greend" date="2002-04-15">Tables modified to allow the following extensions for Breast (C50.0 - C50.9): 11,13-18,21,23-28,31,33-38.</event> <event version="SE11-001-18" user="greend" date="2004-07-29">For site C77.8 the EOD--extension field cannot be 10 or 11.</event> <event version="SE12-002-01" user="murphyr" date="2009-12-29">Edit is no longer skipped if year of diagnosis is 9-filled. Instead it is skipped if year of diagnosis is blank.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-018-02" user="schadega" date="2018-05-17" ref="67760">Name change.</event> <event version="SE18-019-03" user="beverung" date="2019-07-25" ref="68231">Update description and logic.</event> <event version="SE18-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit tag changed.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>