edits.seer.internal.rules.IF598.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="IF598" name="Tumor Size Pathologic, SSF 6 Breast (SEER)" tag="N2425" 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 conditions 5, 6 if (line.tumorSizePathologic == null || line.csSiteSpecificFactor6 == null || line.csSiteSpecificFactor6 == '988') return true //Skip condition 7 if (line.tnmEditionNumber != '07' && line.tnmEditionNumber != 'U7') return true //Edit is skipped if Site/Histology group is not Breast (32) (skip condition 4) if (((Closure)Context.AJCC7CodeLookup16).call(line) != '032') return true if (line.csSiteSpecificFactor6 == '060') return line.tumorSizePathologic == '999' return true]]></expression> <message>Tumor Size Pathologic and SSF 6 conflict for Breast</message> <description><![CDATA[Purpose: This edit checks for Primary Site of Breast that Tumor Size Pathologic is consistent with CS SSF 6 (Size of Tumor-Invasive Component). 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 032, Breast. 5. Tumor Size Pathologic is blank 6. CS Site-Specific Factor 6 is blank or 988 7. TNM Edition Number not = 07, U7 For Breast: If CS SSF 6 = 060 (Invasive and in situ components present, unknown size of tumor), then Tumor Size Pathologic must be coded 999 or blank]]></description> <history> <event version="SE16-015-01" user="kirbyk" date="2016-05-27" ref="67427">Edit created.</event> <event version="SE16-016-01" user="kirbyk" date="2017-01-18" ref="67625">Added skip condition for TNM Edition Number.</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>