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

Package: Scheduling

Routine: SDESARGET


Information

SDESARGET ;ALB/BLB - VISTA SCHEDULING RPCS ;June 4, 2021@13:40

Source Information

Source file <SDESARGET.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Scheduling 5 ($$FNUM,$$MRTC)^SDECAR  ($$CALLET,$$CHILDREN,$$GETAPPTS,$$WLPC)^SDECAR1A  $$FMTONET^SDECDATE  ERR1^SDECERR  (ENCODE,ERRLOG)^SDESJSON  
VA FileMan 1 ($$GET1,GETS)^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
ARGETPATJSON(RET,DFN) ;Entry point to return JSON
; SDEC GET PATIENT APPT REQ JSON
; ARGETPATJSON^SDEC1
ARGETIENJSON(RET,ARIEN) ;Appt Req GET for speific appt IEN
; SDEC GET PAT APPT REQ BY IEN
; ARGETIEN^SDEC1
JSONEP ;
INIT ; Initalize any process specific variables
VALIDATE() ;Validata input params
PROCESS ; Loop over primary index
ONEPAT ; Process one patient
VALIDIEN() ;Validate the appointment request
BUILDREC ; Build an output record
BUILDJSON ;Convert to JSON
EXIT ; Any special logic needed for a successful completion

External References

