edits.seer.internal.rules.IFN3068.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="IFN3068" name="_SYS AJCC ID, Site, Histo, Sex (NAACCR)" tag="N3068" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2018' || line.sex == null || line.primarySite == null || line.histologicTypeIcdO3 == null) return true String ajccId = line.ajccId if (ajccId == '55' && Functions.matches(line.primarySite, /^C48[1-8]$/)) ajccId = '55.B' if (Functions.matches(line.primarySite, /^C48[1-8]$/)) { List histList = (List)Context.IFN3068_Histologies if ((['8806', '8930', '8931'].contains(line.histologicTypeIcdO3) || histList.contains(line.histologicTypeIcdO3)) && line.behaviorCodeIcdO3 == '2') return ajccId == 'XX' if (['8806', '8930', '8931'].contains(line.histologicTypeIcdO3) && ajccId != '45' && Functions.matches(line.sex, /^[13459]$/)) return false if (histList.contains(line.histologicTypeIcdO3) && ajccId != '55.B' && Functions.matches(line.sex, /^[26]$/)) return false } return true]]></expression> <message>Primary Site, Histologic Type ICD-O-3, and Sex are incompatible with AJCC ID.</message> <description><![CDATA[_SYS in edit name indicates an edit on system-generated data items. The edit is intended for use by software vendors in testing the accuracy of algorithms used to assign AJCC ID, and for use by central registries in verifying the quality of submitted data. 1. The edit is skipped for the following conditions: a. Date of diagnosis before 2018, blank, or invalid. b. Sex is blank c. Primary Site is blank d. Histologic Type ICD-O-3 is blank 2. This edit verifies that AJCC ID has been assigned correctly where Primary Site and Histologic Type ICD-O-3 codes are not sufficient to identify the appropriate AJCC staging scheme. Sex is required to discriminate between histologies assigned to Primary Peritoneal Carcinoma (female, staged), and Sarcomas of Unusual Sites and Histologies (male, not staged). The edit checks that AJCC ID, Primary Site code,Histologic Type ICD-O-3 code, and Sex code occur together within the edited record, as shown in the following chart. If Behavior = 2 for any combination of sites/histologies included in this edit, AJCC ID must be coded as XX. If there is an edit failure, the problem may be due to a software error. If coding is reviewed and correct, the software vendor should be consulted for assistance in resolving the issue. Note: The AJCC ID for Primary Peritoneal Carcinoma is 55. 55.B is used for edit purposes, to distinguish Primary Peritoneal Carcinoma from Ovarian and Fallopian Tube Carcinoma, which are also assigned AJCC ID 55. AJCC ID SITE HISTO Sex 45 Sarcoma of Unusual Sites/Histologies C481- 8806 1,3,4,5,9 C482, 8930 C488 8931 55.B Primary Peritoneal Carcinoma C481- 8000, 8010 2,6 C482, 8020, 8041 C488 8044, 8070 8120, 8140 8240, 8243 8310, 8313 8323, 8380 8410, 8441-8442 8452, 8460-8461 8470, 8472 8474, 8480 8590, 8594 8620, 8622-8623 8631 8633-8634 8640, 8670 8806, 8822 8930-8931 8933, 8950 8960, 8980 9000, 9050 9052, 9060 9070-9071 9073, 9080 9085, 9090-9091 9100, 9110 AJCC ID SEX CODES AND DEFINITIONS 45 1: Male 3: Other (Hermaphrodite) 4: Transsexual, NOS 5: Transsexual, natal male 9: Not stated, unknown 55.B 2: Female 6: Transsexual, natal female]]></description> <history> <event version="SE18-018-10" user="kirbyk" date="2018-12-05" ref="68065">Edit created.</event> <event version="SE18-018-11" user="kirbyk" date="2019-01-03" ref="68081">Edit fixed to not set new AJCC ID value.</event> <event version="SE18-019-01" user="kirbyk" date="2019-04-09" ref="68137">Added more Histology codes to check for AJCC ID 55.B.</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-07-22" ref="68370">Updated skip condition.</event> <event version="SE22-022-04" user="secristc" date="2022-05-03" ref="68982">Added condition for Behavior Code ICD03 = 2.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy