edits.seer.internal.rules.IF38_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="IF38_3" name="Primary Site, Morphology-Imposs ICDO3 (SEER IF38)" tag="N0446" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site"> <expression><![CDATA[Integer site = Functions.asInt(line.primarySite.substring(1)) Integer hist = Functions.asInt(line.histologicTypeIcdO3) if (hist == null || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2023') return true // check Glioblastomas if (((site >= 0 && site <= 709) || (site >= 728 && site <= 750) || site == 752 || (site >= 754 && site <= 809)) && hist >= 9440 && hist <= 9442) return false // check the rest return !((List)((Map)Context.IF38_3Table).getOrDefault(site, [])).contains(hist)]]></expression> <message>Impossible Site and Histologic Type ICD-O-3 combination</message> <description><![CDATA[This edit is skipped if Histologic Type ICD-O-3 is empty. This edit is skipped for diagnosis date blank (unknown), invalid, or greater than 2023. The site/histology combinations on the following list are considered to be impossible: C000-C709, C728-C750, C752, C754-C809 9440, 9441, 9442 (glioblastomas) C480-C488 (Retroperitoneum & peritoneum) 8720-8790 (Melanomas) C300 (Nasal cavity) 9250-9342 (Osteosarcomas--Giant cell, Ewing's, odontogenic) C301 (Middle ear) 9250-9342 (Osteosarcomas--Giant cell, Ewing's, odontogenic) C310-C319 (Accessary sinuses) 9250-9342 (Osteosarcomas--Giant cell, Ewing's, odontogenic) C381, C382, C384, C388 (Pleura and mediastinum) 8010-8245,8247-8671,8940-8941 (Carcinomas) 8720-8790 (Melanomas) C383 (Mediastinum, NOS) 8010-8231,8241-8245,8247-8671,8940-8941 (Carcinomas) 8720-8790 (Melanomas) C470-C479 (Peripheral nerves) 8010-8671,8940-8941 (Carcinomas) 8720-8790 (Melanomas) C490-C499 (Connective tissue) 8720-8790 (Melanomas) C700-C709 (Meninges) 8010-8671,8940-8941 (Carcinomas) C710-C719 (Brain) 8010-8060, 8071-8671,8940-8941 (Carcinomas) C720-C729 (Other central nervous system) 8010-8671,8940-8941 (Carcinomas) C400-C419 (Bone) 8010-8060,8075-8671,8940-8941 (Carcinomas, except squamous cell) 8720-8790 (Melanomas) C760-C768 (Ill-defined sites) 8720-8790 (Melanomas) 8800-8811,8813-8830,8840-8921,9040-9044 (Sarcomas, except periosteal fibrosarcoma, dermatofibrosarcoma) 8990-8991 (Mesenchymoma) 8940-8941 (Mixed tumor, salivary gland type) 9120-9170 (Blood vessel tumor, lymphatic vessel tumor) 9240-9252 (Mesenchymal chondrosarcoma, and giant cell tumors) 9540-9560 (Nerve sheath tumor) 9580-9582 (Granular cell tumor and alveolar soft part sarcoma) Additional Information: Combinations of site and type are designated as impossible by this edit because the combination is biologically impossible, i.e., the particular form of cancer does not arise in the specified site, or because standard cancer registry conventions have been established to code certain combinations in certain ways. In reviewing these errors, it is important to understand the biology of the disease and the clinical picture and history of the individual case before deciding on a correct code. It will often be useful to check medical references or to discuss specific problem cases with the registry's medical advisors. The suggestions below are a starting point for analyzing an error, but are not a substitute for a medical decision. Correction of these errors will usually require inspection of the abstracted text, either online or as recorded on a paper abstract. Reference to the original medical record may also be required. GENERAL First review the case for the following: 1. Is the histologic type correctly coded? If not, correct the histologic type code. Note that the code for "Cancer" and "Malignancy" (8000/3) is NOT interchangeable with the code for "Carcinoma, NOS" (8010/3), which refers only to a malignancy of epithelial origin. 2. Is the primary site coded correctly? Check whether the site coded as the primary site could be instead the site of metastatic spread or the site where a biopsy was performed. If so, check for a more appropriate primary site. SPECIFIC GUIDELINES (The numbered categories refer to rows in the table of impossible combinations presented under "Description" in the documentation.) 1. Retroperitoneum/Peritoneum and Melanomas: If melanoma is identified in peritoneal or retroperitoneal tissue, it is almost certainly metastatic to that site. Try to identify the primary site of the melanoma. If no primary can be determined, the standard convention in cancer registries is to code the primary site as skin, NOS, C44.9, which puts the case in the most likely site group for analysis. Most histologic type codes for melanomas in ICD-O-3 list skin, C44._, as the appropriate primary site. 2. Nasal Cavity/Middle Ear/Accessory Sinuses and Osteosarcomas: Osteosarcomas arise in bone, and the specified site code in ICD-O-3 is C40._ or C41._. Osteosarcomas arising in the areas of the nose, middle ear, and sinuses should be assumed to have arisen in the bones of the skull and their primary site coded C41.0. 3. Pleura/Mediastinum and Carcinomas or Melanomas: If a carcinoma or melanoma is identified in the pleura or mediastinum, it is almost certainly metastatic to that site. Try to identify the primary site of the carcinoma or melanoma. For a carcinoma, if no primary can be determined, code unknown primary site, C80.9. For a melanoma, if no primary can be determined, the standard convention in cancer registries is to code the primary site as skin, NOS, C44.9, which puts the case in the most likely site group for analysis. Most histologic type codes for melanomas in ICD-O-3 list skin, C44._, as the appropriate primary site. 4. Peripheral Nerves and Carcinomas or Melanomas: If a carcinoma or melanoma is identified in peripheral nerves, it is almost certainly metastatic to that site. Try to identify the primary site of the carcinoma or melanoma. For a carcinoma, if no primary can be determined, code unknown primary site, C80.9. For a melanoma, if no primary can be determined, the standard convention in cancer registries is to code the primary site as skin, NOS, C44.9, which puts the case in the most likely site group for analysis. Most histologic type codes for melanomas in ICD-O-3 list skin, C44._, as the appropriate primary site. 5. Connective Tissue and Melanomas: If a melanoma is identified in connective tissue, it is almost certainly metastatic to that site. Try to identify the primary site of melanoma. For a melanoma, if no primary can be determined, the standard convention in cancer registries is to code the primary site as skin, NOS, C44.9, which puts the case in the most likely site group for analysis. Most histologic type codes for melanomas in ICD-O-3 list skin, C44._, as the appropriate primary site. 6. Meninges/Brain/Other CNS and Carcinomas: If a carcinoma is identified in the brain, meninges, or other central nervous system, it is almost certainly metastatic to that site. Try to identify the primary site of the carcinoma. Check that the tumor is indeed a carcinoma and not "Cancer" or "Malignancy" which would be coded 8000/3. If it is a carcinoma and no primary can be determined, code "Unknown primary site", C80.9. 7. Bone and Carcinomas or Melanomas: If a carcinoma or melanoma is identified in the bone, it is almost certainly metastatic to that site. Try to identify the primary site of the carcinoma or melanoma. For a carcinoma, if no primary can be determined, code unknown primary site, C80.9. For a melanoma, if no primary can be determined, the standard convention in cancer registries is to code the primary site as skin, NOS, C44.9, which puts the case in the most likely site group for analysis. Most histologic type codes for melanomas in ICD-O-3 list skin, C44._, as the appropriate primary site. 8. Ill-defined Sites and Various Histologies: Some histologic types are by convention more appropriately coded to a code representing the tissue in which such tumors arise rather than the ill-defined region of the body, which contains multiple tissues.]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-06-09">The following site/histology combinations are no longer considered 'impossible': C000-C009/8090-8098; C199/8090-8098; C209/8090-8098; C210-C218/8090-8098</event> <event version="SE11-001-17" user="greend" date="2003-10-10">The following site/histology combinations are no longer considered impossible: C490-C499 8010-8671,8940-8941</event> <event version="SE11-001-18" user="greend" date="2004-10-05">The following site/histology combinations are no longer considered impossible: C381-C388 8246.</event> <event version="SE13-010-01" user="murphyr" date="2013-05-13" ref="66879">Added impossible combo for glioblastomas</event> <event version="SE14-012-02" user="depryf" date="2014-07-23" ref="67096">The following combinations are no longer considered 'impossible': C383 with 8240 and C710-C719 with 8070.</event> <event version="SE16-016-01" user="kirbyk" date="2016-11-02" ref="67543">Fixed the table to match the documentation for sites C710-C719 with histology 8071-8671.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE24-024-01" user="shearerw" date="2024-03-14" ref="69412">Add skip condition when diagnosis year is blank or greater than 2023.</event> </history> </rule>