MBAAMDA2 ;OIT-PD/VSL - APPOINTMENT API ;02/10/2016
Source file <MBAAMDA2.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
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 |
|
LSTAPPT(RETURN,SEARCH,START,NUMBER) | ; Lists appointment types MBAA RPC: MBAA APPOINTMENT LIST BY NAME
|
|
APTYNAME(TYPE) | ; Get appointment type name MBAA RPC: MBAA PATIENT PENDING APPT
|
|
GETAPTS(RETURN,DFN,SD) | ; Get patient appointments Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
GETDAPTS(RETURN,DFN,SD) | ; Get all appointments in the day Called by RPC MBAA APPOINTMENT MAKE
|
|
LSTCRSNS(RETURN,SEARCH,START,NUMBER) | ; MBAA RPC: MBAA LIST CANCELLATION REASONS
|
|
LSTCSTA1(RETURN,SEARCH,START,NUMBER) | ; Returns the list of states that allow cancellation. MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
LSTCIST1(RETURN,SEARCH,START,NUMBER) | ; Returns the list of states that allow check in. MBAA RPC: MBAA APPOINTMENT MAKE
|
|
GETAPT0(DFN,SD) | ; Get appointment 0 node MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
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 |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | GETDAPTS+4, GETAPT0+1 |
^SC - [#44] | SLOTS+9 |
>> | 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 |