edits.seer.internal.rules.IFN6129.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="IFN6129" name="Tumor Size 998, Schema ID (SEER)" tag="N6129" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2019' || line.dateOfDiagnosisYear > '2023' || line.typeOfReportingSource == '7') return true if (line.tumorSizeSummary == '998' || line.tumorSizeClinical == '998' || line.tumorSizePathologic == '998') return ((List)Context.IFN_6129_SchemaId_List).contains(line.schemaId) return true]]></expression> <message>Tumor Size conflicts with Schema ID</message> <description><![CDATA[This edit verifies that Tumor Size is coded consistently with Schema ID. 1. This edit is skipped if Diagnosis date < 2019, > 2023, empty (unknown), or in error, or if Type of Reporting Source is 7 2. If Tumor Size Summary, Tumor Size Clinical, or Tumor Size Pathologic is coded 998, Schema ID must = 00161 - Esophagus (including GE junction) Squamous 00169 - Esophagus (including GE junction) (excluding Squamous) 00170 - Stomach 00200 - Colon and Rectum 00290 - NET Stomach 00330 - NET Colon and Rectum 00360 - Lung 00370 - Pleural Mesothelioma 00400 - Soft Tissue Head and Neck 00410 - Soft Tissue Trunk and Extremities 00421 - Soft Tissue Abdomen and Thoracic 00430 - GIST 00450 - Soft Tissue Rare 00459 - Soft Tissue Other 00470 - Melanoma Skin 00480 - Breast]]></description> <history> <event version="SE18-019-07" user="beverung" date="2019-10-18" ref="68263">Edit created.</event> <event version="SE18-020-02" user="beverung" date="2020-03-27" ref="68329">Added 00480 (Breast) to list of Schema IDs.</event> <event version="SE22-022-01" user="beverung" date="2022-01-20" ref="68897">Update edit name to match new NAACCR translated edit.</event> <event version="SE22-022-01" user="smithm" date="2022-02-28" ref="68824">Added 00459 to list of Schema IDs. Update skip condition</event> <event version="SE24-024-01" user="cooki" date="2024-03-08" ref="69397">Added 2024 skip condition.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed some edit dependencies.</event> </history> </rule>