
edits.seer.internal.rules.Morph_P2.xml Maven / Gradle / Ivy
<rule id="Morph_P2" name="Morphology--Type/Behavior ICDO2 (SEER MORPH)" tag="N0218" java-path="lines.line" category="inter-field" depends="Behavior_92-00_ICD-O-2,Histology_92-00_ICD-O-2,Morph_P1,Over-ride_Histology,Year_of_Diagnosis"> <expression><![CDATA[if ((line.histologyIcdO2 == null && line.behaviorIcdO2 == null) || line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear > '2000') return true if (!((List)((Map)Context.Morph).getOrDefault(3, [])).contains(Functions.asInt(line.histologyIcdO2))) if (((List)((Map)Context.Morph).getOrDefault(2, [])).contains(Functions.asInt(line.histologyIcdO2))) return line.overRideHistology == '1' || line.overRideHistology == '3' return true]]></expression> <message>Benign Histology - Please review</message> <description><![CDATA[This edit is skipped if Year of Diagnosis is greater than 2000 or is blank. This edit is skipped if Histology (92-00) ICD-O-2[420] is empty. The morphology field is defined by the "International Classification of Diseases for Oncology, Second Edition" (ICD-O-2) and consists of the following subfields: A Histologic Type: Histology ICD-O-2 B Behavior Code ICD-O-2 (1973+) C Grade Code ICD-O-2 (1973+) Only those histology and grade codes defined by ICD-O-2 are valid. The subfields are also checked for consistency among themselves. Checks are made for combinations which upon review may be correct, and combinations considered impossible. Review flags are provided to indicate a combination requiring review is indeed correct. The review flags can not be used to indicate an impossible combination is correct. Each of these checks are defined in detail below. Histology/Grade: 1. The following histology/grade combinations are impossible: grades 5-8 with histologies not in the range 9590-9941 2. Some terms in ICD-O-2 carry an implied statement of grade. These histologies must be reported with the correct grade as stated below: 8020/34 Carcinoma, undifferentiated 8021/34 Carcinoma, anaplastic 8331/31 Follicular adenocarcinoma, well differentiated 8851/31 Liposarcoma, well differentiated 9062/34 Seminoma, anaplastic 9082/34 Malignant teratoma, undifferentiated 9083/32 Malignant teratoma, intermediate type 9401/34 Astrocytoma, anaplastic 9451/34 Oligodendroglioma, anaplastic 9511/31 Retinoblastoma, differentiated 9512/34 Retinoblastoma, undifferentiated 3. The following lymphomas cannot have the listed grades: 9693/3 Malignant lymphoma, lymphocytic, well differentiated, nodular - Cannot be 2, 3, 4 or 9. 9696/3 Malignant lymphoma, lymphocytic, poorly differentiated, nodular - Cannot be 1, 2, 4 or 9. Histology/Behavior: 1. "Benign histologies": In the numeric section of ICD-O-2 are a set of histologies (first four digits) listed only with behavior codes of '0' (benign), and/or '1' (uncertain if benign or malignant). Use of the behavior matrix of ICD-O-2 allows for the elevation of the behavior of such histologies. This edit requests review of any case reported with one of these histologies and a behavior of '2' (in situ) or '3' (invasive). A review flag is provided to indicate that the case has been reviewed and is correct. For example, a report of a malignant psammomatous meningioma requires review. 2. In situ histologies: The following histologies are not accepted with a behavior code '2' insitu: 8000-8004 8800-9054 8020, 8021 9062 8331, 8332 9082, 9083 8523, 8524 9110-9989 NOTE: The subfields of morphology have the following lengths: A Histology ICD-O-2 - 4 digits B Behavior Code ICD-O-2 (1973+) - 1 digit C Grade Code ICD-O-2 (1973+) - 1 digit]]></description> <history> <event version="SE11-001-07" user="greend" date="1991-09-15">Conversion of morphology code from ICD-O-1 to ICD-O-2.</event> <event version="SE11-001-08" user="greend" date="1992-07-15">Code now allows histology '9500' with behavior 2 to be valid. The histology/behavior override flag is now checked for the value '3' which would be entered if the flag was an override for both the Morphology edits and the IF31 edit.</event> <event version="SE11-001-08" user="greend" date="1992-12-15">Code '9390' with behavior '3' was removed from the SPECIAL-GRADE-HIST-EDIT-TABLE. In the BENIGN-HIST-SWITCH-TABLE '0' was changed to '1' for the following histologies '8077', '8080', and '8081'.</event> <event version="SE11-001-11" user="greend" date="1995-01-10">The check for valid behavior code was removed from edit.</event> <event version="SE11-001-11" user="greend" date="1995-01-27">Histology '8543' removed from invalid in situ table.</event> <event version="SE11-001-12" user="greend" date="1996-01-15">Grade codes for histologies 9693/3, 9694/3, and 9696/3 were modified.</event> <event version="SE11-001-13" user="greend" date="1997-01-15">New lymphoma codes added.</event> <event version="SE11-001-13" user="greend" date="1997-02-12">Histology code 9688 added.</event> <event version="SE11-001-13" user="greend" date="1997-07-14">Histology codes 9828, 9871-9874 were added. Grade 8 is now an allowable code for leukemias and lymphomas.</event> <event version="SE11-001-16" user="greend" date="2002-09-16">Edit is now skipped if Histology (92-00) ICD-O-2 is blank.</event> <event version="SE11-001-17" user="greend" date="2003-01-30">For cases diagnosed 2001+, a behavior code of '1' is valid for the following histologies: 8931,9393,9538,9950,9960-9962,9980-9984,9989.</event> <event version="SE11-001-18" user="greend" date="2004-02-04">This edit is only executed for cases diagnosed 1973-2000.</event> <event version="SE12-004-01" user="murphyr" date="2011-02-17">Changed '1. The following histology/grade combinations are impossible: grades 5-7 with histologies not in the range 9590-9948' to '1. The following histology/grade combinations are impossible: grades 5-8 with histologies not in the range 9590-9941'</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> </history> </rule>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy