edits.seer.internal.rules.IFN7044.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="IFN7044" name="EOD Primary Tumor, NET Jejunum and Ileum, Tumor Size Summary (SEER)" tag="N7044" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear < '2024' || line.dateOfDiagnosisYear == null || line.schemaId != '09310' || line.schemaId == null || line.eodPrimaryTumor == null || line.tumorSizeSummary == null || line.typeOfReportingSource == '7') return true if (line.eodPrimaryTumor == '100') return Functions.matches(line.tumorSizeSummary, /^00[1-9]|010|99[09]$/) return true]]></expression> <message>Tumor Size Summary is inconsistent with EOD Primary Tumor.</message> <description><![CDATA[This edit verifies that EOD Primary Tumor code 100 is coded consistently with Tumor Size Summary for Schema ID 09310 NET Jejunum and Ileum. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2024, blank (unknown), or invalid. b. Schema ID is blank or not 09310 c. Tumor Size Summary is blank d. EOD Primary Tumor is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Primary Tumor = 100 (Tumor less than or equal to 1cm AND confined to Intramucosal NOS, lamina propria, Mucosa NOS, Muscularis mucosae, Submucosa; Localized NOS) Tumor Size Summary must = 001-010, 990, 999 ]]></description> <history> <event version="SE24-024-03" user="kirbyk" date="2024-03-20" ref="69435">Edit created.</event> </history> </rule>