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 |  Local Variables  | All
Print Page as PDF
Routine: SDESCANCELAPPT44

Package: Scheduling

Routine: SDESCANCELAPPT44


Information

SDESCANCELAPPT44 ;ALB/MGD,KML - CANCEL APPOINTMENT REQUEST IN FILE 44 ;Feb 14,2022

Source Information

Source file <SDESCANCELAPPT44.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Scheduling 2 $$ISOTFM^SDAMUTDT  (ENCODE,ERRLOG)^SDESJSON  
VA FileMan 1 UPDATE^DIE  

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
ARCANCEL44(RETURN,SDDFN,SDCLNIEN,SDARDTTM) ; Cancel Appointment Request in #44 (VSE-1944)
; INP - Input parameters array
; SDDFN = (Req) DFN Pointer to the PATIENT file #2
; SDCLNIEN = (Req) IEN of Clinic in HOSPITAL LOCATION #44
; SDARDTTM = (Req) Date/Time of Appointment in ISO 8601 extended format (e.g. 2022-01-19T20:15:44)
VALIDATE ;
SCIEN(SDDFN,CLINIC,DATE) ;get the ien for the appointment
; Input -
; SDDFN = PATIENT ien (DFN)
; CLINIC = CLINIC ien
; DATE = Date/time of appointment
; Output - returns ien of appt at 44.003
UPDATE ;Update Appointment for Cancellation
BUILDER ;Convert data to JSON

External References

Name Field # of Occurrence
UPDATE^DIE UPDATE+3
$$ISOTFM^SDAMUTDT VALIDATE+16
ENCODE^SDESJSON BUILDER+3
ERRLOG^SDESJSON VALIDATE+5, VALIDATE+6, VALIDATE+10, VALIDATE+11, VALIDATE+15, VALIDATE+17, VALIDATE+19, VALIDATE+20

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+6
^SC - [#44] VALIDATE+11, SCIEN+8, SCIEN+9

Label References

Name Line Occurrences
$$SCIEN VALIDATE+18
BUILDER ARCANCEL44+11
UPDATE ARCANCEL44+10
VALIDATE ARCANCEL44+9

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTSTRING SCIEN+6~, SCIEN+9*, SCIEN+10, SCIEN+11
CLINIC SCIEN~, SCIEN+8, SCIEN+9
DATE SCIEN~, SCIEN+8, SCIEN+9
JSONERR BUILDER+1~, BUILDER+2*, BUILDER+3
POP ARCANCEL44+6~, ARCANCEL44+7*, ARCANCEL44+10, VALIDATE+1*, VALIDATE+5*, VALIDATE+6*, VALIDATE+10*, VALIDATE+11*, VALIDATE+15*, VALIDATE+17*
VALIDATE+19*, VALIDATE+20*
RESULTS SCIEN+6~, SCIEN+7*, SCIEN+10*, SCIEN+11*, SCIEN+12
RETURN ARCANCEL44~, BUILDER+3
SDAPTREQ ARCANCEL44+6~, VALIDATE+5, VALIDATE+6, VALIDATE+10, VALIDATE+11, VALIDATE+15, VALIDATE+17, VALIDATE+19, VALIDATE+20, BUILDER+3
SDAPTREQ("Error" UPDATE+4*
SDAPTREQ("Success" UPDATE+5*
SDARDTTM ARCANCEL44~, VALIDATE+14*, VALIDATE+15, VALIDATE+16*, VALIDATE+17, VALIDATE+18, UPDATE+2
SDCLNIEN ARCANCEL44~, VALIDATE+9*, VALIDATE+10, VALIDATE+11, VALIDATE+16, VALIDATE+18, UPDATE+2
SDDFN ARCANCEL44~, VALIDATE+4*, VALIDATE+5, VALIDATE+6, VALIDATE+18, SCIEN~, SCIEN+10, SCIEN+11
SDERR UPDATE+1~, UPDATE+3!, UPDATE+4
SDFDA UPDATE+1~
SDFDA( UPDATE+2*
SDIEN ARCANCEL44+6~, VALIDATE+18*, VALIDATE+19, VALIDATE+20, VALIDATE+21*, UPDATE+2
U VALIDATE+19, SCIEN+10, SCIEN+11
X SCIEN+6~, SCIEN+7*, SCIEN+8*, SCIEN+9, SCIEN+10, SCIEN+11
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All