edits.seer.internal.rules.IF508.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.
The newest version!
<rule id="IF508" name="Primary Site, AJCC Stage Group - Ed 7, ICDO3 (SEER)" tag="N2300" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear != '2015' || (line.tnmEditionNumber != '07' && line.tnmEditionNumber != '88') || (line.tnmClinStageGroup == null && line.tnmPathStageGroup == null) || line.histologicTypeIcdO3 == null || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.typeOfReportingSource == '7') return true if (line.overRideSiteTnmStggrp == '1') { if (line.ageAtDiagnosis > '024') return false else if (line.tnmEditionNumber == '88' && (line.tnmClinStageGroup == null || line.tnmClinStageGroup == '88') && (line.tnmPathStageGroup == null || line.tnmPathStageGroup == '88')) return true else return false } Integer site = Functions.asInt(line.primarySite.substring(1)) Integer hist = Functions.asInt(line.histologicTypeIcdO3) String clin = line.tnmClinStageGroup String path = line.tnmPathStageGroup String code = ((Map)((Map)Context.AJCC7SiteHistTable).getOrDefault(site, [:])).getOrDefault(hist, '999') if (Functions.expandList((List)[0..419, 422, 423, 425..440, 442..689, 691..694, 698..809]).contains(site) && Functions.expandList((List)[9590..9699, 9702..9729, 9735, 9737, 9738, 9811..9818, 9823, 9827, 9837]).contains(hist)) code = '57A' else if (code == '04C') { if (line.csSiteSpecificFactor25 == '020') code = '04D' else if (line.csSiteSpecificFactor25 != '010') code = '999' } else if (code == '008') { if (Functions.matches(line.grade, /^[1239]$/)) { if (line.ageAtDiagnosis <= '044') code = '08A' else if (line.ageAtDiagnosis <= '998') code = '08B' else code = '08C' } else if (line.grade == '4') code = '08F' else code = '999' } else if (code == '08D') { if (line.grade == '4') code = '08F' else if (!(Functions.matches(line.grade, /^[1239]$/))) code = '999' } else if (code == '011') { if ((site == 161 || site == 162) && Functions.matches(line.csSiteSpecificFactor25, /^0[246]0$/)) code = '10B' } else if (code == '16B') { if ((480 <= site && site <= 488) && line.csSiteSpecificFactor10 == '020') code = '16A' } else if (code == '021') { if (site == 240) { if (line.csSiteSpecificFactor25 == '030') code = '020' else if (line.csSiteSpecificFactor25 == '040' || line.csSiteSpecificFactor25 == '070') code = '022' } } else if (code == '37B') { if ((481 <= site && site <= 488) && line.csSiteSpecificFactor25 != '002') code = '999' } else if (code == '051') { if (site == 693) code = '51A' else if (site == 694) { if (line.csSiteSpecificFactor25 == '010' || line.csSiteSpecificFactor25 == '999') code = '51A' else if (line.csSiteSpecificFactor25 == '020') code = '51B' else code = '999' } } else if (code == '053') { if (line.csSiteSpecificFactor25 != '015') code = '999' } if (code == '999') { if (site == 739 && Functions.expandList((List)[8000..8576, 8940..8950, 8980..8981]).contains(hist) && line.grade == '4') code = '08F' else if ((481 <= site && site <= 488) && Functions.expandList((List)[8800..8820, 8823..8934, 8940..9136, 9142..9582]).contains(hist) && line.csSiteSpecificFactor25 != '002') code = '028' else if ((481 <= site && site <= 488) && Functions.expandList((List)[8800..8820, 8823..8921, 9120..9136, 9142..9582]).contains(hist) && line.csSiteSpecificFactor25 == '002') code = '028' else if ([420, 421, 424].contains(site) && Functions.expandList((List)[9590..9699, 9702..9729, 9735, 9737, 9738, 9811..9818, 9837]).contains(hist)) code = '57A' } if (code == '57A') { if (Functions.expandList((List)[9811..9818, 9837]).contains(hist)) code = '57C' } boolean validClin = false boolean validPath = false if ((code == '028' || code == '37B') && Functions.expandList((List)[9050..9055]).contains(hist)) { if (clin != null && clin == '88') validClin = true if (path != null && path == '88') validPath = true } if (!validClin && clin != null && !((List)((Map)((Map)Context.IF508_TNM_CODES_Table).getOrDefault(code, [:])).getOrDefault('C', [])).contains(clin)) return false if (!validPath && path != null && !((List)((Map)((Map)Context.IF508_TNM_CODES_Table).getOrDefault(code, [:])).getOrDefault('P', [])).contains(path)) return false return true]]></expression> <message>Conflict between Primary Site, AJCC Stage Group - Ed 7, and Histology ICDO3.</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Year of Date of Diagnosis is not 2015 2. Type of Reporting Source = 7 (Death Certificate Only) 3. TNM Path Stage Group and TNM Clin Stage Group fields are blank 4. TNM Edition Number is not = 07 and not = 88 5. Histologic Type ICD-O-3 is blank 6. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) Pediatric cases not staged according to AJCC are skipped and are identified in this edit by TNM Edition Number = 88, AJCC Clin Stage Group = 88 or blank, AJCC Path Stage Group = 88 or blank, and Over-ride Site/TNM-Stgrp = 1 if the patient is under 25 years old. It is assumed by the edit that patients age 25 or older will never be staged by a pediatric system, but most use of pediatric staging will be for patients under 19 years or so. The site-specific Stage Group values are listed below.The number next to each site group indicates the chapter in the AJCC Cancer Staging Manual, Edition 7. The sites for each chapter are listed along with the histologies requiring AJCC staging. The allowable values for the clinical and pathologic stage groups are listed under Stage Group. When there is a difference in allowable values for clinical and pathologic stage group, they will be specified separately. Please note that both TNM Path Stage Group and TNM Clin Stage Group may be blank. For sites/histologies not included in the list below, TNM Path Stage Group and TNM Clin Stage Group should be coded to 88 or left blank. 3. Lip and Oral Cavity Sites: C000-C006, C008-C009 C020-C023, C028-C029 C030-C031, C039 C040-C041, C048-C049 C050,C058-C059 C060-C062, C068-C069 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 4. Pharynx 4A. Oropharynx and Hypopharynx Sites: C019, C024 C051-C052 C090-C091, C098-C099 C100, C102-C104, C108-C109 C129 C130-C132, C138-C139 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 4B. Nasopharynx Sites: C110, C112-C113, C118-C119 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 4C. Nasopharynx Sites: C111 Discriminator (CS Site-Specific Factor25): 010 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 4D. Oropharynx Sites: C111 Discriminator (CS Site-Specific Factor25): 020 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 5. Larynx 5A. Supraglottis, Subglottis, Other Sites: C101, C321-C322 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 5B. Glottis Sites: C320, C328-C329 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980, 8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 6. Nasal Cavity and Paranasal Sinuses Sites: C300, C310-C311 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 4C, 99 7. Major Salivary Glands Sites: C079 C080-C081, C088-C089 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8982 Stage Group: 1, 2, 3, 4, 4A, 4B, 4C, 88, 99 8. Thyroid Gland 8A. Thyroid: Papillary/follicular, age less than 045 Sites: C739 Histologies Requiring AJCC Staging: 8000-8015, 8022, 8033-8344, 8350-8420, 8440-8508, 8514-8576, 8940-8950, 8980-8981 Age at Diagnosis: less than 045 Grade: 1-3 or 9 Stage Group: Clin: 1, 2, 4, 4A, 4B, 4C, 88, 99 Path: 0, 1, 2, 88, 99 8B. Thyroid: Papillary/follicular, age greater than or equal 045 but not 999 Sites: C739 Histologies Requiring AJCC Staging: 8000-8015, 8022, 8033-8344, 8350-8420, 8440-8508, 8514-8576, 8940-8950, 8980-8981 Age at Diagnosis: greater than or equal to 045, but not equal 999 Grade: 1-3 or 9 Stage Group: Clin: 1, 2, 3, 4, 4A, 4B, 4C, 88, 99 Path: 0, 1, 2, 3, 4, 4A, 4B, 4C, 88, 99 8C. Thyroid: Papillary/follicular, age equal 999 (unknown) Sites: C739 Histologies Requiring AJCC Staging: 8000-8015, 8022, 8033-8344, 8350-8420, 8440-8508, 8514-8576, 8940-8950, 8980-8981 Age at Diagnosis: equal 999 Grade: 1-3 or 9 Stage Group: Clin: 3, 88, 99 Path: 0, 3, 88, 99 8D. Thyroid: Medullary Sites: C739 Histologies Requiring AJCC Staging: 8345-8347, 8430, 8510, 8512-8513 Grade: 1-3 or 9 Stage Group: Clin: 1, 2, 3, 4, 4A, 4B, 4C, 88, 99 Path: 1, 2, 3, 4, 4A, 4B, 4C, 88, 99 8E. Thyroid: Anaplastic Sites: C739 Histologies Requiring AJCC Staging: 8020-8021, 8030-8032 Stage Group: Clin: 4, 4A, 4B, 4C Path: 4, 4A, 4B, 4C 8F. Thyroid: Anaplastic Sites: C739 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Grade: 4 Stage Group: Clin: 4, 4A, 4B, 4C Path: 4, 4A, 4B, 4C 9. Mucosal Melanoma of the Head and Neck Sites: C000-C006, C008-C009 C019 C020-C024, C028-C029 C030-C031, C039 C040-C041, C048-C049 C050-C052, C058-C059 C060-C062, C068-C069 C090-C091, C098-C099 C100-C104, C108-C109 C110-C113, C118-C119 C129 C132, C138-C139 C140, C142, C148 C300 C310-C311 C320-C323, C328-C329 Histologies Requiring AJCC Staging: 8720-8790 Stage Group: 3, 4, 4A, 4B, 4C, 88, 99 10. Esophagus and Esophagus Gastric Junction 10A. Esophagus Sites: C150-C155, C158-C159 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 3C, 4, 99 10B. Esophagus Gastric Junction Sites: C160-C162 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8247-8248, 8250-8576, 8940-8950, 8980-8981 Discriminator (CS Site-Specific Factor25): 020, 040, 060 (for C161-C162), 982 (982 is for C160 only) Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 3C, 4, 99 11. Stomach Sites: C161-C162 and Discriminator (CS Site-Specific Factor 25) = 000, 030, 100, 999 C163-C166, C168-C169 and Discriminator (CS Site-Specific Factor 25) = 981 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8247-8248, 8250-8576, 8940-8950, 8980-8990 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 3C, 4,99 12. Small Intestine Sites: C170-C172, C178-C179 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8247-8248, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 2A, 2B, 3, 3A, 3B, 4, 99 13. Appendix 13A. Appendix: Carcinoma Sites: C181 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8247-8248, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 4A, 4B, 4C, 99 13B. Appendix: Carcinoid Sites: C181 Histologies Requiring AJCC Staging: 8240-8242, 8246, 8249, 8153 Stage Group: 0, 1, 2, 3, 4, 99, 88 14. Colon and Rectum Sites: C180, C182-C189 C199 C209 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8247-8248, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 4A, 4B, 99 15. Anus Sites: C210-C212, C218 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 3A, 3B, 4, 99 16. Gastrointestinal Stromal Tumor (GIST) 16A. GIST: Gastric Sites: C160-C169 C480-C488 and CS Site-Specific Factor 10 = 020 (Omentum) Histologies Requiring AJCC Staging: 8935-8936 Stage Group: 1, 1A, 1B, 2, 3, 3A, 3B, 4, 88, 99 16B. GIST: Small Intestine Sites: C150-C159 C170-C172, C178, C179 C180-C189 C199 C209 C480-C488 and CS Site-Specific Factor 10 not = 020 (Omentum) Histologies Requiring AJCC Staging: 8935-8936 Stage Group: 1,2,3,3A,3B,4,88,99 17. Neuroendocrine Tumors (NET) 17A. NET: Stomach Sites: C160-C169 Histologies Requiring AJCC Staging: 8153, 8240-8242, 8246, 8249 Stage Group: 0, 1, 2, 2A, 2B, 3, 3A, 3B, 4, 99 17B. NET: Small Intestine and Ampulla of Vater Sites: C170-C179 C241 Histologies Requiring AJCC Staging: 8153, 8240-8242, 8246, 8249 Stage Group: 0, 1, 2, 2A, 2B, 3, 3A, 3B, 4, 88, 99 17C. NET: Colon and Rectum Sites: C180, C182-C189 C199, C209 Histologies Requiring AJCC Staging: 8153, 8240-8242, 8246, 8249 Stage Group: 0, 1, 2, 2A, 2B, 3, 3A, 3B, 4, 88, 99 18. Liver 18A. Sites: C220 Histologies Requiring AJCC Staging: 8170-8175 Stage Group: 1, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 88, 99 18B. Sites: C221 Histologies Requiring AJCC Staging: 8170-8175 Stage Group: 1, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 88, 99 19. Intrahepatic Bile Ducts 19A. Sites: C220 Histologies Requiring AJCC Staging: 8160, 8161, 8180 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 88, 99 19B. Sites: C221 Histologies Requiring AJCC Staging: 8160, 8161, 8180 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 99 20. Gallbladder Sites: C239 C240 and Discriminator (CS Site-Specific Factor 25) = 030 Histologies Requiring AJCC Staging: 8000-8152,8154-8231, 8243-8245, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 3A, 3B, 4, 4A, 4B, 99 21. Perihilar Bile Ducts Sites: C240 and Discriminator (CS Site-Specific Factor 25) = 010, 020, 050, 060, 999 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 3A, 3B, 4, 4A, 4B, 99 22. Distal Bile Duct Sites: C240 and Discriminator (CS Site-Specific Factor 25) = 040, 070 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3,4,99 23. Ampulla of Vater Sites: C241 Histologies Requiring AJCC Staging: 8000-8152, 8154-8231, 8243-8245, 8250-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3, 4, 99 24. Exocrine and Endocrine Pancreas Sites: C250-C254, C257-C259 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8971, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 3, 4, 99 25. Lung Sites: C340-C343, C348-C349 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: OC, 0, 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 4, 99 26. Pleural Mesothelioma Sites: C384 Histologies Requiring AJCC Staging: 9050-9053 Stage Group: 1, 1A, 1B, 2, 3, 4, 88, 99 27. Bone Sites: C400-C403, C408-C409 C410-C414, C418-C419 Histologies Permitting AJCC Staging: 8800-9136, 9142-9582 Stage Group: 1, 1A, 1B, 2, 2A, 2B, 3, 4, 4A, 4B, 99 28. Soft Tissue Sarcoma Peritoneum - not female Sites: C481-C482, C488 Histologies: 8800-8820, 8823-8934, 8940-9136, 9142-9582 CS Site-Specific Factor25 = not 002 (that is, not female) Peritoneum - female Sites: C481-C482, C488 Histologies: 8800-8820, 8823-8921, 9120-9136, 9142-9582 CS Site-Specific Factor25 = 002 (female) Heart,Mediastinum, Soft Tissue Sites: C380-C383, C388 C470-C476, C478-C479 C490-C496, C498-C499 Histologies: 8800-8820, 8823-8935, 8940-9136, 9142-9582 Retroperitoneum Sites: C480 Histologies: 8800-8820, 8823-8934, 8940-9136, 9142-9582 Stage Group: 1, 1A, 1B, 2, 2A, 2B, 3, 4, 99 NOTE: Stage Group 88 allowed for Mesothelioma, 9050-9055 29. Cutaneous Squamous Cell Carcinoma and other Cutaneous Carcinomas Sites: C440, C442-C449, C632 Histologies Requiring AJCC Staging: 8000-8246, 8248-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 99 30. Merkel Cell Carcinoma Sites: C440, C442-C449, C510-C512, C518-C519 C600-C602, C608-C609 C632 Histologies Requiring AJCC Staging: 8247 Stage Group: 0, 1, 1A, 1B, 2, 2A, 2B, 2C, 3, 3A, 3B, 4, 99 31. Melanoma of the Skin Sites: C440-C449 C510-C512, C518-C519 C600-C602, C608-C609 C632 Histologies Requiring AJCC Staging: 8720-8790 Stage Group: Clin: 0, 1, 1A, 1B, 2, 2A, 2B, 2C, 3, 4, 99 Path: 0, 1, 1A, 1B, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 99 32. Breast Sites: C500-C506, C508-C509 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981, 9020 Stage Group: 0, 1,1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 3C, 4, 99 33. Vulva Sites: C510-C512, C518-C519 Histologies Requiring AJCC Staging: 8000-8246, 8248-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 99 34. Vagina Sites: C529 Histologies Requiring AJCC Staging: 8000-8576, 8800-8801, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 4, 4A, 4B, 99 35. Cervix Uteri Sites: C530-C531, C538-C539 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1A1, 1A2, 1B, 1B1, 1B2, 2, 2A, 2A1, 2A2, 2B, 3, 3A, 3B, 4, 4A, 4B, 99 36. Corpus Uteri 36A. Corpus Uteri: Carcinomas Sites C540-C543, C548-C549 C559 Histologies Requiring AJCC Staging: 8000-8790, 8950-8951, 8980-8981 Stage Group: 0, 1, 1A, 1B, 2, 3, 3A, 3B, 3C, 3C1, 3C2, 4, 4A, 4B, 99 36B. Corpus Uteri: Leiomyosarcoma and Endometrial Stromal Sarcoma Sites: C540-C543, C548-C549 C559 Histologies Requiring AJCC Staging: 8800, 8890-8898, 8900-8921, 8930-8931, 8935 Stage Group: Clin: 1, 1A, 1B, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 88, 99 Path: 1, 1A, 1B, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 88, 99 36C. Corpus Uteri: Adenosarcoma Sites: C540-C543, C548-C549 C559 Histologies Requiring AJCC Staging: 8933 Stage Group: 1, 1A, 1B, 1C, 2, 3, 3A, 3B, 3C, 4, 4A, 4B, 88, 99 37. Ovary and Peritoneal Carcinomas 37A. Ovary Sites: C569 Histologies Requiring AJCC Staging: 8000-8576, 8590-8671, 8930-9110 Stage Group: 1, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 88, 99 37B. Peritoneal Carcinomas Sites: C481-C482, C488 (Sex = 2,female) and Discriminator (CS Site-Specific Factor 25) = 002 Histologies Requiring AJCC Staging: 8000-8576, 8590-8671, 8930-8934, 8940-9110 Stage Group: 1, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 99 NOTE: Stage Group 88 allowed for Mesothelioma, 9050-9055 38. Fallopian Tube Sites: C570 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 1C, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 4, 99 39. Gestational Trophoblastic Tumors Sites: C589 Histologies Requiring AJCC Staging: 9100-9105 Stage Group: 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 4, 4A, 4B, 99 40. Penis Sites: C600-C602, C608-C609 Histologies Requiring AJCC Staging: 8000-8246, 8248-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 2, 3, 3A, 3B, 4, 99 41. Prostate Sites: C619 Histologies Requiring AJCC Staging: 8000-8110, 8140-8576, 8940-8950, 8980-8981 Stage Group: 1, 2, 2A, 2B, 3, 4, 88, 99 42. Testis Sites: C620-C621, C629 Histologies Requiring AJCC Staging: 8000-8576, 8590-8670, 8940-8950, 8980-8981, 9060-9090, 9100-9105 Stage Group: 0, 1, 1A, 1B, 1S, 2, 2A, 2B, 2C, 3, 3A, 3B, 3C, 99 43. Kidney Sites: C649 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 1, 2, 3, 4, 88, 99 44. Renal Pelvis and Ureter Sites: C659 C669 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0IS, 0A, 1, 2, 3, 4, 99 45. Urinary Bladder Sites: C670-C679 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0IS, 0A, 1, 2, 3, 4, 99 46. Urethra Sites: C680 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0IS, 0A, 1, 2, 3, 4, 99 47. Adrenal 47A. Adrenal Cortex Sites: C740 Histologies Requiring AJCC Staging: 8010, 8140, 8370 Stage Group: 1, 2, 3, 4, 88, 99 47B. Adrenal Cortical Carcinoma Sites: C749 Histologies Requiring AJCC Staging: 8370 Stage Group: 1, 2, 3, 4, 88, 99 48. Carcinoma of the Eyelid Sites: C441 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 0, 1, 1A, 1B, 1C, 2, 3, 3A, 3B, 3C, 4, 99 49. Conjunctiva Sites: C690 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 88 50. Malignant Melanoma of the Conjunctiva Sites: C690 Histologies Requiring AJCC Staging: 8720-8790 Stage Group: 88 51. Malignant Melanoma of Uvea 51A. Ciliary Body and Choroid Sites: C693 C694 (CS Site-Specific Factor 25 = 010 or 999) Histologies Requiring AJCC Staging: 8720-8790 Stage Group: 1, 2, 2A, 2B, 3, 3A, 3B, 3C, 4, 99 51B. Iris Sites: C694 (CS Site-Specific Factor 25 = 020) Histologies Requiring AJCC Staging: 8720-8790 Stage Group: 1, 2, 2A, 2B, 3, 3A, 3B, 3C, 4, 99 52. Retinoblastoma Sites: C692 Histologies Requiring AJCC Staging: 9510-9514 Stage Group: 88 53. Carcinoma of the Lacrimal Gland Sites: C695 and CS Site-Specific Factor25 = 015 Histologies Requiring AJCC Staging: 8000-8576, 8940-8950, 8980-8981 Stage Group: 88 54. Sarcoma of the Orbit Sites: C696, C698 Histologies Requiring AJCC Staging: 8800-8936, 8940-9136, 9141-9508, 9520-9582 Stage Group: 88 55. Ocular Adnexal Lymphoma Sites: C441, C690, C695-C696 Histologies Requiring AJCC Staging: 9590-9699, 9702-9738, 9811-9818, 9820-9837 Stage Group: 88 56. Brain and Spinal Cord Sites: C700-C701, C709, C710-C719, C720-C729, C751-C753 Histologies Requiring AJCC Staging: 8000, 8680-9136, 9141-9582 Stage Group: 88 57. Lymphoid Neoplasms 57A. Hodgkin and Non-Hodgkin Sites: C000-C440, C442-C689, C691-C694, C698-C809 Histologies Requiring AJCC Staging: 9590-9699, 9702-9729, 9735, 9737-9738 Stage Group: 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 4, 4A, 4B, 99 Sites: (57C) C000-C440, C442-C689, C691-C694, C698-C809 Histologies Requiring AJCC Staging: 9811-9818, 9837 Stage Group: 1, 1A, 1B, 2, 2 2A, 2B, 3, 3A, 3B, 4, 4A, 4B, 88, 99 Sites: C000-C419, C422-C423, C425-C440, C442-C689, C691-C694, C698-C809 Histologies Requiring AJCC Staging: 9823, 9827 Stage Group: 1, 1A, 1B, 2, 2A, 2B, 3, 3A, 3B, 4, 4A, 4B, 99 57B. Primary Cutaneous Lymphomas Sites: C440-C449 C510-C512, C518-C519 C600-C602, C608-C609, C632 Histologies Requiring AJCC Staging: 9700,9701 Stage Group: 1, 1A, 1B, 2, 2B, 3, 3A, 3B, 4, 4A, 4A1, 4A2, 4B, 4C, 99 All Others Stage Group: 88 Additional Information: Pediatric cases not staged according to AJCC are skipped and are identified in this edit by TNM Edition Number = 88, AJCC Path Stage Group = 88 or blank, AJCC Clin Stage Group = 88 or blank,and Over-ride Site/TNM-Stggrp = 1 if the patient is under 25 years old. It is assumed by the edit that patients age 25 or older will never be staged by a pediatric system, but most use of pediatric staging will be for patients under 19 years. The edit requires staging for all histologies listed at the beginning of the applicable chapters, including the published (posted) AJCC errata. Cases meeting those requirements, if entered, must have an AJCC Path and Clin Stage Group with a valid stage group as defined in the appropriate chapter (and coded for computerized transmission following the instructions in FORDS) or 99, the code that indicates insufficient information is available to assign a stage group. If the AJCC chapter identifies subcategories (say, 2A, 2B ...) then the umbrella category is also valid (2 ) even if it is not identified by AJCC.]]></description> <history> <event version="SE15-013-01" user="kirbyk" date="2015-01-22" ref="67137">Edit created.</event> <event version="SE16-015-01" user="kirbyk" date="2016-04-21" ref="67227">Fixed logic for DX age override and 57A histology list.</event> <event version="SE16-015-01" user="kirbyk" date="2016-05-05" ref="67367">Added 88 as valid Clin and Path code for several chapters; updated skip conditions.</event> <event version="SE16-015-01" user="kirbyk" date="2016-06-13" ref="67468">Fixed values in AJCC7SiteHistTable.</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="kirbyk" date="2019-07-30" ref="68237">Changed valid values for group 13B.</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="beverung" date="2021-03-03" ref="68573">Add code 88 for AJCC groups 28, 37B when histology is 9050-9055.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>