source: WorldVistAEHR/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DG685PST.m@ 841

Last change on this file since 841 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 598 bytes
Line 
1DG685PST ;BAY/ALS;cleanup Patient Date Review exceptions ; 11/15/05
2 ;;5.3;Registration;**685**;Aug 13,1993
3 ;
4 ; This is a post-install routine for DG*5.3*685
5 ; The purpose is to cleanup Patient Data Review exceptions.
6 ; When an entry exists in the PATIENT DATA EXCEPTION (391.98) file
7 ; and the corresponding data is missing from the PATIENT DATA
8 ; ELEMENT (391.99) file the exception will be retired.
9 ;
10EN ;
11 N DGPDR,IEN
12 S IEN=0
13 F S IEN=$O(^DGCN(391.98,IEN)) Q:'IEN D
14 . I '$O(^DGCN(391.99,"B",IEN,0)) D
15 .. I $P($G(^DGCN(391.98,IEN,0)),"^",4)'=6 S DGPDR=$$EDIT^VAFCEHU1(IEN,"RD")
16 Q
Note: See TracBrowser for help on using the repository browser.