edits.seer.internal.rules.SEER_IR15.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="SEER_IR15" name="NHIA Derived Hisp Origin not Consistent for Patient (SEER IR15)" tag="S040" java-path="lines" category="inter-record"> <expression><![CDATA[if (lines.isEmpty()) return true String nhia = lines[0].nhiaDerivedHispOrigin for (line in lines) { if (nhia != line.nhiaDerivedHispOrigin) { Functions.forceFailureOnEntity(binding, lines[0]) Functions.forceFailureOnEntity(binding, line) return false } } return true]]></expression> <message>NHIA Derived Hisp origin Inter-Record Error</message> <description><![CDATA[NHIA Derived Hisp Origin[191] must be equal on all records.]]></description> <history> <event version="SE11-001-07" user="greend" date="1991-09-15">Edit verifies each record for both valid pre 88 race and spanish surname codes and post 87 race and spanish surname codes.</event> <event version="SE11-001-08" user="greend" date="1992-12-15">Edit now checks only pre 88 records for valid race and Spanish surname codes.</event> <event version="SE11-001-10" user="greend" date="1994-07-01">Edit does not check patients with diagnoses in 1987 for SF, SJ, and LA. Known Spanish surname code is allowed with unknown race code.</event> <event version="SE11-001-21" user="greend" date="2007-02-01">The original logic of this edit was deleted due to changes over time. The updated logic requires that the NHIA Derived Hisp Origin be the same on all records for a patient.</event> <event version="SE14-011-04" user="depryf" date="2014-04-21" ref="67077">Now reporting all the tumors when this edit fails.</event> <event version="SE16-016-07" user="kirbyk" date="2017-11-09" ref="67672">Now reporting only the two tumors that fail the edit.</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-020-01" user="depryf" date="2020-02-04" ref="68281">Changed property names to align with NAACCR XML IDs.</event> </history> </rule>