edits.seer.internal.rules.IF08.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="IF08" name="Type of Report Srce(DC/AO), Vital Stat (SEER IF08)" tag="N0307" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.typeOfReportingSource ==~/^[67]$/) return line.vitalStatus == '0' || line.vitalStatus == '4' return true]]></expression> <message>Type of Report Srce and Vital Status conflict</message> <description><![CDATA[If Type of Reporting Source[500] = 6 (autopsy only) or 7 (death certificate only case, then Vital Status[1760] must = 0 or 4 (dead).]]></description> <history> <event version="SE11-001-11" user="greend" date="1995-01-10">Program modified to allow zero as a valid code for dead. Zero was added to be consistent with NAACCR coding, however zero will still be flagged as an error in the Vital Status item edit.</event> <event version="SE18-017-01" user="schadega" date="2018-03-15" ref="67716">Removed 4 as a valid code for dead.</event> <event version="SE18-018-02" user="kirbyk" date="2018-06-21" ref="67924">Re-added 4 as a valid code for 'dead'.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>