Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DG685PST

DG685PST.m

Go to the documentation of this file.
  1. DG685PST ;BAY/ALS;cleanup Patient Date Review exceptions ; 11/15/05
  1. ;;5.3;Registration;**685,1015**;Aug 13,1993;Build 21
  1. ;
  1. ; This is a post-install routine for DG*5.3*685
  1. ; The purpose is to cleanup Patient Data Review exceptions.
  1. ; When an entry exists in the PATIENT DATA EXCEPTION (391.98) file
  1. ; and the corresponding data is missing from the PATIENT DATA
  1. ; ELEMENT (391.99) file the exception will be retired.
  1. ;
  1. EN ;
  1. N DGPDR,IEN
  1. S IEN=0
  1. F S IEN=$O(^DGCN(391.98,IEN)) Q:'IEN D
  1. . I '$O(^DGCN(391.99,"B",IEN,0)) D
  1. .. I $P($G(^DGCN(391.98,IEN,0)),"^",4)'=6 S DGPDR=$$EDIT^VAFCEHU1(IEN,"RD")
  1. Q