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: SDESCLINICAVAIL

Package: Scheduling

Routine: SDESCLINICAVAIL


Information

SDESCLINICAVAIL ;ALB/RRM,KML,BWF,MGD,DJS,ANU,MGD,JAS - VISTA SCHEDULING RPCS GET CLINIC AVAILABILITY ; Jun 21, 2024@14:50

Source Information

Source file <SDESCLINICAVAIL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Scheduling 4 ($$FMTISO,$$ISOTFM)^SDAMUTDT  GETSLOTS^SDEC57  (ENCODE,ERRLOG)^SDESJSON  $$EASVALIDATE^SDESUTIL  
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: 5

Package Total Caller Graph
Scheduling 5 SDES  SDES2BLOCKANDMOV  SDES2BLOCKMOVE  SDESBLOCKANDMOVE  SDESGETCLNSCHEDS  

Entry Points

Name Comments DBIA/ICR reference
GETCLAVAILABLTY(RETURN,CLINICIEN,SDESSTART,SDESENDDATE,SDEAS) ;Called from RPC: SDES GET CLINIC AVAILABILITY
; This RPC returns available appointment slots within a given timeframe for a given clinic in JSON format.
; Input:
; RETURN [required] - This is where the retrieve data is stored in JSON format
; CLINICIEN [required] - The Internal Entry Number (IEN) from the HOSPITAL LOCATION File #44
; SDESSTART [required] - The Start Date of search in ISO8601 format CCYY-MM-DDTHH:MM-OFFSET or external format CCYY-MM-DD
; SDESENDDATE [required] - The End Date of search in ISO8601 format CCYY-MM-DDTHH:MM-OFFSET or external format CCYY-MM-DD
; SDEAS [optional] - Enterprise Appointment Scheduling (EAS) Tracking Number associated to an appointment.
VALIDATEINPUT
BUILDDATA(CLINICIEN) ;retrieve clinic availability data
BUILDJSON ;Convert data to JSON

External References

Name Field # of Occurrence
$$FIND1^DIC VALIDATEINPUT+11
$$GET1^DIQ VALIDATEINPUT+9, BUILDDATA+22, BUILDDATA+23, BUILDDATA+24, BUILDDATA+26
$$FMTISO^SDAMUTDT VALIDATEINPUT+22, VALIDATEINPUT+39, BUILDDATA+12, BUILDDATA+13
$$ISOTFM^SDAMUTDT VALIDATEINPUT+19, VALIDATEINPUT+25, VALIDATEINPUT+36, VALIDATEINPUT+42
GETSLOTS^SDEC57 GETCLAVAILABLTY+17
ENCODE^SDESJSON BUILDJSON+3
ERRLOG^SDESJSON VALIDATEINPUT+5, VALIDATEINPUT+6, VALIDATEINPUT+7, VALIDATEINPUT+10, VALIDATEINPUT+12, VALIDATEINPUT+15, VALIDATEINPUT+16, VALIDATEINPUT+20, VALIDATEINPUT+23, VALIDATEINPUT+29
VALIDATEINPUT+30, VALIDATEINPUT+33, VALIDATEINPUT+34, VALIDATEINPUT+37, VALIDATEINPUT+40, VALIDATEINPUT+46, VALIDATEINPUT+47, VALIDATEINPUT+48, VALIDATEINPUT+52
$$EASVALIDATE^SDESUTIL VALIDATEINPUT+51

Used in RPC

