Select the objects that you wish to see in the downloaded PDF
Info Source Call Graph Caller Graph Entry Points External References FileMan Files Accessed Via FileMan Db Call Global Variables Directly Accessed Label References Local Variables
; -- stuff in Visit IEN if not already set
; -- needed for those sites that don't have
; scheduling turned on in Visit Tracking
; Required input SDOE = Outpatient Encounter pointer
; SDVIEN = Visit file pointer or null or zero
OKAE(SDOE)
; -- is add/edit ok for credit
VIENQ
GETDISP(DFN,SDT,SDVIEN)
;Look-up Outpatient Encounter IEN for disposition
; Input -- DFN Patient file IEN
; SDT Disposition Date/Time
; SDVIEN Visit file pointer [optional]
; Output -- Outpatient Encounter file IEN
GETAPT(DFN,SDT,SDCL,SDVIEN)
;Look-up Outpatient Encounter IEN for Appt
; Input -- DFN Patient file IEN
; SDT Appointment Date/Time
; SDCL Hospital Location file IEN for Appt
; SDVIEN Visit file pointer [optional]
; Output -- Outpatient Encounter file IEN
GETAE(SDVIEN,SDATYPE,SDOPE)
;Look-up Outpatient Encounter IEN for add/edit
; Input -- SDVIEN Visit file pointer
; SDATYPE Appointment Type [optional]
; SDOEP Parent encounter ien [optional]
;
; Output -- Outpatient Encounter file IEN