edits.seer.internal.rules.IF584.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="IF584" name="TNM Path Stage Group, Prim Site, Surg - Ed 7 (COC)" tag="N2262" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,RX_Summ--Surg_Prim_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' || line.typeOfReportingSource == '6' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.tnmPathStageGroup == null || line.tnmPathStageGroup == '88' || line.rxSummSurgPrimSite == null) return true String hist = line.histologicTypeIcdO3 if (Functions.matches(line.primarySite, /^C67\d$/) && ((hist >= '8000' && hist <= '8576') || (hist >= '8490' && hist <= '8950') || hist == '8980' || hist == '8981')) { if (line.tnmPathStageGroup == '0IS' || line.tnmPathStageGroup == '0A') return line.rxSummSurgPrimSite >= '30' && line.rxSummSurgPrimSite != '99' } else { if (line.tnmPathStageGroup == '0' || line.tnmPathStageGroup == '0IS' || line.tnmPathStageGroup == '0A') return line.rxSummSurgPrimSite >= '20' && line.rxSummSurgPrimSite != '99' } return true]]></expression> <message>TNM Path Stage Group, Surgery, Prim Site conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1. Year of Date of Diagnosis is less than 2016, blank (unknown), or invalid 2. Case is autopsy only (Type of Reporting Source = 6) or death certificate only (Type of Reporting Source = 7) 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. TNM Path Stage Group is blank or 88 5. RX Summ--Surg Prim Site is blank Definitive surgical resection is required for TNM Path Stage Group 0, 0IS, and 0A. A. For all site/histology groups except Urinary Bladder (Chapter 45): If TNM Path Stage Group = 0, 0IS, OA Then RX Summ--Surg Prim Site must be equal to or greater than 20 and not equal 99 (unknown) B. For TNM site/histology group Urinary Bladder(Site:C670-C679 Histology: 8000-8576,8490-8950,8980-8981): If TNM Path Stage Group = 0IS or 0A Then RX Summ--Surg Prim Site must be equal to or greater than 30 and not equal 99 (unknown)]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-19" ref="67407">Edit created.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> <event version="SE24-024-04" user="kirbyk" date="2024-04-12" ref="69326">Removed several dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy