edits.seer.internal.rules.IF570.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="IF570" name="TNM Clin T, Surgery, Prostate (COC)" tag="N2237" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,RX_Summ--Surg_Prim_Site,TNM_Clin_T,Type_of_Reporting_Source,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.tnmClinT == null || line.tnmClinT == '88' || line.rxSummSurgPrimSite == null) return true Integer histInt = Functions.asInt(line.histologicTypeIcdO3) if (line.primarySite != 'C619' || !Functions.expandList((List)[8000..8110,8140..8576,8940..8950,8980..8981]).contains(histInt)) return true if (Functions.matches(line.tnmClinT, /^c1[AB]$/)) return line.rxSummSurgPrimSite != '00' && line.rxSummSurgPrimSite != '99' return true]]></expression> <message>TNM Clin T and Surgery conflict for Prostate</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. Type of Reporting Source = 7 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. TNM Clin T is blank or 88 5. RX Summ--Surg Prim Site is blank If Primary Site = C619 and Histologic Type ICD-O-3 = 8000-8110, 8140-8576, 8940-8950, 8980-8981 Then If TNM Clin T = c1A or c1B (codes indicating TURP was done) Then RX Summ--Surg Prim Site must not = 00 or 99]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-13" ref="67392">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-18" ref="67743">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> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy