edits.seer.internal.rules.IF556.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="IF556" name="Tumor Size Pathologic, TNM Path T (SEER)" tag="N2291" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,TNM_Path_T,Tumor_Size_Pathologic,Type_of_Reporting_Source,Year_of_Diagnosis"> <expression><![CDATA[boolean dxYearCondition = line.dateOfDiagnosisYear < '2016' || line.dateOfDiagnosisYear > '2017' || line.dateOfDiagnosisYear == null if (dxYearCondition || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1' || line.tnmPathT == null || line.tnmPathT == '88' || line.tumorSizePathologic == null) return true return (line.tumorSizePathologic == '000' && line.tnmPathT == 'p0') || (line.tumorSizePathologic != '000' && line.tnmPathT != 'p0')]]></expression> <message>Tumor Size Pathologic and TNM Path 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 Path T is blank or 88 5.Tumor Size Pathologic is blank. If Tumor Size Pathologic is coded 000, TNM Path T must be coded p0. If TNM Path T is coded p0, Tumor Size Pathologic must be coded 000.]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-04-12" ref="67322">Edit created.</event> <event version="SE18-018-02" user="kirbyk" date="2018-06-22" ref="67922">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> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy