edits.seer.internal.rules.IF109.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="IF109" name="RX Summ--Scope Reg LN Sur, Site, ICDO3 (SEER IF109)" tag="N0637" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Scope_Reg_LN_Sur,Year_of_Diagnosis"> <expression><![CDATA[if (line.rxSummScopeRegLnSur == null || line.histologicTypeIcdO3 == null || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2017') return true Integer site = Functions.asInt(line.primarySite.substring(1)) Integer hist = Functions.asInt(line.histologicTypeIcdO3) Boolean conditionPrimarySites = ((List)Context.ExceptionSites).contains(site) Boolean condition2A = line.dateOfDiagnosisYear < '2010' && Functions.between(site,770,779) && Functions.between(line.histologicTypeIcdO3,'9590','9729') Boolean condition2B = line.dateOfDiagnosisYear >= '2010' && line.dateOfDiagnosisYear <= '2017' && Functions.between(site,770,779) && ((List)Context.LymphExcepHist2010To2017).contains(hist) Boolean condition3A = line.dateOfDiagnosisYear < '2010' && ((List)Context.ExceptionHistologies).contains(hist) Boolean condition3B = line.dateOfDiagnosisYear >= '2010' && line.dateOfDiagnosisYear <= '2017' && ((List)Context.ExceptionHistologies2010).contains(hist) if (conditionPrimarySites || condition2A || condition2B || condition3A || condition3B) return line.rxSummScopeRegLnSur == '9' return true]]></expression> <message>RX Summ--Scope Reg LN Sur, Primary Site conflict</message> <description><![CDATA[This edit is skipped if RX Summ--Scope Reg LN Sur, Histologic Type ICD-O-3 or Date of Diagnosis is empty. This edit is skipped for diagnosis date > 2017. RX Summ--Scope Reg LN Sur must = 9 for the following: 1. Primaries of the meninges, brain, spinal cord, cranial nerves, other parts of the central nervous system, and intracranial other endocrine(Primary Site = C700-C729, C751-C753, C760-C768, C809) 2. Hodgkin and non-Hodgkin lymphoma with a lymph node primary site: A. If year of Date of Diagnosis < 2010: If Histologic Type ICD-O-3 = 9590-9729 AND Primary Site = C770-C779 B. If year of Date of Diagnosis is 2010-2017: If Histologic Type ICD-O-3 = 9590-9726, 9728-9732, 9734-9740, 9750-9762, 9811-9831, 9940, 9948, 9971 AND Primary Site = C770-C779 3. Hematopoietic, reticuloendothelial, immunoproliferative, or myeloproliferative disease: For all sites: A. If year of Date of Diagnosis < 2010: If Histologic Type ICD-O-3 = [9750, 9760-9764, 9800-9820, 9826, 9831-9920, 9931-9964, 9980-9989] B. If year of Date of Diagnosis is 2010-2017: If Histologic Type ICD-O-3 = [9727, 9733, 9741-9742, 9764-9809, 9832, 9840-9931, 9945-9946, 9950-9967, 9975-9992] C. If Primary Site = C420, C421, C423, or C424]]></description> <history> <event version="SE11-001-22" user="greend" date="2008-03-15">Added intracranial other endocrine (C751-C753) to list of primary sites that require Summ--Scope Reg LN Sur to equal 9.</event> <event version="SE12-002-01" user="murphyr" date="2010-01-27">Hematopoietic range expanded from 9989 to 9992.</event> <event version="SE12-002-01" user="murphyr" date="2010-04-20">Edit modified to account for additional Hematopoietic histologies beginning with 2010 diagnosis.</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-018-05" user="schadega" date="2018-08-14" ref="68000">Restrict years for conditions 2B, 3 and 4B.</event> <event version="SE18-019-01" user="kirbyk" date="2019-03-28" ref="68162">Added skip condition for DX Year > 2018.</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="SE18-020-03" user="beverung" date="2020-04-23" ref="68335">Added condition 2C and added context lists for condition 2 histologies.</event> <event version="SE22-022-06" user="secristc" date="2022-05-24" ref="69001">Edit updated to no longer run for 2018 - removed conditions 2C, 3</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy