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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: SDESAPTREQ44

Package: Scheduling

Routine: SDESAPTREQ44


Information

SDESAPTREQ44 ;ALB/ANU,KML - APPOINTMENT REQUEST CREATE/UPDATE IN FILE44 ;Feb 16, 2022

Source Information

Source file <SDESAPTREQ44.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 4 $$ISOTFM^SDAMUTDT  $$INACTIVE^SDEC32  $$SCIEN^SDECU2  (ENCODE,ERRLOG)^SDESJSON  
VA FileMan 2 FILE^DICN  UPDATE^DIE  
Kernel 1 $$DT^XLFDT  

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
ARSET(RETURN,ARUPD,ARIEN,DFN,ARDAPTDT,ARLEN,ARRSN,ARUSER,ARODT,PATELG,AROVR) ; Create/Update Appointment Request
; INP - Input parameters array
; ARUPD = (integer) 1 for Update and 0 for Create Appointment
; ARIEN = (integer) IEN point to HOSPTIAL LOCATION file 44
; If null, a new entry will be added
; DFN = (text) DFN Pointer to the PATIENT file 2
; ARDAPTDT = (date/time) APPOINTMENT DATE/TIME in ISO8601 extended format (e.g. 2021-12-22T20:30-0500) ;vse-2097
; ARLEN = (integer) Appointment length in minutes (5 - 120)
; ARRSN = (text) Reason for Appointment upto 150 characters
; ARUSER = (text) Originating User name - NAME field in NEW PERSON file 200
; ARODT = (date ONLY) DATE APPOINTMENT MADE in ISO8601 extended format (e.g. 2021-12-22)
; PATELG = (text) Eligibility of Visit
; AROVR = (integer) Overbook flag - 1=yes
VALIDATE ;
CREATE ;Build FDA array to creat a new entry in 44
; add appt to file 44
UPDATE ;Find ien for appt in file 44
BUILDER ;Convert data to JSON

External References

Name Field # of Occurrence
FILE^DICN CREATE+12
UPDATE^DIE UPDATE+10
$$ISOTFM^SDAMUTDT VALIDATE+20, VALIDATE+26
$$INACTIVE^SDEC32 VALIDATE+10
$$SCIEN^SDECU2 CREATE+3, UPDATE+2
ENCODE^SDESJSON BUILDER+3
ERRLOG^SDESJSON VALIDATE+8, VALIDATE+9, VALIDATE+10, VALIDATE+14, VALIDATE+15, VALIDATE+19, VALIDATE+21, VALIDATE+22, VALIDATE+27, VALIDATE+32
VALIDATE+33, VALIDATE+41, VALIDATE+46, VALIDATE+50
$$DT^XLFDT VALIDATE+28

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(8 - [#8] VALIDATE+50
^DPT - [#2] VALIDATE+15
^SC - [#44] VALIDATE+9, CREATE+5*, CREATE+6*
^VA(200 - [#200] VALIDATE+41

Label References

Name Line Occurrences
BUILDER ARSET+20
CREATE ARSET+19
UPDATE ARSET+18
VALIDATE ARSET+16

Naked Globals

Name Field # of Occurrence
^(1 CREATE+6*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARDAPTDT ARSET~, VALIDATE+18*, VALIDATE+19, VALIDATE+20*, VALIDATE+21*, VALIDATE+22, CREATE+3, CREATE+6, CREATE+8, CREATE+9
UPDATE+2, UPDATE+4, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9
ARIEN ARSET~, VALIDATE+7*, VALIDATE+8, VALIDATE+9, VALIDATE+10, VALIDATE+20, CREATE+3, CREATE+5, CREATE+6, CREATE+8
CREATE+9, UPDATE+2, UPDATE+4, UPDATE+5, UPDATE+6, UPDATE+7, UPDATE+8, UPDATE+9
ARLEN ARSET~, VALIDATE+31*, VALIDATE+32, VALIDATE+33, CREATE+10, UPDATE+4
ARODT ARSET~, VALIDATE+25*, VALIDATE+26*, VALIDATE+27, VALIDATE+28*, CREATE+10, UPDATE+9
ARORIGDT ARSET+14~
AROVR ARSET~, VALIDATE+44*, VALIDATE+45, VALIDATE+46, CREATE+10, UPDATE+7
ARRSN ARSET~, VALIDATE+36*, VALIDATE+37*, CREATE+10, UPDATE+5
ARUPD ARSET~, ARSET+18, ARSET+19, VALIDATE+4, VALIDATE+22, VALIDATE+32
ARUSER ARSET~, VALIDATE+40*, VALIDATE+41, CREATE+10, UPDATE+8
AUDF ARSET+14~, VALIDATE+1*
DA CREATE+7!
DA(1 CREATE+9*
DA(2 CREATE+9*
DD CREATE+7!
DFN ARSET~, VALIDATE+13*, VALIDATE+14, VALIDATE+15, CREATE+3, CREATE+9, UPDATE+2
DIC CREATE+7!, CREATE+8*
DIC("DR" CREATE+10*
DIC("P" CREATE+11*
DIC(0 CREATE+11*
DINUM CREATE+7!
DLAYGO CREATE+7!, CREATE+11*
DO CREATE+7!
DT VALIDATE+22
FNUM ARSET+14~, VALIDATE+1*
IEN CREATE+2~, CREATE+3*, CREATE+4, UPDATE+1~, UPDATE+2*, UPDATE+3, UPDATE+4, UPDATE+5, UPDATE+6, UPDATE+7
UPDATE+8, UPDATE+9
JSONERR BUILDER+1~, BUILDER+2*, BUILDER+3
PATELG ARSET~, VALIDATE+49*, VALIDATE+50, CREATE+10, UPDATE+6
POP ARSET+14~, ARSET+17, VALIDATE+1*, VALIDATE+8*, VALIDATE+9*, VALIDATE+10*, VALIDATE+14*, VALIDATE+15*, VALIDATE+19*, VALIDATE+21*
VALIDATE+22*, VALIDATE+27*, VALIDATE+32*, VALIDATE+33*, VALIDATE+41*, VALIDATE+46*, VALIDATE+50*
RETURN ARSET~, BUILDER+3
SDAPTREQ ARSET+14~, VALIDATE+8, VALIDATE+9, VALIDATE+10, VALIDATE+14, VALIDATE+15, VALIDATE+19, VALIDATE+21, VALIDATE+22, VALIDATE+27
VALIDATE+32, VALIDATE+33, VALIDATE+41, VALIDATE+46, VALIDATE+50, BUILDER+3
SDAPTREQ("Error" VALIDATE+4*, CREATE+4*, CREATE+13*, UPDATE+3*, UPDATE+11*
SDAPTREQ("Success" CREATE+14*, UPDATE+12*
SDERR UPDATE+1~, UPDATE+10!, UPDATE+11
SDFDA UPDATE+1~
SDFDA( UPDATE+4*, UPDATE+5*, UPDATE+6*, UPDATE+7*, UPDATE+8*, UPDATE+9*
X CREATE+7!, CREATE+9*
Y CREATE+7!, CREATE+13
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All