SDEC07A ;ALB/SAT,PC - VISTA SCHEDULING RPCS ;Feb 12, 2020@15:22
Source file <SDEC07A.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| OVBOOK(SDECY,SDCL,NSDT,SDECRES) | ;RPC - OVERBOOK - Check if Overbook is allowed for given Clinic and Date.
 | 
|
| XIT | ;
 | 
|
| SDECAP(SDECSDT,DFN) | ;
 | 
|
| CKOB(START,STOP,SDBK) | ;called internally
 ; START = appointment start date/time in FM format ; STOP = appointment stop date/time in FM format ; .SDBK = bookings Array - SDBK(<appt time>,<appt end time>)=counter starting at 0  | 
|
| CNTOB(SDBK,SDECRES,SDTD,OBMAX,SDAB) | ;called internally
 | 
|
| SLOTS(B,E,SDAB) | ;find access block
 | 
|
| REQSET(SDRIEN,SDPROV,SDUSR,SDACT,SDECTYP,SDECNOTE,SAVESTRT,SDECRES,SDDFN) | ;add SCHEDULED activity to REQUEST/CONSULTATION file
 | 
|
| EWL(WLIEN,APPDT,SDCL,SVCP,SVCPR,NOTE,SDAPPTYP) | ;update SD WAIT LIST at appointment add
 | 
|
| ERROR | ;
 | 
|
| ERR1(SDECERR) | ;Error processing
 | 
| FileNo | Call Tags | 
|---|---|
| ^GMR(123 - [#123] | GET1^DIQ |