Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SDVSIT

Package: Scheduling

Routine: SDVSIT


Information

SDVSIT ;MJK/ALB - Visit Tracking Processing ; 12/19/12 10:13am

Source Information

Source file <SDVSIT.m>

Entry Points

Name Comments DBIA/ICR reference
AEUPD(SDVIEN,SDATYPE,SDOEP) ; -- update one entry in multiple
; input: SDVIEN := Visit file pointer
; SDATYPE := Appointment Type [optional]
; SDOEP := ien of ^SCE that is the parent encounter [optional]
AEUPDQ
APPT(DFN,SDT,SDCL,SDVIEN) ; -- process appt
; input DFN = ien of patient file entry
; SDT = visit date internal format
; SDCL = ien of hospital location file entry
; SDVIEN = Visit file pointer [optional]
APPTQ
CSTOP(SDOE,SDCL0,SDVSIT,SDT) ;Process credit stop
DISP(DFN,SDT,SDVIEN) ; -- process disposition
; input DFN = ien of patient file entry
; SDT = visit date internal format
; SDIV = ien of med ctr file entry
; SDVIEN = Visit file pointer [optional]
DISPQ
ARRAY(DFN,SDT,SDDA,SDIS,SDVSIT) ; -- setup sdvsit for disposition
LOCK(SDLOCK) ; -- lock "ADFN" node
UNLOCK(SDLOCK) ; -- unlock "ADFN" node
DIV(DIV) ; -- determine med div
DIVQ
SDOE(SDT,SDVSIT,SDVIEN,SDOEP) ; -- get visit & encounter
DATECHCK(DATETIME) ;Validate FileMan date/time

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVSIT - [#9000010] GETS^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call