; PEP
; Input
; BQIDFN - Patient IEN
; EVNT - CMET Event IEN
; SYS - '1' = EHR
; Output
; Result - -1 is an error,1 is the most recent event due, 0 is none found
; If SYS is EHR (1) then Last Event Date^Date Next Due
; If SYS is not EHR (0) then Category^Event Code^Event Name^Last Event Date^Next Event Due^next event due fileman^Last Updated Date^Event Visit IEN
;
PAT(DATA,DFN)
; EP -- BTPW GET CMET REMINDERS BY PAT
; Input
; DFN - Patient internal entry number
REC(BQIDFN,DATA)
; PEP - Get future CMET records for a patient
; Input
; BQIDFN - Patient IEN
; DATA - Target
; Output
; Identifier^Category^Event Name^Next Event Due
;