edits.seer.internal.rules.Reason_for_No_Surgery.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="Reason_for_No_Surgery" name="Reason for No Surgery (NPCR)" tag="N0814" java-path="lines.line" category="field"> <expression><![CDATA[return line.reasonForNoSurgery == null || Functions.matches(line.reasonForNoSurgery, /^[0125-9]$/)]]></expression> <message>Reason for no surgery is not valid.</message> <description><![CDATA[Valid codes for Reason for no surgery[1340] are 0-2,5-9 or blank. 0 = surgery performed 1 = surgery not recommended 2 = Contraindicated due to other conditions 5 = Patient died before recommended surgery 6 = Unknown 7 = Refused 8 = Recommended, unknown if done 9 = Unknown; death certificate only case]]></description> <history> <event version="SE11-001-17" user="greend" date="2003-06-04">Code 5 is now a valid code.</event> <event version="SE16-016-08" user="depryf" date="2017-11-22" ref="67674">Edit syntax updated to allow pre-compilation optimization; no change in behavior.</event> <event version="SE18-019-02" user="kirbyk" date="2019-05-06" ref="68178">Added blank as a valid value and changed edit name.</event> <event version="SE21-021-03" user="kirbyk" date="2021-03-09" ref="68568">Edit tag changed.</event> </history> </rule>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy