edits.seer.internal.rules.IF36.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="IF36" name="Vital Status, Cause of Death (SEER IF36)" tag="N0250" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.vitalStatus == '1') return line.causeOfDeath == '0000' if (line.vitalStatus == '0') return line.causeOfDeath != '0000' return true]]></expression> <message>Vital Status and Cause of Death conflict</message> <description><![CDATA[If Vital Status[1760] is 1 (alive), then Cause of Death[1910] must = 0000 (alive). If Vital Status[1760] = 0 (dead), then Cause of Death[1910] must not = 0000 (alive).]]></description> <history> <event version="SE18-017-01" user="schadega" date="2018-03-15" ref="67718">Update death code from 4 to 0.</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="SE22-022-01" user="secristc" date="2022-01-14" ref="68826">Removed 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>