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: VPRDSDAM

Package: Virtual Patient Record

Routine: VPRDSDAM


Information

VPRDSDAM ;SLC/MKB -- Appointment extract ;8/2/11 15:29

Source Information

Source file <VPRDSDAM.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Virtual Patient Record 2 ($$ESC,$$FAC)^VPRD  $$AMIS^VPRDVSIT  
Scheduling 1 $$SDAPI^SDAMA301  
VA FileMan 1 ($$GET1,GETS)^DIQ  

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: 1

Package Total Caller Graph
Virtual Patient Record 1 VPRDJ04  

Entry Points

Name Comments DBIA/ICR reference
EN(DFN,BEG,END,MAX,ID) ; -- find patient's [future] appointments
EN1(DATE,APPT) ; -- return an appointment in APPT("attribute")=value
; Expects ^TMP($J,"SDAMA301",DFN,DATE)
SERV(FTS) ; -- Return #42.4 Service for a Facility Treating Specialty
DGS(IFN,ADM) ; -- return a scheduled admission in ADM("attribute")=value
XML(APPT) ; -- Return appointment as XML
LOOP() ; -- build sub-items string from NAMES and X
ADD(X) ; -- Add a line @VPR@(n)=X

External References

Name Field # of Occurrence
$$GET1^DIQ EN1+9, EN1+11, EN1+13, SERV+2, DGS+7, DGS+8, DGS+10
GETS^DIQ EN1+15
$$SDAPI^SDAMA301 EN+10, EN+16
$$ESC^VPRD XML+5, LOOP+2
$$FAC^VPRD EN1+20, DGS+11
$$AMIS^VPRDVSIT EN1+8, DGS+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SC - [#44] GET1^DIQ,  GETS^DIQ
^DIC(45.7 - [#45.7] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGS(41.1 - [#41.1] EN+25, EN+26, DGS+2
^DIC(42 - [#42] DGS+3
^SC - [#44] DGS+6
^TMP($J EN+12!, EN+17, EN+18, EN+22!, EN1+3
^VA(200 - [#200] EN1+19, DGS+12

Label References

Name Line Occurrences
$$LOOP XML+6
$$SERV EN1+10, DGS+9
ADD XML+2, XML+3, XML+7
DGS EN+29
EN1 EN+11, EN+20
XML EN+11, EN+21, EN+30

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADM DGS~, DGS+1!
ADM("apptStatus" DGS+14*
ADM("clinicStop" DGS+7*
ADM("dateTime" DGS+4*
ADM("facility" DGS+11*
ADM("id" DGS+4*, DGS+5*
ADM("location" DGS+6*
ADM("patientClass" DGS+13*
ADM("provider" DGS+12*
ADM("service" DGS+9*, DGS+10*
ADM("serviceCategory" DGS+13*
ADM("visitString" DGS+5*
APPT EN1~, EN1+2!, XML~
APPT( XML+3, XML+4
APPT("apptStatus" EN1+23*
APPT("clinicStop" EN1+8*
APPT("dateTime" EN1+6*
APPT("facility" EN1+20*
APPT("id" EN1+6*
APPT("location" EN1+7*
APPT("patientClass" EN1+21*
APPT("provider" EN1+19*
APPT("service" EN1+10*, EN1+11*
APPT("serviceCategory" EN1+22*
APPT("type" EN1+4*
APPT("visitString" EN1+24*
ATT XML+1~, XML+3*, XML+4, XML+5, XML+6
BEG EN~, EN+3*, EN+5, EN+9*, EN+11, EN+28
CLS EN1+2~, EN1+5*, EN1+21, EN1+22
DATE EN1~, EN1+3, EN1+4*, EN1+6, EN1+24, DGS+1~, DGS+3*, DGS+4, DGS+5
DFN EN~, EN+2*, EN+5, EN+12, EN+17, EN+18, EN+22, EN+25, EN1+3
DT EN+3, EN+19
END EN~, EN+4*, EN+5, EN+9*, EN+28
FIRST EN1+14~, EN1+16*, EN1+18
FTS SERV~, SERV+1*, SERV+2
HLOC EN1+2~, EN1+4*, EN1+6, EN1+7, EN1+9, EN1+11, EN1+13, EN1+15, EN1+20, EN1+24
, DGS+1~, DGS+3*, DGS+4, DGS+5, DGS+6, DGS+7, DGS+8, DGS+10, DGS+11
I EN1+14~, EN1+16*, EN1+17*
ID EN~, EN+8, EN+9
IFN DGS~, DGS+2
MAX EN~, EN+4*, EN+17, EN+25
NAMES XML+1~, XML+6*, LOOP+2
P LOOP+1~, LOOP+2*
PRV EN1+2~, EN1+13*, EN1+17*, EN1+18*, EN1+19
STR LOOP+1~*, LOOP+2*, LOOP+3
STS EN1+2~, EN1+5*, EN1+23
SV EN1+2~, EN1+9*, EN1+10, EN1+11, DGS+1~, DGS+8*, DGS+9, DGS+10
TAG LOOP+1~, LOOP+2*
U EN+18, EN+27, EN+28, EN1+4, EN1+5, EN1+8, EN1+19, DGS+3, DGS+6, DGS+12
, DGS+14, LOOP+2
>> VPR ADD+2
VPRA EN+1~, EN+25*, EN+26, EN+29
VPRCNT EN+1~, EN+16*, EN+17, EN+21*, EN+25, EN+30*
VPRDT EN+1~, EN+16*, EN+17*, EN+18, EN+19, EN+20
>> VPRI ADD+1*, ADD+2
VPRITM EN+1~, EN+11, EN+20!, EN+21, EN+29!, EN+30
VPRNUM EN+1~, EN+10*, EN+16*
VPRP EN1+14~
VPRP( EN1+16, EN1+17, EN1+18
>> VPRTOTL XML+2*
VPRX EN+1~, EN+10, EN+16, EN+26*, EN+27, EN+28
VPRX("FLDS" EN+5*
VPRX("SORT" EN+5*
VPRX(1 EN+5*, EN+9*
VPRX(2 EN+9*
VPRX(3 EN+15*
VPRX(4 EN+5*
X EN+1~, EN+18*, EN+19, EN+28*, EN1+2~, EN1+3*, EN1+4, EN1+5, EN1+8, DGS+1~
, DGS+7*, DGS+12*, XML+1~, XML+4*, XML+5, XML+6, LOOP+2, ADD~, ADD+2
X0 DGS+1~, DGS+2*, DGS+3, DGS+12, DGS+14
Y SERV+1~*, SERV+2*, SERV+3, XML+1~, XML+3, XML+4*, XML+5*, XML+6*
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