; loop through the AA x-ref and find patient entries marked as
; entered in error (i.e., node 2 exists).
ERREASON
;ERROR REASON
WRTDAT(TYPE,DATA)
;
PO2
HT
Q
; KILL VARIABLES
WRT
;
WT
T
CVP
CG
PN
EN1(RESULT,GMVDFN,GMVBEG,GMVEND)
; [RPC entry point]
; Returns Entered in Error records for a date range
; Input:
; RESULT = Where data is returned (closed array reference) (Required)
; GMVDFN = A pointer to the Patient file (#2) (Required)
; GMVBEG = Beginning date for all vitals
; GMVEND = Ending date for all vitals