SDEC01C ;ALB/AJF,DJS - VISTA SCHEDULING RPCS ;SEP 12, 2022
Source file <SDEC01C.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
RESOURCE(SDECY,SDECDUZ,SDACT,SDTYPE,MAXREC,LASTSUBI,SDIEN,SDECP) | ;Returns ADO Recordset with ALL RESOURCE names
; SDECDUZ = (optional) pointer to NEW PERSON file ; Defaults to current user ; checks that overbook is allowed ; SDACT = (optional) 1 or YES will return only active resources ; 0, NO, or null will include inactive ; SDTYPE = (optional) null will return all resource types ; H will only return HOSPITAL LOCATION (clinic) resources ; P will only return NEW PERSON (Provider) resources ; A will only return SDEC ADDITIONAL RESOURCE resources ; PH will only return prohibited clinics ; MAXREC - (optional) Max records returned ; LASTSUBI - (optional) last subscripts from previous call ; SDIEN - (optional) pointer to SDEC RESOURCE file ; only 1 record will be returned if SDIEN is present ; SDECP - (optional) Partial name text |
|
RESX | ;
|
|
RES1 | ; get data for 1 resource
|
|
GETACC(SDECACC,SDECDUZ,SDECRES) | ;get view, overbook, modify appt, and modify schedule abilities
|
|
GETLTRS(SDECLTR,SDECNOS,SDECCAN,SDECRES,SDCL) | ;get resource letters
|
|
CHK(SDECP,SDECRES) | ||
ADDFLDS | ; ADD E-CHECKIN ALLOWED, PRE-CHECKIN ALLOWED AND TIME ZONE TO OUTPUT
|
RPC Name | Call Tags |
---|---|
SDEC RESCE | RESOURCE |
FileNo | Call Tags |
---|---|
^SDEC(409.831 - [#409.831] | GET1^DIQ, GETS^DIQ |
^SC - [#44] | GET1^DIQ |