Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: SDES2GETCANSLOTS

Package: Scheduling

Routine: SDES2GETCANSLOTS


Information

SDES2GETCANSLOTS ;ALB/MGD,JAS,BLB - VISTA SCHEDULING RPCS GET CLINIC CANCELLED SLOTS ; May 21, 2024@16:10

Source Information

Source file <SDES2GETCANSLOTS.m>

Entry Points

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

Used in RPC

RPC Name Call Tags
SDES2 GET CANCELLED SLOTS GETCANCSLOTS

FileMan Files Accessed Via FileMan Db Call

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
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call