edits.seer.internal.rules.IF80_3.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="IF80_3" name="RX Summ--Surg Oth 98-02,Site,Rpt,ICDO3 (SEER IF80)" tag="N0803" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Oth_98-02,Year_of_Diagnosis"> <expression><![CDATA[if (line.rxSummSurgOth9802 == null || line.histologicTypeIcdO3 == null) return true if ((line.dateOfDiagnosisYear < '2000' || line.dateOfDiagnosisYear == null) && ['0000001544', '0000001563'].contains(line.registryId)) return true if (line.typeOfReportingSource == '6') { if (Functions.matches(line.primarySite, /^C(700|71\d|809)$/) || Functions.between(line.histologicTypeIcdO3, '9590', '9989')) return line.rxSummSurgOth9802 == '0' || line.rxSummSurgOth9802 == '9' return line.rxSummSurgOth9802 == '0' } if (line.typeOfReportingSource == '7') return line.rxSummSurgOth9802 == '9' Integer site = Functions.asInt(line.primarySite.substring(1)) return ((List)((Map)Context.IF80SiteReferenceTable).getOrDefault(site, [])).contains(Functions.asInt(line.rxSummSurgOth9802))]]></expression> <message>RX Summ--surg oth 98-02 and Primary Site conflict (ICD-O-3)</message> <description><![CDATA[This edit is skipped under the following conditions: 1. Year of Date of Diagnosis is less than 2000 and Registry ID is equal to 0000001544 (New Jersey) or 0000001563 (Massachusetts) 2. RX Summ--Surg Oth 98-02 is blank 3. Histologic Type ICD-O-3 is blank. 1. If Type of Reporting Source is 6 (autopsy only) A. For Primary Site of brain (C700, C710-C719), unknown site (C809), lymphoma and hematopoietic (Histologic Type ICD-O-3 = 9590-9989), RX Summ--Surg Oth 98-02 must specify none (0) or unknown (9). B. For all other sites/histologies, RX Summ--Surg Oth 98-02 must specify none (0). 2. If Type of Reporting Source is 7 (death certificate only), then RX Summ--Surg Oth 98-02 must be 9 (unknown). 3. For all other values of Type of Reporting Source: The valid RX Summ--Surg Oth 98-02 codes for each Primary Site are specified in Appendix C of the SEER Program Code Manual, 3rd Edition.]]></description> <history> <event version="SE12-002-01" user="murphyr" date="2009-12-21">Edit now skipped if registry is new jersey and 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-019-02" user="kirbyk" date="2019-05-16" ref="68185">Updated documentation; no change in 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="SE18-020-05" user="beverung" date="2020-09-04" ref="68521">Added 0000001563 (Massachusetts) to skip condition.</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