SDVSIT2 ;ALB/RMO/MJK - Encounter Utilities;28 DEC 1992 10:00 am
Source file <SDVSIT2.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| GETAPT(DFN,SDT,SDCL,SDVIEN) | ;Look-up Outpatient Encounter IEN for Appt
 ; This utility will return the existing IEN for an Outpatient ; Encounter. If it fails to find an existing encounter, ; it will create a new Encounter and return the new 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  | 
|
| 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  | 
|
| OKAE(SDOE) | ; -- is add/edit ok for credit
 | 
|
| VIEN(SDOE,SDVIEN) | ; -- 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  | 
|
| VIENQ | 
| FileNo | Call Tags | 
|---|---|
| ^SCE - [#409.68] | Classic Fileman Calls |