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,MGD,BWF - VISTA SCHEDULING RPCS GET CLINIC AVAILABILITY ; July 5, 2022

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

Package Total Caller Graph
Scheduling 1 SDES  

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
; SDESENDDATE [required] - The End Date of search in ISO8601 format CCYY-MM-DDTHH:MM-OFFSET
; 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+10
$$GET1^DIQ VALIDATEINPUT+8
$$FMTISO^SDAMUTDT BUILDDATA+10, BUILDDATA+11
$$ISOTFM^SDAMUTDT VALIDATEINPUT+16, VALIDATEINPUT+27
GETSLOTS^SDEC57 GETCLAVAILABLTY+17
ENCODE^SDESJSON BUILDJSON+3
ERRLOG^SDESJSON VALIDATEINPUT+4, VALIDATEINPUT+5, VALIDATEINPUT+6, VALIDATEINPUT+9, VALIDATEINPUT+11, VALIDATEINPUT+13, VALIDATEINPUT+14, VALIDATEINPUT+20, VALIDATEINPUT+21, VALIDATEINPUT+22
VALIDATEINPUT+24, VALIDATEINPUT+25, VALIDATEINPUT+31, VALIDATEINPUT+32, VALIDATEINPUT+33, VALIDATEINPUT+34, VALIDATEINPUT+38, BUILDDATA+2
$$EASVALIDATE^SDESUTIL VALIDATEINPUT+37

Used in RPC

RPC Name Call Tags
SDES GET CLIN AVAILABILITY GETCLAVAILABLTY

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDEC(409.831 - [#409.831] FIND1^DIC
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SC - [#44] VALIDATEINPUT+5
^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+16, VALIDATEINPUT+27, BUILDDATA~
, BUILDDATA+10, BUILDDATA+11
DT VALIDATEINPUT+22
EFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*, VALIDATEINPUT+30*
ERROR GETCLAVAILABLTY+9~, GETCLAVAILABLTY+10*, GETCLAVAILABLTY+13, GETCLAVAILABLTY+20, VALIDATEINPUT+4*, VALIDATEINPUT+5*, VALIDATEINPUT+6*, VALIDATEINPUT+9*, VALIDATEINPUT+11*, VALIDATEINPUT+13*
VALIDATEINPUT+14*, VALIDATEINPUT+20*, VALIDATEINPUT+21*, VALIDATEINPUT+22*, VALIDATEINPUT+24*, VALIDATEINPUT+25*, VALIDATEINPUT+31*, VALIDATEINPUT+32*, VALIDATEINPUT+33*, VALIDATEINPUT+34*
VALIDATEINPUT+38*
II BUILDDATA+1~, BUILDDATA+4*, BUILDDATA+5, BUILDDATA+6, BUILDDATA+8, BUILDDATA+9, BUILDDATA+12, BUILDDATA+15, BUILDDATA+16, BUILDDATA+17
JSONERR BUILDJSON+1~, BUILDJSON+2*, BUILDJSON+3
RETURN GETCLAVAILABLTY~, GETCLAVAILABLTY+11!, BUILDJSON+3
SDCLNAME GETCLAVAILABLTY+9~, VALIDATEINPUT+8*, VALIDATEINPUT+9, VALIDATEINPUT+10
SDCLRESIEN GETCLAVAILABLTY+9~, GETCLAVAILABLTY+17, VALIDATEINPUT+10*
SDEAS GETCLAVAILABLTY~, VALIDATEINPUT+36*, VALIDATEINPUT+37*, VALIDATEINPUT+38
SDENDDT BUILDDATA+1~
SDERR VALIDATEINPUT+1~, VALIDATEINPUT+11
SDESENDDATE GETCLAVAILABLTY~, GETCLAVAILABLTY+17, VALIDATEINPUT+24, VALIDATEINPUT+25, VALIDATEINPUT+26, VALIDATEINPUT+27*, VALIDATEINPUT+28, VALIDATEINPUT+29*, VALIDATEINPUT+31, VALIDATEINPUT+33
VALIDATEINPUT+34
SDESENDDTTM GETCLAVAILABLTY+9~, VALIDATEINPUT+28*, VALIDATEINPUT+32, VALIDATEINPUT+33, BUILDDATA+7
SDESSTART GETCLAVAILABLTY~, GETCLAVAILABLTY+17, VALIDATEINPUT+13, VALIDATEINPUT+14, VALIDATEINPUT+15, VALIDATEINPUT+16*, VALIDATEINPUT+17, VALIDATEINPUT+18*, VALIDATEINPUT+20, VALIDATEINPUT+22
VALIDATEINPUT+33, VALIDATEINPUT+34
SDESSTARTDTTM GETCLAVAILABLTY+9~, VALIDATEINPUT+17*, VALIDATEINPUT+21, VALIDATEINPUT+33, BUILDDATA+7
SDGETCLAVL GETCLAVAILABLTY+9~, GETCLAVAILABLTY+11!, GETCLAVAILABLTY+22!, VALIDATEINPUT+4, VALIDATEINPUT+5, VALIDATEINPUT+6, VALIDATEINPUT+9, VALIDATEINPUT+11, VALIDATEINPUT+13, VALIDATEINPUT+14
VALIDATEINPUT+20, VALIDATEINPUT+21, VALIDATEINPUT+22, VALIDATEINPUT+24, VALIDATEINPUT+25, VALIDATEINPUT+31, VALIDATEINPUT+32, VALIDATEINPUT+33, VALIDATEINPUT+34, VALIDATEINPUT+38
, BUILDDATA+2, BUILDJSON+3
SDGETCLAVL("ClinAvail" GETCLAVAILABLTY+20*, BUILDDATA+15*, BUILDDATA+16*, BUILDDATA+17*
SDP1 BUILDDATA+1~, BUILDDATA+5*, BUILDDATA+7, BUILDDATA+10
SDP2 BUILDDATA+1~, BUILDDATA+6*, BUILDDATA+11
SDP3 BUILDDATA+1~, BUILDDATA+8*
SDP4 BUILDDATA+1~, BUILDDATA+9*, BUILDDATA+14
SDSLOTS BUILDDATA+1~, BUILDDATA+12*, BUILDDATA+13*, BUILDDATA+14*, BUILDDATA+17
SDSTOPTM BUILDDATA+1~, BUILDDATA+11*, BUILDDATA+16
SDSTRTDT BUILDDATA+1~
SDSTRTTM BUILDDATA+1~, BUILDDATA+10*, BUILDDATA+15
SDTMPARY GETCLAVAILABLTY+9~, GETCLAVAILABLTY+14!, GETCLAVAILABLTY+15*, GETCLAVAILABLTY+16, GETCLAVAILABLTY+17, GETCLAVAILABLTY+19, BUILDDATA+2, BUILDDATA+3, BUILDDATA+5, BUILDDATA+6
, BUILDDATA+8, BUILDDATA+9, BUILDDATA+12
SDTOTAL BUILDDATA+1~, BUILDDATA+3*, BUILDDATA+4
SFLAG VALIDATEINPUT+1~, VALIDATEINPUT+2*, VALIDATEINPUT+19*
U BUILDDATA+5, BUILDDATA+6, BUILDDATA+8, BUILDDATA+9, BUILDDATA+12
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