edits.seer.internal.rules.NCDB--SARSCoV2--Test.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="NCDB--SARSCoV2--Test" name="NCDB--SARSCoV2--Test (COC)" tag="N6403" java-path="lines.line" category="field"> <expression><![CDATA[return line.ncdbSarsCov2Test == null || line.ncdbSarsCov2Test == '0' || line.ncdbSarsCov2Test == '1' || line.ncdbSarsCov2Test == '9']]></expression> <message>Not a valid value for NCDB--SARSCoV2--Test</message> <description><![CDATA[This edit checks valid values for NCDB--SARSCoV2--Test. The data item may be blank. Valid values: 0 Patient not tested for SARS-CoV-2; facility records support that patient did not undergo pre-admit or in-hospital testing 1 Patient tested for active SARS-CoV-2 9 Unknown if patient tested for SARS-CoV-2 No facility record of preadmit hospital testing of SARS-CoV-2]]></description> <history> <event version="SE21-021-04" user="smithm" date="2021-04-21" ref="68617">Edit created.</event> </history> </rule>