RPC Name Call Tags
SDES GET CLIN AVAILABILITY GETCLAVAILABLTY

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
^XTV(8989.3 - [#8989.3] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] VALIDATEINPUT+6
^TMP($J GETCLAVAILABLTY+15

Label References

Name Line Occurrences
BUILDDATA GETCLAVAILABLTY+18
BUILDJSON GETCLAVAILABLTY+21
VALIDATEINPUT GETCLAVAILABLTY+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CLINICIEN GETCLAVAILABLTY~, GETCLAVAILABLTY+18, VALIDATEINPUT+4*, VALIDATEINPUT+5, VALIDATEINPUT+6, VALIDATEINPUT+7, VALIDATEINPUT+8, VALIDATEINPUT+9, VALIDATEINPUT+19, VALIDATEINPUT+22
VALIDATEINPUT+25, VALIDATEINPUT+36, VALIDATEINPUT+39, VALIDATEINPUT+42, BUILDDATA~, BUILDDATA+12, BUILDDATA+13, BUILDDATA+21, BUILDDATA+22
EFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*, VALIDATEINPUT+45*
ERROR GETCLAVAILABLTY+9~, GETCLAVAILABLTY+10*, GETCLAVAILABLTY+13, GETCLAVAILABLTY+20, VALIDATEINPUT+5*, VALIDATEINPUT+6*, VALIDATEINPUT+7*, VALIDATEINPUT+10*, VALIDATEINPUT+12*, VALIDATEINPUT+15*
VALIDATEINPUT+16*, VALIDATEINPUT+20*, VALIDATEINPUT+23*, VALIDATEINPUT+29*, VALIDATEINPUT+30*, VALIDATEINPUT+33*, VALIDATEINPUT+34*, VALIDATEINPUT+37*, VALIDATEINPUT+40*, VALIDATEINPUT+46*
VALIDATEINPUT+47*, VALIDATEINPUT+48*, VALIDATEINPUT+52*
II BUILDDATA+1~, BUILDDATA+5*, BUILDDATA+6, BUILDDATA+7, BUILDDATA+9, BUILDDATA+10, BUILDDATA+14, BUILDDATA+17, BUILDDATA+18, BUILDDATA+19
JSONERR BUILDJSON+1~, BUILDJSON+2*, BUILDJSON+3
RETURN GETCLAVAILABLTY~, GETCLAVAILABLTY+11!, BUILDJSON+3
SDCLNAME GETCLAVAILABLTY+9~, VALIDATEINPUT+9*, VALIDATEINPUT+10, VALIDATEINPUT+11
SDCLRESIEN GETCLAVAILABLTY+9~, GETCLAVAILABLTY+17, VALIDATEINPUT+11*
SDDIV BUILDDATA+1~, BUILDDATA+22*, BUILDDATA+23
SDEAS GETCLAVAILABLTY~, VALIDATEINPUT+50*, VALIDATEINPUT+51*, VALIDATEINPUT+52
SDENDDT BUILDDATA+1~
SDERR VALIDATEINPUT+1~, VALIDATEINPUT+12
SDESENDDATE GETCLAVAILABLTY~, GETCLAVAILABLTY+17, VALIDATEINPUT+32*, VALIDATEINPUT+33, VALIDATEINPUT+34, VALIDATEINPUT+35, VALIDATEINPUT+36*, VALIDATEINPUT+37, VALIDATEINPUT+38*, VALIDATEINPUT+39*
VALIDATEINPUT+40, VALIDATEINPUT+41, VALIDATEINPUT+42*, VALIDATEINPUT+43, VALIDATEINPUT+44*, VALIDATEINPUT+46
SDESENDDTTM GETCLAVAILABLTY+9~, VALIDATEINPUT+43*, VALIDATEINPUT+47, VALIDATEINPUT+48, BUILDDATA+8
SDESSTART GETCLAVAILABLTY~, GETCLAVAILABLTY+17, VALIDATEINPUT+14*, VALIDATEINPUT+15, VALIDATEINPUT+16, VALIDATEINPUT+18, VALIDATEINPUT+19*, VALIDATEINPUT+20, VALIDATEINPUT+21*, VALIDATEINPUT+22*
VALIDATEINPUT+23, VALIDATEINPUT+24, VALIDATEINPUT+25*, VALIDATEINPUT+26, VALIDATEINPUT+27*, VALIDATEINPUT+29
SDESSTARTDTTM GETCLAVAILABLTY+9~, VALIDATEINPUT+26*, VALIDATEINPUT+30, VALIDATEINPUT+48, BUILDDATA+4*, BUILDDATA+8
SDGETCLAVL GETCLAVAILABLTY+9~, GETCLAVAILABLTY+11!, GETCLAVAILABLTY+22!, VALIDATEINPUT+5, VALIDATEINPUT+6, VALIDATEINPUT+7, VALIDATEINPUT+10, VALIDATEINPUT+12, VALIDATEINPUT+15, VALIDATEINPUT+16
VALIDATEINPUT+20, VALIDATEINPUT+23, VALIDATEINPUT+29, VALIDATEINPUT+30, VALIDATEINPUT+33, VALIDATEINPUT+34, VALIDATEINPUT+37, VALIDATEINPUT+40, VALIDATEINPUT+46, VALIDATEINPUT+47
VALIDATEINPUT+48, VALIDATEINPUT+52, BUILDJSON+3
SDGETCLAVL("ClinAvail" GETCLAVAILABLTY+20*, BUILDDATA+17*, BUILDDATA+18*, BUILDDATA+19*, BUILDDATA+25*, BUILDDATA+26*
SDINST BUILDDATA+1~, BUILDDATA+23*, BUILDDATA+24
SDP1 BUILDDATA+1~, BUILDDATA+6*, BUILDDATA+8, BUILDDATA+11*, BUILDDATA+12
SDP2 BUILDDATA+1~, BUILDDATA+7*, BUILDDATA+13
SDP3 BUILDDATA+1~, BUILDDATA+9*
SDP4 BUILDDATA+1~, BUILDDATA+10*, BUILDDATA+16
SDSLOTS BUILDDATA+1~, BUILDDATA+14*, BUILDDATA+15*, BUILDDATA+16*, BUILDDATA+19
SDSTOPTM BUILDDATA+1~, BUILDDATA+13*, BUILDDATA+18
SDSTRTDT BUILDDATA+1~
SDSTRTTM BUILDDATA+1~, BUILDDATA+12*, BUILDDATA+17
SDTMPARY GETCLAVAILABLTY+9~, GETCLAVAILABLTY+14!, GETCLAVAILABLTY+15*, GETCLAVAILABLTY+16, GETCLAVAILABLTY+17, GETCLAVAILABLTY+19, BUILDDATA+2, BUILDDATA+3, BUILDDATA+6, BUILDDATA+7
, BUILDDATA+9, BUILDDATA+10, BUILDDATA+14
SDTOTAL BUILDDATA+1~, BUILDDATA+3*, BUILDDATA+5
SFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*, VALIDATEINPUT+28*
U BUILDDATA+6, BUILDDATA+7, BUILDDATA+9, BUILDDATA+10, BUILDDATA+14
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