Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
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  | All
Print Page as PDF
Routine: SDVSIT2

Package: Scheduling

Routine: SDVSIT2


Information

SDVSIT2 ;ALB/RMO/MJK - Encounter Utilities;28 DEC 1992 10:00 am

Source Information

Source file <SDVSIT2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Scheduling 2 $$REQ^SDM1A  (AEUPD,APPT,DISP)^SDVSIT  
VA FileMan 1 ^DIE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 18

Package Total Caller Graph
Scheduling 16 SCCVEAP3  SCCVEDI3  SDAMBMR  SDAMQ3  SDAMQ5  SDAPIAE0  SDAPIAP  SDAPIDP  
SDCO1  SDCOAM  SDCWL  SDEC07  SDEC25  SDEC25A  SDES25  SDSTAT  
Registration 2 DGDIS1  DGREGE  

Entry Points

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

External References

Name Field # of Occurrence
^DIE VIEN+15, VIEN+19
$$REQ^SDM1A OKAE+3
AEUPD^SDVSIT GETAE+8
APPT^SDVSIT GETAPT+12
DISP^SDVSIT GETDISP+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCE - [#409.68] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT - [#9000010] VIEN+18
^DPT - [#2] GETAPT+11, GETAPT+12, GETDISP+6, GETDISP+7
^SCE - [#409.68] OKAE+2, VIEN+9
^SCE("AVSIT" GETAE+7, GETAE+8

Label References

Name Line Occurrences
VIEN GETAPT+13, GETAE+9, GETDISP+8
VIENQ VIEN+7, VIEN+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA VIEN+14~, VIEN+15*, VIEN+17~, VIEN+19*
DFN GETAPT~, GETAPT+11, GETAPT+12, GETDISP~, GETDISP+6, GETDISP+7
DIE VIEN+14~, VIEN+15*, VIEN+17~, VIEN+19*
DR VIEN+14~, VIEN+15*, VIEN+17~, VIEN+19*
SDATYPE GETAE~, GETAE+8
SDCL GETAPT~, GETAPT+12
SDLOC VIEN+17~, VIEN+18*, VIEN+19
SDOE OKAE~, OKAE+2, VIEN~, VIEN+9, VIEN+15, VIEN+19
SDOE0 VIEN+8~, VIEN+9*, VIEN+11, VIEN+13, VIEN+16
SDOPE GETAE~, GETAE+8
SDT GETAPT~, GETAPT+11, GETAPT+12, GETDISP~, GETDISP+6, GETDISP+7
SDVIEN GETAPT~, GETAPT+12, GETAPT+13, GETAE~, GETAE+7, GETAE+8, GETAE+9, GETDISP~, GETDISP+7, GETDISP+8
, VIEN~, VIEN+7, VIEN+15, VIEN+18
U OKAE+3, VIEN+13, VIEN+16, VIEN+18
X OKAE+1~, OKAE+2*, OKAE+3
Y GETAPT+10~, GETAPT+11*, GETAPT+12*, GETAPT+13, GETAPT+14, GETAE+6~, GETAE+7*, GETAE+8*, GETAE+9, GETAE+10
, GETDISP+5~, GETDISP+6*, GETDISP+7*, GETDISP+8, GETDISP+9, OKAE+1~*, OKAE+3*, OKAE+4, VIEN+8~
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  | All