edits.seer.internal.rules.IF553.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="IF553" name="Tumor Size Clinical, TNM Clin T (SEER)" tag="N2289" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[boolean dxYearCondition = line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' if (dxYearCondition || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.tnmClinT == null || line.tnmClinT == '88' || line.tumorSizeClinical == null) return true return (line.tumorSizeClinical == '000' && line.tnmClinT == 'c0') || (line.tumorSizeClinical != '000' && line.tnmClinT != 'c0')]]></expression> <message>Tumor Size Clinical and TNM Clin T conflict</message> <description><![CDATA[This edit is skipped if any of the following conditions are true: 1.Diagnosis date < 2016 or > 2017, blank (unknown), invalid, or blank. 2.Type of Reporting Source = 7 (Death Certificate Only) 3.Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4.TNM Clin T is blank or 88 5.Tumor Size Clinical is blank. If Tumor Size Clinical is coded 000, TNM Clin T must be coded c0. If TNM Clin T is coded c0, Tumor Size Clinical must be coded 000.]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67318">Edit created.</event> <event version="SE18-018-02" user="kirbyk" date="2018-06-22" ref="67921">Edit restricted to 2016-2017 cases.</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="kirbyk" date="2021-03-09" ref="68568">Edit name changed.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>