SDES2GETCANSLOTS ;ALB/MGD,JAS,BLB - VISTA SCHEDULING RPCS GET CLINIC CANCELLED SLOTS ; May 21, 2024@16:10
Source file <SDES2GETCANSLOTS.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETCANCSLOTS(JSONRETURN,SDCONTEXT,SDCANCDATA) | ;
; This RPC returns cancelled slots within a given timeframe for a given clinic in JSON format. ; Input: ; SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number. Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37 ; SDCONTEXT("USER DUZ") = [required] - The DUZ of the user taking action in the calling application. ; SDCONTEXT("USER SECID") = [optional] - The SECID of the user taking action in the calling application. ; SDCONTEXT("PATIENT DFN") = [optional] - The DFN/IEN of the target patient from the calling application. ; SDCONTEXT("PATIENT ICN") = [optional] - The ICN of the target patient from the calling application. |
|
VALIDATEINPUT(SDGETCANCSLOTS,SDCANCDATA,ERROR) | ;validate input parameters
|
|
BUILDDATA(SDGETCANCSLOTS,SDCANCDATA,SDTMPARY) | ; retrieve clinic availability data
|
RPC Name | Call Tags |
---|---|
SDES2 GET CANCELLED SLOTS | GETCANCSLOTS |
FileNo | Call Tags |
---|---|
^DIC(4 - [#4] | GET1^DIQ |
^DG(40.8 - [#40.8] | GET1^DIQ |
^SDEC(409.831 - [#409.831] | FIND1^DIC |
^SC - [#44] | GET1^DIQ |
44.001 | GET1^DIQ |
44.1902 | GET1^DIQ |
^XTV(8989.3 - [#8989.3] | GET1^DIQ |