edits.seer.internal.rules.IF589.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="IF589" name="TNM T, Breast, Inflam Carcinoma (COC)" tag="N2272" java-path="lines.line" category="inter-field" depends="Behavior_Code_ICD-O-3,Histologic_Type_ICD-O-3,Primary_Site,TNM_Clin_T,TNM_Path_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.tnmPathT == null && line.tnmClinT == null) || (line.tnmPathT == '88' && line.tnmClinT == '88')) return true //Edit is skipped if case is not Breast if (!(Functions.matches(line.primarySite, /^C50[0-689]$/))) return true if (line.histologicTypeIcdO3 == '8530') return line.tnmClinT == 'c4D' || line.tnmPathT == 'p4D' return true]]></expression> <message>TNM T conflicts for Breast Inflammatory Carcinoma</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 (Death Certificate Only) 3. Behavior Code ICD-O-3 = 0 (benign) or 1 (borderline) 4. Primary Site not Breast 5. TNM Clin T and TNM Path T are both blank, 88 For Breast (Site: C500-C506, C508-C509): If Histologic Type ICD-O-3 = 8530 (inflammatory carcinoma) Then TNM Clin T must = c4D or TNM Path T must = p4D]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-23" ref="67412">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