MBAAMDA1 ;OIT-PD/CBR - APPOINTMENT API ;02/10/2016
Source file <MBAAMDA1.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 |
---|---|---|
GETCLN(RETURN,CLN,INT,EXT,REZ) | ; Get clinic detail Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT, MBAA PATIENT PENDING APPT
|
|
GETCLNX(RETURN,SC) | ; Get clinic detailx Called by RPC MBAA APPOINTMENT MAKE
|
|
GETCSC(FLDS,CSC) | ; Get Clinic Stop Code MBAA RPC: MBAA APPOINTMENT MAKE
|
|
GETHOL(RETURN,SDATE) | ; Get holiday. Called by RPC MBAA APPOINTMENT MAKE
|
|
GETPATT(RETURN,SC,SD) | ; Get date pattern Called by RPC MBAA APPOINTMENT MAKE
|
|
GETSCAP(RETURN,SC,DFN,SD) | ; Get clinic appointment Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT, MBAA PATIENT PENDING APPT
|
|
GETCAPT(RETURN,SC,SD,IFN,FLAG) | ; Get clinic appointment by IFN Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
LOCKST(SC,SD) | ; Lock availability node Called by RPC MBAA APPOINTMENT MAKE
|
|
UNLCKST(SC,SD) | ; Lock availability node Called by RPC MBAA APPOINTMENT MAKE
|
|
LOCKS(SC,SD) | ; Lock clinic date node Called by RPC MBAA APPOINTMENT MAKE
|
|
UNLCKS(SC,SD) | ; Unlock clinic date node Called by RPC MBAA APPOINTMENT MAKE
|
|
SETST(SC,SD,S) | ; Set availability Called by RPC MBAA APPOINTMENT MAKE
|
|
MAKE(SC,SD,DFN,LEN,SM,USR,OTHR,RQXRAY) | ||
CANCEL(SC,SD,DFN,CIFN) | ; Kill clinic appointment Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
COVERB(SC,SD,IFN) | ; Kill first overbook appointment Called by RPC MBAA APPOINTMENT MAKE, MBAA RPC: MBAA CANCEL APPOINTMENT
|
|
GETFSTA(SC) | ; Get first available day. Called by RPC MBAA APPOINTMENT MAKE
|
|
GETDAYA(RETURN,SC,SD) | ; Get all day appointments Called by RPC MBAA APPOINTMENT MAKE
|
|
GETDST(SC,SD) | ; Get day slot Called by RPC MBAA APPOINTMENT MAKE
|
|
GETDPATT(RETURN,SC,SD,DAY) | ; Called by RPC MBAA APPOINTMENT MAKE
|
|
ADDPATT(DATA,SC,SD) | ; Add day pattern Called by RPC MBAA APPOINTMENT MAKE
|
|
LSTAENC(RETURN,SEARCH,START,NUMBER) | ; Returns active encounters. MBAA RPC: MBAA APPOINTMENT MAKE
|
FileNo | Call Tags |
---|---|
^HOLIDAY - [#40.5] | GET1^DIQ |
^DIC(40.7 - [#40.7] | GETS^DIQ |
^SC - [#44] | Classic Fileman Calls, GET1^DIQ, GETS^DIQ |
44.003 | GETS^DIQ |
44.005 | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^SC - [#44] | GETSCAP+2, GETSCAP+4, GETSCAP+5, LOCKST+1, UNLCKST+1, LOCKS+1, UNLCKS+1, CANCEL+6!, CANCEL+7!, CANCEL+10 , COVERB+1, COVERB+4, COVERB+5!, GETFSTA+3, GETDAYA+3, GETDAYA+5, GETDAYA+6, GETDPATT+1, GETDPATT+2 |
^SC("ARAD" | CANCEL+4* |
Name | Line Occurrences |
---|---|
SETST | CANCEL+28 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | GETDAYA+4*, GETDAYA+5*, GETDAYA+6, GETDAYA+11, GETDAYA+12*, GETDAYA+13, GETDAYA+14 |
APTCAN | GETSCAP+7~, GETSCAP+12*, GETSCAP+14 |
ARRAY | GETSCAP+7~, GETSCAP+8~ |
ARRAY( | GETSCAP+9, GETSCAP+10, GETSCAP+11, GETSCAP+12 |
C | GETCSC+1~ |
C( | GETCSC+4, GETCSC+5 |
CAPT | GETCAPT+1~, GETDAYA+15! |
CAPT( | GETCAPT+5, GETDAYA+13, GETDAYA+14 |
CAPT("LENGTH" | CANCEL+19 |
CIFN | CANCEL~, CANCEL+6 |
CLERK | GETSCAP+7~, GETSCAP+11*, GETSCAP+14 |
CLN | GETCLN~, GETCLN+6 |
CO | GETSCAP+1~ |
CON1 | GETSCAP+7~, GETSCAP+12*, GETSCAP+14 |
CSC | GETCSC~, GETCSC+2, GETCSC+4, GETCSC+5 |
D | GETDAYA+1~, GETDAYA+3*, GETDAYA+5, GETDAYA+6 |
DA | GETCAPT+3*, GETDAYA+11*, GETDAYA+12, GETDAYA+15! |
DATA | ADDPATT~ |
DATA( | ADDPATT+4, ADDPATT+5 |
DAY | GETDPATT~, GETDPATT+1, GETDPATT+2 |
DFN | GETSCAP~, GETSCAP+9, GETSCAP+14, MAKE~, MAKE+9, CANCEL~, CANCEL+4 |
DIC | GETCAPT+2*, GETDAYA+11*, GETDAYA+15! |
DIQ | GETCAPT+2*, GETDAYA+11*, GETDAYA+15! |
DIQ(0 | GETCAPT+2* |
DR | GETCAPT+3*, GETDAYA+11*, GETDAYA+15! |
DTMADE | GETSCAP+7~, GETSCAP+11*, GETSCAP+14 |
ELIG | GETSCAP+7~, GETSCAP+12*, GETSCAP+14 |
ERR | GETSCAP+7~, GETSCAP+8~, SETST+3~, MAKE+1~, ADDPATT+1~ |
EXT | GETCLN~, GETCLN+6 |
FDA | SETST+3~, MAKE+1~, MAKE+7!, ADDPATT+1~ |
FDA( | SETST+7*, MAKE+4*, MAKE+9*, MAKE+10*, MAKE+11*, MAKE+12*, MAKE+13*, MAKE+14*, MAKE+17*, ADDPATT+5* |
FIELDS | LSTAENC+1~, LSTAENC+2*, LSTAENC+6 |
FILE | GETCLN+1~, GETCLN+2*, GETCLN+6, LSTAENC+1~, LSTAENC+2*, LSTAENC+6 |
FLAG | GETCAPT~, GETCAPT+2 |
FLD | GETCSC+1~, GETCSC+3*, GETCSC+4*, GETCSC+5 |
FLDS | GETCLN+1~, GETCLN+6, GETCSC~, GETSCAP+6*, GETSCAP+8 |
FLDS( | GETCSC+5* |
FLDS("*" | GETCLN+3* |
HSI | CANCEL+2~, CANCEL+15*, CANCEL+20 |
I | CANCEL+22*, GETFSTA+1~, GETFSTA+2*, GETFSTA+3, GETDAYA+1~, GETDAYA+2*, GETDAYA+3, GETDAYA+16*, ADDPATT+1~, ADDPATT+4* , ADDPATT+5 |
IENS | GETPATT+3*, GETSCAP+6*, GETSCAP+8, GETSCAP+9, GETSCAP+10, GETSCAP+11, GETSCAP+12, SETST+3~, SETST+4*, SETST+7 , MAKE+1~, MAKE+2*, MAKE+4, MAKE+7!, MAKE+8*, MAKE+9, MAKE+10, MAKE+11, MAKE+12, MAKE+13 , MAKE+14, MAKE+17, CANCEL+12~, CANCEL+13*, CANCEL+18~, CANCEL+20*, GETDST+2*, ADDPATT+1~, ADDPATT+2*, ADDPATT+5 |
IENS(1 | ADDPATT+3* |
IENS(2 | MAKE+3*, MAKE+6 |
IFN | GETCAPT~, GETCAPT+3, GETCAPT+5, GETCAPT+7, COVERB~, COVERB+1, COVERB+3 |
IND | GETCLNX+1~, GETCLNX+2*, GETCLNX+3, GETDAYA+1~ |
INT | GETCLN~, GETCLN+6 |
LEN | GETSCAP+7~, GETSCAP+10*, GETSCAP+14, MAKE~, MAKE+10 |
NUMBER | LSTAENC~, LSTAENC+6 |
OB | GETSCAP+7~, GETSCAP+11*, GETSCAP+15 |
OIFN | COVERB+2~, COVERB+3*, COVERB+4, COVERB+5*, COVERB+6 |
OTHER | GETSCAP+7~, GETSCAP+10*, GETSCAP+14 |
OTHR | MAKE~, MAKE+11 |
RET | LSTAENC+1~ |
RETURN | GETCLN~, GETCLN+6, GETCLNX~, GETCLNX+4*, GETHOL~, GETHOL+1*, GETHOL+8*, GETPATT~, GETPATT+1*, GETPATT+8* , GETSCAP~, GETSCAP+16*, GETCAPT~, GETCAPT+5*, GETDAYA~, GETDPATT~, LSTAENC~ |
RETURN( | GETCLNX+2, GETCLNX+3*, GETDAYA+13*, GETDAYA+14* |
RETURN("IEN" | GETDPATT+1*, GETDPATT+2 |
RETURN("OB" | GETSCAP+15* |
RETURN("PAT" | GETDPATT+2* |
RETURN(0 | GETHOL+6*, GETPATT+3*, GETSCAP+14* |
RETURN(222 | GETCAPT+6* |
RETURN(333 | GETCAPT+7* |
REZ | GETCLN~, GETCLN+6 |
RQXRAY | MAKE~, MAKE+17 |
S | SETST~, SETST+7, CANCEL+20*, CANCEL+22*, CANCEL+28 |
SB | CANCEL+2~, CANCEL+15*, CANCEL+20 |
SC | GETCLNX~, GETCLNX+3, GETPATT~, GETPATT+3, GETSCAP~, GETSCAP+2, GETSCAP+4, GETSCAP+5, GETSCAP+6, GETCAPT~ , GETCAPT+6, LOCKST~, LOCKST+1, UNLCKST~, UNLCKST+1, LOCKS~, LOCKS+1, UNLCKS~, UNLCKS+1, SETST~ , SETST+4, MAKE~, MAKE+2, MAKE+8, CANCEL~, CANCEL+3, CANCEL+4, CANCEL+6, CANCEL+7, CANCEL+10 , CANCEL+13, CANCEL+15, CANCEL+20, CANCEL+27*, CANCEL+28, COVERB~, COVERB+1, COVERB+4, COVERB+5, GETFSTA~ , GETFSTA+3, GETDAYA~, GETDAYA+3, GETDAYA+5, GETDAYA+6, GETDST~, GETDST+2, GETDPATT~, GETDPATT+1, GETDPATT+2 , ADDPATT~, ADDPATT+2 |
SC1 | CANCEL+3*, CANCEL+27! |
SCR | LSTAENC+1~, LSTAENC+4*, LSTAENC+6 |
SD | GETPATT~, GETPATT+3, GETSCAP~, GETSCAP+2, GETSCAP+4, GETSCAP+5, GETSCAP+6, GETCAPT~, LOCKST~, LOCKST+1 , UNLCKST~, UNLCKST+1, LOCKS~, LOCKS+1, UNLCKS~, UNLCKS+1, SETST~, SETST+4, MAKE~, MAKE+3 , MAKE+4, MAKE+6*, MAKE+8, CANCEL~, CANCEL+4, CANCEL+6, CANCEL+7, CANCEL+10, CANCEL+20, CANCEL+28 , COVERB~, COVERB+1, COVERB+4, COVERB+5, GETDAYA~, GETDAYA+2, GETDAYA+16, GETDST~, GETDST+2, GETDPATT~ , GETDPATT+1, ADDPATT~, ADDPATT+3 |
SDATE | GETHOL~, GETHOL+4, GETHOL+5 |
SDDIF | CANCEL+2~, CANCEL+15*, CANCEL+22 |
SEARCH | LSTAENC~, LSTAENC+3*, LSTAENC+4, LSTAENC+5!, LSTAENC+6 |
SFILES | GETCLN+1~, GETCLN+6 |
SFILES("1910" | GETCLN+5* |
SFILES("2501" | GETCLN+4* |
SI | CANCEL+2~, CANCEL+15*, CANCEL+20 |
SL | CANCEL+2~, CANCEL+13*, CANCEL+15*, CANCEL+19*, CANCEL+20 |
SM | MAKE~, MAKE+14 |
SS | CANCEL+2~, CANCEL+20*, CANCEL+22* |
ST | CANCEL+2~, CANCEL+20*, CANCEL+22 |
START | LSTAENC~, LSTAENC+3*, LSTAENC+6 |
STARTDAY | CANCEL+2~, CANCEL+15* |
STR | CANCEL+2~, CANCEL+15*, CANCEL+22 |
U | GETSCAP+14 |
USR | MAKE~, MAKE+12 |
WARD | GETSCAP+7~, GETSCAP+11*, GETSCAP+14 |
X | GETHOL+3~, GETHOL+4*, GETHOL+6, GETHOL+7!, GETPATT+3~*, CANCEL+13*, CANCEL+15*, COVERB+2~, COVERB+3*, COVERB+4* , COVERB+5, GETDST+2~*, GETDST+3 |
X1 | GETHOL+3~, GETHOL+5*, GETHOL+6, GETHOL+7! |
XL1 | CANCEL+12~ |
XL1(44 | CANCEL+13 |
XRAY | GETSCAP+7~, GETSCAP+10*, GETSCAP+14 |
XRAYRST | GETSCAP+7~, GETSCAP+12*, GETSCAP+14 |
Y | CANCEL+15!, CANCEL+20*, CANCEL+22* |
ZL | GETSCAP+1~, GETSCAP+3*, GETSCAP+4*, GETSCAP+5, GETSCAP+6, GETSCAP+16 |