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 |  Local Variables |  All
Print Page as PDF
Routine: MBAAMDA2

Package: Mobile Scheduling Applications Suite

Routine: MBAAMDA2


Information

MBAAMDA2 ;OIT-PD/VSL - APPOINTMENT API ;02/10/2016

Source Information

Source file <MBAAMDA2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA FileMan 2 LIST^DIC  ($$GET1,GETS)^DIQ  
Kernel 1 $$FMADD^XLFDT  
Mobile Scheduling Applications Suite 1 GETREC^MBAAMDAL  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Mobile Scheduling Applications Suite 5 MBAAMAP1  MBAAMAP2  MBAAMAP3  MBAARPC1  MBAARPC2  

Entry Points

Name Comments DBIA/ICR reference
APTYNAME(TYPE) ; Get appointment type name MBAA RPC: MBAA PATIENT PENDING APPT
LSTCIST1(RETURN,SEARCH,START,NUMBER) ; Returns the list of states that allow check in. MBAA RPC: MBAA APPOINTMENT MAKE
SLOTS(RETURN,SC,SD) ; Get available slots MBAA RPC: MBAA GET CLINIC AVAILABILITY
; RETURN - RETURN array passed in by reference
; SC - scheduling clinic IEN of File #44
; SD - starting date for slots - use DT if not passed in
GETPAPT(RETURN,DFN,SD) ; Get patient appointment Called by RPC MBAA APPOINTMENT MAKE
; MBAA*1*7;WCJ;Seems like it would more efficient to string them all together and make one GETS^DIQ call, just saying
GETAPT0(DFN,SD) ; Get appointment 0 node MBAA RPC: MBAA CANCEL APPOINTMENT
LSTAPPT(RETURN,SEARCH,START,NUMBER) ; Lists appointment types MBAA RPC: MBAA APPOINTMENT LIST BY NAME
LSTCSTA1(RETURN,SEARCH,START,NUMBER) ; Returns the list of states that allow cancellation. MBAA RPC: MBAA CANCEL APPOINTMENT
GETDAPTS(RETURN,DFN,SD) ; Get all appointments in the day Called by RPC MBAA APPOINTMENT MAKE
GETAPTS(RETURN,DFN,SD) ; Get patient appointments Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT
LSTCRSNS(RETURN,SEARCH,START,NUMBER) ; MBAA RPC: MBAA LIST CANCELLATION REASONS

External References

Name Field # of Occurrence
LIST^DIC LSTAPPT+4, LSTCRSNS+9, LSTCSTA1+6, LSTCIST1+6
$$GET1^DIQ APTYNAME+1, GETPAPT+4
GETS^DIQ SLOTS+12, GETDAPTS+6
GETREC^MBAAMDAL GETAPTS+9
$$FMADD^XLFDT SLOTS+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
2.98 GET1^DIQ,  GETS^DIQ
^SD(409.1 - [#409.1] GET1^DIQ
44.005 GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] GETDAPTS+4, GETAPT0+1
^SC - [#44] SLOTS+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> APTS("APT" GETAPTS+15, GETAPTS+16, GETAPTS+17
ARRAY SLOTS+10~, GETDAPTS+6~
ARRAY( SLOTS+13, SLOTS+14, GETDAPTS+7, GETDAPTS+8
DFN GETAPTS~, GETAPTS+9, GETDAPTS~, GETDAPTS+4, GETDAPTS+6, GETAPT0~, GETAPT0+1, GETPAPT~, GETPAPT+4
DT SLOTS+6
ERR SLOTS+10~
FIELDS LSTAPPT+1~, LSTAPPT+2*, LSTAPPT+4, LSTCRSNS+1~, LSTCRSNS+2*, LSTCRSNS+9, LSTCSTA1+1~, LSTCSTA1+2*, LSTCSTA1+6, LSTCIST1+1~
, LSTCIST1+2*, LSTCIST1+6
FILE LSTAPPT+1~, LSTAPPT+2*, LSTAPPT+4, GETAPTS+6~, GETAPTS+7*, GETAPTS+9, LSTCRSNS+1~, LSTCRSNS+2*, LSTCRSNS+9, LSTCSTA1+1~
, LSTCSTA1+2*, LSTCSTA1+6, LSTCIST1+1~, LSTCIST1+2*, LSTCIST1+6
IENS SLOTS+10~, SLOTS+11*, SLOTS+12, SLOTS+13, SLOTS+14, GETDAPTS+6*, GETDAPTS+7, GETDAPTS+8
IND GETDAPTS+3*, GETDAPTS+4*, GETDAPTS+7, GETDAPTS+8, GETPAPT+2~, GETPAPT+3*, GETPAPT+4
NOD GETDAPTS+1~
NUMBER LSTAPPT~, LSTAPPT+4, LSTCRSNS~, LSTCRSNS+9, LSTCSTA1~, LSTCSTA1+6, LSTCIST1~, LSTCIST1+6
RET LSTAPPT+1~, LSTCRSNS+1~, LSTCSTA1+1~, LSTCIST1+1~
RETURN SLOTS~, LSTAPPT~, GETAPTS~, GETAPTS+9, GETDAPTS~, GETDAPTS+2*, GETDAPTS+9*, LSTCRSNS~, LSTCRSNS+8!, LSTCSTA1~
, LSTCIST1~, GETPAPT~, GETPAPT+5*
RETURN( SLOTS+13*, SLOTS+14*, SLOTS+15*, SLOTS+16*, GETDAPTS+7*, GETDAPTS+8*, GETPAPT+3, GETPAPT+4*
RETURN("APT" GETAPTS+17*
RETURN("TYPE" LSTCRSNS+6
SC SLOTS~, SLOTS+9, SLOTS+11
SCR LSTCRSNS+1~, LSTCRSNS+7*, LSTCRSNS+9, LSTCSTA1+1~, LSTCSTA1+6, LSTCIST1+1~, LSTCIST1+6
SD SLOTS~, SLOTS+6*, SLOTS+7*, SLOTS+9*, SLOTS+11, SLOTS+13, SLOTS+14, SLOTS+15, SLOTS+16, GETAPTS~
, GETAPTS+9, GETAPTS+15, GETDAPTS~, GETDAPTS+3, GETDAPTS+4, GETDAPTS+6, GETAPT0~, GETAPT0+1, GETPAPT~, GETPAPT+4
SD(0 GETAPTS+15
SEARCH LSTAPPT~, LSTAPPT+3*, LSTAPPT+4, LSTCRSNS~, LSTCRSNS+3*, LSTCRSNS+9, LSTCSTA1~, LSTCSTA1+3*, LSTCSTA1+6, LSTCIST1~
, LSTCIST1+3*, LSTCIST1+6
SFILES GETAPTS+6~, GETAPTS+9
SFILES("1900" GETAPTS+8*
START LSTAPPT~, LSTAPPT+3*, LSTAPPT+4, LSTCRSNS~, LSTCRSNS+3*, LSTCRSNS+9, LSTCSTA1~, LSTCSTA1+3*, LSTCSTA1+6, LSTCIST1~
, LSTCIST1+3*, LSTCIST1+6
START(1 LSTCSTA1+4*, LSTCIST1+4*
START(2 LSTCSTA1+5*, LSTCIST1+5*
TMPDT GETAPTS+6~, GETAPTS+15*, GETAPTS+16*, GETAPTS+17
TYP LSTCRSNS+1~, LSTCRSNS+6*
TYPE APTYNAME~, APTYNAME+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Local Variables |  All