edits.seer.internal.rules.IF608.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="IF608" name="TNM M, SSF 3 Kidney (COC)" tag="N2241" java-path="lines.line" category="inter-field" depends="Histologic_Type_ICD-O-3,Primary_Site,Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2016' || line.typeOfReportingSource == '7' || line.behaviorCodeIcdO3 == '0' || line.behaviorCodeIcdO3 == '1') return true //Skip condition 5 if ((line.tnmClinM == null && line.tnmPathM == null) || (line.tnmClinM == '88' && line.tnmPathM == '88')) return true //Skip conditions 6, 7 if (line.csSiteSpecificFactor3 == null || line.csSiteSpecificFactor3 == '988' || (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7')) return true //Skip condition 4 String siteGroup = (String)((Closure)Context.AJCC7CodeLookup16).call(line) if (siteGroup != '043') return true if (line.csSiteSpecificFactor3 == '020' || line.csSiteSpecificFactor3 == '030') return line.tnmClinM == 'p1' || line.tnmPathM == 'p1' return true]]></expression> <message>TNM M and SSF 3 conflict for Kidney</message> <description><![CDATA[Purpose: This edit verifies that TNM Clin M and TNM Path M are coded consistently with CS SSF 3, Ipsilateral Adrenal Gland Involvement, for Kidney parenchyma. 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. Site/histology group is not 043, Kidney 5. TNM Clin M and TNM Path M are blank or 88 6. CS SSF 3 is blank or 988 7. TNM Edition Number is not = 07, U7 For Kidney (043), SSF 3: A. If SSF 3 = 020 (Noncontiguous involvement of ipsilateral adrenal gland) or 030 (Noncontiguous plus contiguous involvement of ipsilateral adrenal gland) then TNM Clin M must = p1 or TNM Path M must = p1 (Distant metastasis, microscopically confirmed).]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-06-07" ref="67441">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-18" ref="67593">Added skip condition for TNM Edition Number; updated description.</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-01" user="schadega" date="2018-04-11" ref="67741">Edit 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-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy