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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDES2JSON

Package: Scheduling

Routine: SDES2JSON


Information

SDES2JSON ;ALB/MGD - VISTA SCHEDULING JSON UTILITIES ;July 3, 2023

Source Information

Source file <SDES2JSON.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 ENCODE^XLFJSON  
MailMan 1 $$CTRL^XMXUTIL1  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 89

Package Total Caller Graph
Scheduling 89 SDES2APPTCKNSTEP  SDES2APPTCLNLST  SDES2APPTYPES  SDES2ARCLOSE  SDES2BLOCKANDMOV  SDES2BLOCKMOVE  SDES2BLOCKPBSP  SDES2CANCELAPPT  
SDES2CANCLNAVAIL  SDES2CHECKIN  SDES2CHKCAVAIL  SDES2CKNSTEP  SDES2CLINICLIST  SDES2CLINUT  SDES2CLNSEARCH  SDES2CONTACTS  
SDES2CREATEAPPT  SDES2CREATECLIN  SDES2CREATESNAPS  SDES2CRTAPREQ  SDES2CRTPRVRES  SDES2CRTVETAPPT  SDES2CRTWALKIN  SDES2DISPRECALL  
SDES2EDITAPREQ  SDES2EDITCLIN  SDES2EDITPATDEMO  SDES2EDITPREREG  SDES2EDITPRVRES  SDES2EDITSNAPS  SDES2EPT  SDES2GETAPPTREQ  
SDES2GETAPPTRPCS  SDES2GETCANSLOTS  SDES2GETCLINAVL  SDES2GETCLNSTA  SDES2GETCONSULTS  SDES2GETDEMOS  SDES2GETDISPCONS  SDES2GETELIGCD  
SDES2GETEXPENTRY  SDES2GETHOLIDAYS  SDES2GETLINKS  SDES2GETMEDLIST  SDES2GETPATDEMO  SDES2GETPATINFO  SDES2GETPATSTAT  SDES2GETRECALL  
SDES2GETREGS  SDES2GETREQS  SDES2GETRESGROUP  SDES2GETRESIEN  SDES2GETSCDUSRS  SDES2GETSNAPS  SDES2GETSTORDPAT  SDES2GETURGENCY  
SDES2GETVVCCODES  SDES2GETXPENTRY2  SDES2GRECAPTYPE  SDES2GREQSINST  SDES2INACTCLIN  SDES2PATSEARCH  SDES2PRVCLINSRC  SDES2QRYAPREQS  
SDES2REACTTCLIN  SDES2RECLDIPREAS  SDES2RECLLREQ  SDES2RECPRVSRCH  SDES2RSTCAVAIL  SDES2SDECBLKMOVE  SDES2SEARCHRCLN  SDES2SETCHECKOUT  
SDES2SPACEBAR  SDES2STOREPAT  SDES2UNBLOCKPBSP  SDES2UNDOCHKOUT  SDES2UTIL  SDES2VAL2  SDES2VAL200  SDES2VAL4  
SDES2VAL44  SDES2VAL44A  SDES2VALCONTEXT  SDES2VALCRTCLIN1  SDES2VALISODTTM  SDES2VALUTIL  SDES2VVSJSON  SDESCANCELVVS  
SDESGETAPPTRPCS  

Entry Points

Name Comments DBIA/ICR reference
BUILDJSON(SDRETURN,RETURN) ;
ENCODE(SDESINP,SDESOUT,SDESERR) ;
; Input: SDESINP = Required: Properly formatted input array to convert to JSON
; SDESOUT = Required: Name of string to return to Broker
; SDESERR = Optional: Name of string for error messages.
; Output:
; SDESOUT = JSON formatted string
; SDESERR = Still under development by Kernel
ERRLOG(SDESIN,SDESERRNUM,SDESOPTMSG,SDESRINFO) ;
; Input: SDESIN = Required: Array name with related data to be logged
; SDESERRNUM = Required: Error # to return
; SDESOPTMSG = Optional message string to append to existing error in table
; SDESRINFO = Optional message string with Routine^Tag info to append to existing error in table
ERRLKUP(SDNUM,SDESOPTMSG,SDESRINFO) ;

External References

Name Field # of Occurrence
$$GET1^DIQ ERRLKUP+3
ENCODE^XLFJSON BUILDJSON+2, ENCODE+10
$$CTRL^XMXUTIL1 ERRLKUP+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SDEC(409.93 - [#409.93] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SDEC(409.93 - [#409.93] ERRLKUP+2

Label References

Name Line Occurrences
$$ERRLKUP ERRLOG+10
ERRLOG ENCODE+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
JSONERROR BUILDJSON+1~
RETURN BUILDJSON~
SDERRIEN ERRLKUP+1~, ERRLKUP+2*, ERRLKUP+3
SDERRMSG ERRLKUP+1~, ERRLKUP+3*, ERRLKUP+4*, ERRLKUP+8*, ERRLKUP+9*, ERRLKUP+10*, ERRLKUP+12*, ERRLKUP+13
SDESCNT ERRLOG+5~, ERRLOG+9*, ERRLOG+10
SDESERR ENCODE~
SDESERRNUM ERRLOG~, ERRLOG+8*, ERRLOG+10
SDESIN ERRLOG~, ERRLOG+7
SDESIN("Error" ERRLOG+7*, ERRLOG+9, ERRLOG+10*, ERRLOG+11!
SDESINP ENCODE~, ENCODE+9
SDESOPTMSG ERRLOG~, ERRLOG+6*, ERRLOG+10, ERRLKUP~, ERRLKUP+5, ERRLKUP+7*, ERRLKUP+9
SDESOUT ENCODE~
SDESRINFO ERRLOG~, ERRLOG+6*, ERRLOG+10, ERRLKUP~, ERRLKUP+12
SDNUM ERRLKUP~, ERRLKUP+2
SDRETURN BUILDJSON~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All