edits.seer.internal.rules.IFN6159.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.
The newest version!
<rule id="IFN6159" name="EOD Regional Nodes, Pancreas/NET Pancreas, Primary Site (SEER)" tag="N6159" java-path="lines.line" category="inter-field" depends="Year_of_Diagnosis"> <expression><![CDATA[if (line.dateOfDiagnosisYear == null || line.dateOfDiagnosisYear < '2021' || line.typeOfReportingSource == '7' || line.eodRegionalNodes == null) return true if (line.schemaId == null || !['00280','00340','09340'].contains(line.schemaId) || line.primarySite == null) return true return line.eodRegionalNodes != '700' || ['C251','C252'].contains(line.primarySite)]]></expression> <message>EOD Regional Nodes/Site conflict for Pancreas</message> <description><![CDATA[This edit verifies that EOD Regional Nodes is coded consistently with Primary Site for Schema ID 00280, Pancreas and 00340 NET Pancreas. 1. The edit is skipped for the following conditions: a. Date of Diagnosis before 2021, blank (unknown), or invalid. b. Schema ID is blank or not 00280, 00340, or 09340 c. EOD Regional Nodes is blank d. Primary Site is blank e. Type of Reporting Source is 7 (Death Certificate Only) 2. If EOD Regional Nodes = 700 (Pancreas Body, Tail, C251,C252, Celiac) then Primary Site must = C251 or C252]]></description> <history> <event version="SE21-021-04" user="beverung" date="2021-04-28" ref="68607">Edit created.</event> <event version="SE22-022-08" user="secristc" date="2022-06-23" ref="69011">Updated error message.</event> <event version="SE24-024-01" user="beverung" date="2024-03-11" ref="69399">Added skip condition for Schema ID 09340</event> </history> </rule>