edits.seer.internal.rules.IF05.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="IF05" name="Type of Report Srce(DC/AO), Diag Conf (SEER IF05)" tag="N0018" java-path="lines.line" category="inter-field"> <expression><![CDATA[if (line.typeOfReportingSource == '6') return line.diagnosticConfirmation ==~/^[16]$/ if (line.typeOfReportingSource == '7') return line.diagnosticConfirmation == '9' return true]]></expression> <message>Type of Report Srce and Diagnostic Confirmation conflict</message> <description><![CDATA[1. If Type of Reporting Source[500] = 6 (autopsy only), then Diagnostic Confirmation[490] must = 1 (positive histology) or 6 (direct visualization without microscopic confirmation). 2. If Type of Reporting Source[500] = 7 (death certificate only), then Diagnostic Confirmation[490] must = 9 (unknown, whether or not microscopically confirmed).]]></description> <history> <event version="SE11-001-01" user="greend" date="1985-08-20">For autopsy cases, diagnostic confirmation may be 1 or 6.</event> <event version="SE24-024-06" user="kirbyk" date="2024-07-22" ref="69326">Removed edit dependencies.</event> </history> </rule>