Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
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>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Scheduling 7 ($$FMTISO,$$ISOTFM)^SDAMUTDT  GETSLOTS^SDEC57  (BUILDJSON,ERRLOG)^SDES2JSON  VALCONTEXT^SDES2VALCONTEXT  $$VALISODTTM^SDES2VALISODTTM  VALFILEIEN^SDES2VALUTIL  ERRLOG^SDESJSON  
VA FileMan 2 $$FIND1^DIC  $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SDES2CRTCLNAVAIL  

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

External References

Name Field # of Occurrence
$$FIND1^DIC VALIDATEINPUT+10
$$GET1^DIQ VALIDATEINPUT+8, BUILDDATA+28, BUILDDATA+32, BUILDDATA+33, BUILDDATA+34, BUILDDATA+36
$$FMTISO^SDAMUTDT BUILDDATA+18, BUILDDATA+19
$$ISOTFM^SDAMUTDT BUILDDATA+20
GETSLOTS^SDEC57 GETCANCSLOTS+28
BUILDJSON^SDES2JSON GETCANCSLOTS+19, GETCANCSLOTS+23, GETCANCSLOTS+32
ERRLOG^SDES2JSON VALIDATEINPUT+18, VALIDATEINPUT+26
VALCONTEXT^SDES2VALCONTEXT GETCANCSLOTS+18
$$VALISODTTM^SDES2VALISODTTM VALIDATEINPUT+16, VALIDATEINPUT+24
VALFILEIEN^SDES2VALUTIL VALIDATEINPUT+5
ERRLOG^SDESJSON VALIDATEINPUT+9, VALIDATEINPUT+11, VALIDATEINPUT+31

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] BUILDDATA+9, BUILDDATA+28
^TMP($J GETCANCSLOTS+26

Label References

Name Line Occurrences
BUILDDATA GETCANCSLOTS+29
VALIDATEINPUT GETCANCSLOTS+22

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CANCELDATE BUILDDATA+1~, BUILDDATA+20*, BUILDDATA+28
CLINICIEN VALIDATEINPUT+1~, VALIDATEINPUT+4*, VALIDATEINPUT+5, VALIDATEINPUT+7, VALIDATEINPUT+8, VALIDATEINPUT+16, VALIDATEINPUT+24, BUILDDATA+1~, BUILDDATA+3*, BUILDDATA+9
, BUILDDATA+18, BUILDDATA+19, BUILDDATA+28, BUILDDATA+31, BUILDDATA+32
EFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*
ERROR GETCANCSLOTS+15~, GETCANCSLOTS+16*, GETCANCSLOTS+22, GETCANCSLOTS+23, GETCANCSLOTS+31, VALIDATEINPUT~, VALIDATEINPUT+6*, VALIDATEINPUT+7, VALIDATEINPUT+9*, VALIDATEINPUT+11*
, VALIDATEINPUT+17*, VALIDATEINPUT+18*, VALIDATEINPUT+25*, VALIDATEINPUT+26*, VALIDATEINPUT+31*
II BUILDDATA+1~, BUILDDATA+5*, BUILDDATA+6, BUILDDATA+7, BUILDDATA+10, BUILDDATA+11*, BUILDDATA+12, BUILDDATA+13, BUILDDATA+14, BUILDDATA+15
, BUILDDATA+21, BUILDDATA+24, BUILDDATA+25, BUILDDATA+26, BUILDDATA+29
JSONRETURN GETCANCSLOTS~, GETCANCSLOTS+19, GETCANCSLOTS+23, GETCANCSLOTS+32
SDAPDTTM BUILDDATA+1~, BUILDDATA+27*, BUILDDATA+28
SDCANCDATA GETCANCSLOTS~, GETCANCSLOTS+22, GETCANCSLOTS+29, VALIDATEINPUT~, BUILDDATA~
SDCANCDATA("CLINICIEN" VALIDATEINPUT+4, BUILDDATA+3
SDCANCDATA("SDCLRESIEN" GETCANCSLOTS+28, VALIDATEINPUT+12*
SDCANCDATA("SDESENDDATE" GETCANCSLOTS+28, VALIDATEINPUT+23, VALIDATEINPUT+28*
SDCANCDATA("SDESENDDTTM" VALIDATEINPUT+27*, BUILDDATA+8
SDCANCDATA("SDESSTART" GETCANCSLOTS+28, VALIDATEINPUT+15, VALIDATEINPUT+20*
SDCANCDATA("SDESSTARTDTTM" VALIDATEINPUT+19*, BUILDDATA+8
SDCANMSG BUILDDATA+1~, BUILDDATA+28*, BUILDDATA+29
SDCLNAME GETCANCSLOTS+15~, VALIDATEINPUT+8*, VALIDATEINPUT+9, VALIDATEINPUT+10
SDCLRESIEN GETCANCSLOTS+15~, VALIDATEINPUT+10*, VALIDATEINPUT+12
SDCONTEXT GETCANCSLOTS~, GETCANCSLOTS+18
SDDIV BUILDDATA+1~, BUILDDATA+32*, BUILDDATA+33
SDERR VALIDATEINPUT+1~, VALIDATEINPUT+11
SDESENDDATE VALIDATEINPUT+1~, VALIDATEINPUT+23*, VALIDATEINPUT+24*, VALIDATEINPUT+25, VALIDATEINPUT+26, VALIDATEINPUT+27, VALIDATEINPUT+28, VALIDATEINPUT+31
SDESSTART VALIDATEINPUT+1~, VALIDATEINPUT+15*, VALIDATEINPUT+16*, VALIDATEINPUT+17, VALIDATEINPUT+18, VALIDATEINPUT+19, VALIDATEINPUT+20, VALIDATEINPUT+31
SDFIRST BUILDDATA+1~, BUILDDATA+4*, BUILDDATA+8, BUILDDATA+9, BUILDDATA+10*, BUILDDATA+11*
SDGETCANCSLOTS GETCANCSLOTS+15~, GETCANCSLOTS+18, GETCANCSLOTS+19, GETCANCSLOTS+22, GETCANCSLOTS+23, GETCANCSLOTS+29, GETCANCSLOTS+32, GETCANCSLOTS+33!, VALIDATEINPUT~, VALIDATEINPUT+5
, VALIDATEINPUT+9, VALIDATEINPUT+11, VALIDATEINPUT+16, VALIDATEINPUT+18, VALIDATEINPUT+24, VALIDATEINPUT+26, VALIDATEINPUT+31, BUILDDATA~
SDGETCANCSLOTS("CancelledSlots" GETCANCSLOTS+19*, GETCANCSLOTS+23*, GETCANCSLOTS+31*, BUILDDATA+24*, BUILDDATA+25*, BUILDDATA+26*, BUILDDATA+29*, BUILDDATA+35*, BUILDDATA+36*
SDINST BUILDDATA+1~, BUILDDATA+33*, BUILDDATA+34
SDP1 BUILDDATA+1~, BUILDDATA+6*, BUILDDATA+8, BUILDDATA+9, BUILDDATA+12*, BUILDDATA+17*, BUILDDATA+18, BUILDDATA+27
SDP2 BUILDDATA+1~, BUILDDATA+7*, BUILDDATA+13*, BUILDDATA+19
SDP3 BUILDDATA+1~, BUILDDATA+14*
SDP4 BUILDDATA+1~, BUILDDATA+15*, BUILDDATA+16, BUILDDATA+23
SDSLOTS BUILDDATA+1~, BUILDDATA+21*, BUILDDATA+22*, BUILDDATA+23*, BUILDDATA+26
SDSTOPTM BUILDDATA+1~, BUILDDATA+19*, BUILDDATA+25
SDSTRTTM BUILDDATA+1~, BUILDDATA+18*, BUILDDATA+20, BUILDDATA+24
SDTMPARY GETCANCSLOTS+15~, GETCANCSLOTS+25!, GETCANCSLOTS+26*, GETCANCSLOTS+27, GETCANCSLOTS+28, GETCANCSLOTS+29, GETCANCSLOTS+30, BUILDDATA~, BUILDDATA+2, BUILDDATA+4
, BUILDDATA+6, BUILDDATA+7, BUILDDATA+12, BUILDDATA+13, BUILDDATA+14, BUILDDATA+15, BUILDDATA+21
SDTOTAL BUILDDATA+1~, BUILDDATA+4*, BUILDDATA+5
SDVALERROR VALIDATEINPUT+1~, VALIDATEINPUT+5, VALIDATEINPUT+6
SFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*
U BUILDDATA+6, BUILDDATA+7, BUILDDATA+12, BUILDDATA+13, BUILDDATA+14, BUILDDATA+15, BUILDDATA+21
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All