Name Field # of Occurrence
$$GET1^DIQ VALIDIEN+5, VALIDIEN+7
GETS^DIQ ARGETIENJSON+10, ONEPAT+3
$$FNUM^SDECAR ARGETIENJSON+8, PROCESS+2
$$MRTC^SDECAR BUILDREC+53
$$CALLET^SDECAR1A BUILDREC+59
$$CHILDREN^SDECAR1A BUILDREC+52
$$GETAPPTS^SDECAR1A BUILDREC+51
$$WLPC^SDECAR1A BUILDREC+47
$$FMTONET^SDECDATE BUILDREC+31
ERR1^SDECERR VALIDATE+7
ENCODE^SDESJSON BUILDJSON+2
ERRLOG^SDESJSON ARGETIENJSON+7, ARGETIENJSON+9, VALIDATE+5, VALIDATE+6

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+6
^SDEC(409.85 - [#409.85] ARGETIENJSON+9, PROCESS+5
^TMP("SDECAR4" BUILDJSON+3!, EXIT+2, EXIT+3*, EXIT+4, EXIT+6*

Label References

Name Line Occurrences
$$VALIDATE JSONEP+2
$$VALIDIEN ONEPAT+2
BUILDJSON ARGETPATJSON+7, ARGETIENJSON+12
BUILDREC ARGETIENJSON+11, ONEPAT+4
EXIT JSONEP+2
INIT ARGETIENJSON+5, JSONEP+1
JSONEP ARGETPATJSON+5
ONEPAT PROCESS+5
PROCESS JSONEP+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPT ARGETPATJSON+3~, ARGETIENJSON+3~, ARGETIENJSON+7, ARGETIENJSON+9, VALIDATE+5, VALIDATE+6, BUILDJSON+2
APPT("ApptReq" ARGETPATJSON+6*, BUILDREC+63*, BUILDREC+64*, BUILDREC+65*, BUILDREC+66*, BUILDREC+67*, BUILDREC+68*, BUILDREC+69*, BUILDREC+70*, BUILDREC+71*
BUILDREC+72*, BUILDREC+73*, BUILDREC+74*, BUILDREC+75*, BUILDREC+76*, BUILDREC+77*, BUILDREC+78*, BUILDREC+79*, BUILDREC+80*, BUILDREC+81*
BUILDREC+82*, BUILDREC+88*, BUILDREC+89*, BUILDREC+90*, BUILDREC+91*, BUILDREC+92*, BUILDREC+94*, BUILDREC+96*, BUILDREC+97*, BUILDREC+98*
BUILDREC+99*, BUILDREC+100*, BUILDREC+103*, BUILDREC+104*, BUILDREC+106*, BUILDREC+107*, BUILDREC+108*, BUILDREC+109*, BUILDREC+110*, BUILDREC+111*
BUILDREC+112*, BUILDREC+113*, BUILDREC+114*, BUILDREC+118*, BUILDREC+119*, BUILDREC+124*, BUILDREC+125*, BUILDREC+127*, BUILDREC+128*, BUILDREC+129*
APPT("Error" ARGETPATJSON+6
APPTPTRS BUILDREC+5~, BUILDREC+51*, BUILDREC+116, BUILDREC+117
APPTYPE BUILDREC+2~, BUILDREC+19*, BUILDREC+113
ARASD BUILDREC+3~, BUILDREC+35*, BUILDREC+36*, BUILDREC+37*, BUILDREC+38*, BUILDREC+39*
ARCLERK BUILDREC+3~, BUILDREC+4~, BUILDREC+33*, BUILDREC+37, BUILDREC+109
ARCLERKN BUILDREC+3~, BUILDREC+4~, BUILDREC+34*, BUILDREC+38, BUILDREC+110
ARCLIEN BUILDREC+2~, BUILDREC+15*, BUILDREC+69
ARCLNAME BUILDREC+2~, BUILDREC+18*, BUILDREC+70
ARCOMM BUILDREC+4~, BUILDREC+43*, BUILDREC+78
ARDAM BUILDREC+3~, BUILDREC+4~, BUILDREC+32*, BUILDREC+39, BUILDREC+111
ARDAPTDT BUILDREC+4~, BUILDREC+41*, BUILDREC+77
ARDATA ARGETIENJSON+3~, ARGETIENJSON+11, ONEPAT+1~, ONEPAT+4, BUILDREC+47
ARDATA( BUILDREC+7, BUILDREC+8, BUILDREC+9, BUILDREC+10, BUILDREC+11, BUILDREC+12, BUILDREC+13, BUILDREC+14, BUILDREC+15, BUILDREC+16
BUILDREC+17, BUILDREC+18, BUILDREC+19, BUILDREC+20, BUILDREC+21, BUILDREC+22, BUILDREC+23, BUILDREC+24, BUILDREC+25, BUILDREC+26
BUILDREC+27, BUILDREC+28, BUILDREC+32, BUILDREC+33, BUILDREC+34, BUILDREC+40, BUILDREC+41, BUILDREC+43, BUILDREC+44, BUILDREC+45
BUILDREC+46, BUILDREC+48, BUILDREC+49, BUILDREC+50, BUILDREC+54, BUILDREC+57
ARDISPD BUILDREC+4~, BUILDREC+48*, BUILDREC+96
ARDISPU BUILDREC+4~, BUILDREC+49*, BUILDREC+97
ARDISPUN BUILDREC+4~, BUILDREC+50*, BUILDREC+98
AREDT BUILDREC+3~, BUILDREC+22*, BUILDREC+100
ARENPRI BUILDREC+3~, BUILDREC+24*, BUILDREC+79
ARIEN ARGETIENJSON~, ARGETIENJSON+6*, ARGETIENJSON+7, ARGETIENJSON+9*, ARGETIENJSON+10, PROCESS+1~, PROCESS+4*, PROCESS+5*, ONEPAT+3, VALIDIEN+5
, VALIDIEN+7, BUILDREC+7, BUILDREC+8, BUILDREC+9, BUILDREC+10, BUILDREC+11, BUILDREC+12, BUILDREC+13, BUILDREC+14, BUILDREC+15
BUILDREC+16, BUILDREC+17, BUILDREC+18, BUILDREC+19, BUILDREC+20, BUILDREC+21, BUILDREC+22, BUILDREC+23, BUILDREC+24, BUILDREC+25
BUILDREC+26, BUILDREC+27, BUILDREC+28, BUILDREC+32, BUILDREC+33, BUILDREC+34, BUILDREC+40, BUILDREC+41, BUILDREC+43, BUILDREC+44
BUILDREC+45, BUILDREC+46, BUILDREC+47, BUILDREC+48, BUILDREC+49, BUILDREC+50, BUILDREC+51, BUILDREC+52, BUILDREC+53, BUILDREC+54
BUILDREC+59, BUILDREC+64
ARINST BUILDREC+2~, BUILDREC+12*, BUILDREC+66
ARINSTNM BUILDREC+2~, BUILDREC+13*, BUILDREC+67
ARMAI BUILDREC+4~, BUILDREC+45*, BUILDREC+81
ARMAN BUILDREC+4~, BUILDREC+46*, BUILDREC+82
ARMAR BUILDREC+4~, BUILDREC+44*, BUILDREC+80
ARMRTC BUILDREC+5~, BUILDREC+53*, BUILDREC+112
ARMSG ONEPAT+1~
ARORIGDT BUILDREC+1~, BUILDREC+7*, BUILDREC+65
ARPC BUILDREC+4~, BUILDREC+47*, BUILDREC+84, BUILDREC+85
ARPRIO BUILDREC+3~, BUILDREC+23*, BUILDREC+73
ARPROV BUILDREC+3~, BUILDREC+26*, BUILDREC+75
ARPROVNM BUILDREC+3~, BUILDREC+27*, BUILDREC+76
ARREQBY BUILDREC+3~, BUILDREC+25*, BUILDREC+74
ARSDOA BUILDREC+3~, BUILDREC+28*, BUILDREC+31*, BUILDREC+36, BUILDREC+108
ARSTAT VALIDIEN+1~, VALIDIEN+5*, VALIDIEN+6, BUILDREC+1~, BUILDREC+8*
ARSTOP BUILDREC+2~, BUILDREC+16*, BUILDREC+106
ARSTOPN BUILDREC+2~, BUILDREC+17*, BUILDREC+107
ARSVCCON BUILDREC+4~, BUILDREC+40*, BUILDREC+99
ARTYPE BUILDREC+2~, BUILDREC+14*, BUILDREC+68
ARUSER BUILDREC+2~, BUILDREC+20*, BUILDREC+71
ARUSRNM BUILDREC+2~, BUILDREC+21*, BUILDREC+72
CALLLETTER BUILDREC+1~, BUILDREC+59*, BUILDREC+128, BUILDREC+129
CHILDREN BUILDREC+5~, BUILDREC+52*, BUILDREC+122, BUILDREC+123
COPUNT ARGETPATJSON+3~
COUNT ARGETIENJSON+3~, INIT+1*, VALIDATE+1~, VALIDATE+7, PROCESS+1~, PROCESS+2*, BUILDREC+61*, BUILDREC+63, BUILDREC+64, BUILDREC+65
BUILDREC+66, BUILDREC+67, BUILDREC+68, BUILDREC+69, BUILDREC+70, BUILDREC+71, BUILDREC+72, BUILDREC+73, BUILDREC+74, BUILDREC+75
BUILDREC+76, BUILDREC+77, BUILDREC+78, BUILDREC+79, BUILDREC+80, BUILDREC+81, BUILDREC+82, BUILDREC+88, BUILDREC+89, BUILDREC+90
BUILDREC+91, BUILDREC+92, BUILDREC+94, BUILDREC+96, BUILDREC+97, BUILDREC+98, BUILDREC+99, BUILDREC+100, BUILDREC+103, BUILDREC+104
BUILDREC+106, BUILDREC+107, BUILDREC+108, BUILDREC+109, BUILDREC+110, BUILDREC+111, BUILDREC+112, BUILDREC+113, BUILDREC+114, BUILDREC+118
BUILDREC+119, BUILDREC+124, BUILDREC+125, BUILDREC+127, BUILDREC+128, BUILDREC+129, EXIT+1~, EXIT+2*, EXIT+3*, EXIT+4
EXIT+6
DFN ARGETPATJSON~, ARGETIENJSON+3~, INIT+3, VALIDATE+1~, VALIDATE+4*, VALIDATE+5, VALIDATE+6, PROCESS+5, BUILDREC+1~, BUILDREC+9*
BUILDREC+59, BUILDREC+63
ERR ARGETPATJSON+3~
FILT ARGETPATJSON+3~, ARGETIENJSON+3~
FILT("INDEX" INIT+3*, VALIDATE+4
FILT("SKIP ST AT" , INIT+2*, VALIDIEN+4, VALIDIEN+6
FNUM ARGETIENJSON+3~, ARGETIENJSON+8*, ARGETIENJSON+10, PROCESS+1~, PROCESS+2*, ONEPAT+3, BUILDREC+7, BUILDREC+8, BUILDREC+9, BUILDREC+10
BUILDREC+11, BUILDREC+12, BUILDREC+13, BUILDREC+14, BUILDREC+15, BUILDREC+16, BUILDREC+17, BUILDREC+18, BUILDREC+19, BUILDREC+20
BUILDREC+21, BUILDREC+22, BUILDREC+23, BUILDREC+24, BUILDREC+25, BUILDREC+26, BUILDREC+27, BUILDREC+28, BUILDREC+32, BUILDREC+33
BUILDREC+34, BUILDREC+40, BUILDREC+41, BUILDREC+43, BUILDREC+48, BUILDREC+49, BUILDREC+50, BUILDREC+54
I BUILDREC+1~, BUILDREC+6~, BUILDREC+84*, BUILDREC+85, BUILDREC+102*, BUILDREC+103, BUILDREC+116*, BUILDREC+117, BUILDREC+122*, BUILDREC+123
JSONERR ARGETPATJSON+3~, ARGETPATJSON+4*, ARGETIENJSON+3~, ARGETIENJSON+4*, BUILDJSON+2
JSONFLG ARGETPATJSON+3~, ARGETPATJSON+4*, ARGETIENJSON+3~, ARGETIENJSON+4*, JSONEP+2, VALIDATE+7
L BUILDREC+6~
RET ARGETPATJSON~, ARGETIENJSON~, VALIDATE+7, BUILDJSON+1*, BUILDJSON+2
SDCL BUILDREC+1~, BUILDREC+11*
SDCLY BUILDREC+1~
SDECALL BUILDREC+1~
SDECLET BUILDREC+1~
SDI BUILDREC+1~, BUILDREC+56*, BUILDREC+57*
SDMTRC BUILDREC+5~, BUILDREC+56*, BUILDREC+57*, BUILDREC+102, BUILDREC+103
SDPARENT BUILDREC+5~, BUILDREC+54*, BUILDREC+127
SDPS BUILDREC+1~, BUILDREC+10*, BUILDREC+114
SDTMP EXIT+1~, EXIT+4*, EXIT+5*, EXIT+6
STR BUILDREC+1~
SUBCNT BUILDREC+1~, BUILDREC+83*, BUILDREC+87*, BUILDREC+88, BUILDREC+89, BUILDREC+90, BUILDREC+91, BUILDREC+92, BUILDREC+101*, BUILDREC+103
BUILDREC+115*, BUILDREC+118, BUILDREC+121*, BUILDREC+124
VALID VALIDATE+1~, VALIDATE+2*, VALIDATE+5*, VALIDATE+6*, VALIDATE+7, VALIDATE+9, VALIDIEN+1~, VALIDIEN+2*, VALIDIEN+6*, VALIDIEN+7*
, VALIDIEN+8
VAOSGUID BUILDREC+2~
VAR BUILDREC+1~, BUILDREC+85*, BUILDREC+86, BUILDREC+88, BUILDREC+89, BUILDREC+90, BUILDREC+91, BUILDREC+92, BUILDREC+117*, BUILDREC+118
BUILDREC+123*, BUILDREC+124
X BUILDREC+1~
ZZ BUILDREC+6~
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