edits.seer.internal.rules.IF26E98_3_P9.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_P9" name="EOD--Reg Nodes Ex,ReNodes Pos, Site, ICDO3 (NAACCR)" tag="N0461" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,IF26E98_3_P1,IF26E98_3_P7,IF26E98_3_P8,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '1998' || line.dateOfDiagnosisYear > '2003' || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == null || line.typeOfReportingSource == '7' || (line.registryId == '0000001544' && line.dateOfDiagnosisYear < '2000')) return true if (Functions.matches(line.histologicTypeIcdO3, /^9(59\d|6\d\d|7(0[2-9]|[12]\d|3[1-4]|4\d|5[0-8]|[6789]\d)|8\d\d|9[0-8]\d)$/) && !(line.regionalNodesPositive == '99' && line.regionalNodesExamined == '99')) return false if (Functions.matches(line.primarySite, /^C(42\d|7(0[019]|1\d|2[0-589]|6[0-578]|7\d)|809)$/) && line.histologicTypeIcdO3 != '9140' && !(line.regionalNodesPositive == '99' && line.regionalNodesExamined == '99')) return false if (line.behaviorCodeIcdO3 == '2' && !(line.regionalNodesPositive == '00' || line.regionalNodesPositive == '98')) return false if (line.regionalNodesExamined == '00' && line.regionalNodesPositive != '98') return false if (Functions.matches(line.regionalNodesExamined, /^0[1-9]|[1-8]\d$/) && !(line.regionalNodesPositive == '97' || line.regionalNodesPositive == '99' || line.regionalNodesPositive <= line.regionalNodesExamined)) return false if (Functions.matches(line.regionalNodesExamined, /^9[0678]$/) && !(Functions.matches(line.regionalNodesPositive, /^[0-8]\d|9[079]$/))) return false if (line.regionalNodesExamined == '99' && line.regionalNodesPositive != '99') return false if (line.regionalNodesPositive == '97' && !Functions.matches(line.regionalNodesExamined, /^0[2-9]|[1-8]\d|9[0-8]$/)) return false if (Functions.matches(line.regionalNodesPositive, /^[0-8]\d|9[0-6]$/) && line.regionalNodesPositive > line.regionalNodesExamined) return false return true]]></expression> <message>Primary Site,Regional nodes positive, Regional nodes examined 98+ ICD-O-3 conflict</message> <description><![CDATA[This is edit is skipped if any of the following conditions are true 1) Year of Diagnosis < 1998 or > 2003 or invalid or blank 2) ICDO3 Histology is blank 3) ICDO3 Behavior is blank 4) Type of Reporting source = 7 (DCO) 5) Registry is New Jersey and Year of Diagnosis < 2000 For the following sites and histologies (ICD-O-3), Regional Nodes Positive and Regional Nodes Examined must both be coded '99'. 1. Hematopoietic: 9731-9734, 9740-9758, 9760-9989 2. Lymphomas: 9590-9699, 9702-9729 3. Brain (except for histology 9140 (Kaposi sarcoma)): C700, C710-C719 4. Other CNS (except for histology 9140 (Kaposi sarcoma)): C701, C709, C720-C725, C728, C729 5. Other and ill-defined (except for histology 9140 (Kaposi sarcoma)): C420-C429, C760-C765, C767, C768, C770-C779, C809 If ICDO3 Behavior = 2 then, Regional Nodes Positive must be 00 or 98. If Regional Nodes Examined = 00 , Regional Nodes Positive must = 98. If Regional Nodes Examined = 01 - 89, Regional Nodes Positive must = 97 or 99, or be less than or equal to Regional Nodes Examined. If Regional Nodes Examined = 90, 96, 97, or 98, Regional Nodes Positive must = 00 - 90, 97, or 99. If Regional Nodes Examined = 99, then Regional Nodes Positive must = 99. If Regional Nodes Positive = 97 then Regional Nodes Examined but be 02-98. If Regional Nodes Positive = 0-96, then Regional Nodes Positive must be <= Regional Nodes Examined.]]></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-19" ref="68229">Updated logic and behavior.</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>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy