edits.seer.internal.rules.IF09.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="IF09" name="Type of Report Srce(DC/AO), COD (SEER IF09)" tag="N0094" java-path="lines.line" category="inter-field"> <expression><![CDATA[if ((line.typeOfReportingSource ==~/^[67]$/ && line.causeOfDeath == '0000') || (line.typeOfReportingSource == '7' && line.causeOfDeath == '7777')) return false return true]]></expression> <message>Type of Report Srce and Cause of Death conflict</message> <description><![CDATA[If Type of Reporting Source[500] = 6(autopsy only) or 7(Death certificate only), then Cause of Death[1910] must not = 0000 (alive). If Type of Reporting Source[500] = 7 (death certificate only cases, then Cause of Death[1910] must not = 7777 (death certificate not available).]]></description> <history> <event version="SE11-001-01" user="greend" date="1985-07-29">Added an edit: if the reporting source is a death certificate, then the cause of death cannot be '7777'.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy