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

Package: Scheduling

Routine: SDESCANCELVVS


Information

SDESCANCELVVS ;ALB/BWF,MGD - CANCEL VVS WEB SERVICE ; 5/30/24 13:38pm

Source Information

Source file <SDESCANCELVVS.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 2 $$PROD^XUPROD  ($$AESDECR,$$B64DECD)^XUSHSH  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Scheduling 1 BUILDJSON^SDES2JSON  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 $$GET1^DIQ  
Web Services Client 1 ($$GETREST,$$POST,ERR2ARR)^XOBWLIB  

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 SDCNP0  

Entry Points

Name Comments DBIA/ICR reference
RESTPOST(APPTIEN,SDSTATUS,SDCANREASON) ; Generate web service call to cancel VVS appointment
; Input:
; APPTIEN = Appointment IEN in #409.84
; SDSTATUS = Cancellation Status for Appointment (passed in if VVS Appointment Cancelled prior to VistA Appointment)
; SDCANREASON = Cancellation Reason for Appointment (passed in if VVS Appointment Cancelled prior to VistA Appointment)
; Output:
; 0^Error Information
; 1^Success Information
ERRSPMSG(SDRESPERR,SDRESPETXT) ;
; Input : DGRESPERR (Required) - response error from Post call
; Return: response code/txt (ex: DGERR(400) from Init)_response code/msg (ex: ADDRVAL###)
STATUS(SDSTATUS) ;
REASON(SDCNREASON) ;

External References

Name Field # of Occurrence
$$GET1^DIQ RESTPOST+32, RESTPOST+35, RESTPOST+38, RESTPOST+40
$$GETICN^MPIF001 RESTPOST+33
BUILDJSON^SDES2JSON RESTPOST+56
$$GETREST^XOBWLIB RESTPOST+28
$$POST^XOBWLIB RESTPOST+73
ERR2ARR^XOBWLIB ERRSPMSG+5
$$GET^XPAR RESTPOST+63, RESTPOST+67
$$PROD^XUPROD RESTPOST+18
$$AESDECR^XUSHSH RESTPOST+64, RESTPOST+68
$$B64DECD^XUSHSH RESTPOST+64, RESTPOST+68

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"This Video Visit appointment ",VVSIDUPPER
  • Line Location: RESTPOST+78
Function Call: WRITE
  • Prompt: !,"couldn't be cancelled in the VVS system."
  • Line Location: RESTPOST+79
Function Call: WRITE
  • Prompt: !,"VVS ERROR: "
  • Line Location: RESTPOST+80
Function Call: WRITE
  • Prompt: VVSERR," - A validation error occurred for the cancellation request."
  • Line Location: RESTPOST+81
Function Call: WRITE
  • Prompt: VVSERR," - The API Key or client ID was not recognized."
  • Line Location: RESTPOST+82
Function Call: WRITE
  • Prompt: VVSERR," - The appointment to be cancelled was not found."
  • Line Location: RESTPOST+83
Function Call: WRITE
  • Prompt: VVSERR," - Internal server error."
  • Line Location: RESTPOST+84
Function Call: WRITE
  • Prompt: "504 - VVS Gateway Time-out."
  • Line Location: RESTPOST+85
Function Call: WRITE
  • Prompt: !!,"This Video Visit appointment successfully cancelled in the VVS system."
  • Line Location: RESTPOST+87

FileMan Files Accessed Via FileMan Db Call

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

Label References

Name Line Occurrences
$$ERRSPMSG RESTPOST+76
REASON RESTPOST+41
STATUS RESTPOST+39

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APPTIEN RESTPOST~, RESTPOST+32, RESTPOST+35, RESTPOST+38, RESTPOST+40
DFN RESTPOST+13~, RESTPOST+32*, RESTPOST+33, RESTPOST+34*, RESTPOST+51
DUZ(2 RESTPOST+34
ICN RESTPOST+13~, RESTPOST+33*, RESTPOST+46, RESTPOST+48, RESTPOST+49
SDCANREASON RESTPOST~, RESTPOST+40*, RESTPOST+41, RESTPOST+54
SDCNREASON REASON~, REASON+1*, REASON+2*, REASON+3*, REASON+4*, REASON+5*, REASON+6*, REASON+7*, REASON+8*, REASON+9
, REASON+10*, REASON+11*, REASON+12*, REASON+13*, REASON+14*, REASON+15*, REASON+16*, REASON+17*, REASON+18*, REASON+19*
, REASON+20*, REASON+21
SDEMSG ERRSPMSG+3~, ERRSPMSG+11*, ERRSPMSG+12*, ERRSPMSG+13
SDERR ERRSPMSG+3~
SDERR( ERRSPMSG+13*, ERRSPMSG+14
SDERRARR RESTPOST+14~, RESTPOST+76
SDERRCODE RESTPOST+14~, RESTPOST+76*, RESTPOST+77, ERRSPMSG+3~, ERRSPMSG+4*, ERRSPMSG+13, ERRSPMSG+14
SDHEADER RESTPOST+14~, RESTPOST+60*
SDHTTPRSP RESTPOST+14~
SDKEY RESTPOST+14~, RESTPOST+63*, RESTPOST+64*, RESTPOST+65, RESTPOST+67*, RESTPOST+68*, RESTPOST+69
SDOUT RESTPOST+13~
SDOUTJSON RESTPOST+14~
SDPROD RESTPOST+14~, RESTPOST+18*, RESTPOST+19, RESTPOST+23, RESTPOST+62, RESTPOST+66
SDRESPERR RESTPOST+13~, RESTPOST+73, RESTPOST+76, ERRSPMSG~, ERRSPMSG+5
SDRESPETXT ERRSPMSG~, ERRSPMSG+5
SDRESPETXT("statusLine" ERRSPMSG+12
SDRESPETXT("text" ERRSPMSG+11
SDRESPONSE RESTPOST+13~, RESTPOST+73*, RESTPOST+75, RESTPOST+88
SDRESTOBJ RESTPOST+13~, RESTPOST+28*, RESTPOST+73
SDSERVER RESTPOST+13~, RESTPOST+21*, RESTPOST+25*, RESTPOST+28
SDSERVICE RESTPOST+13~, RESTPOST+20*, RESTPOST+24*, RESTPOST+28
SDSTATUS RESTPOST~, RESTPOST+38*, RESTPOST+39, RESTPOST+53, STATUS~, STATUS+1*, STATUS+2*, STATUS+3*, STATUS+4*, STATUS+5*
, STATUS+6*, STATUS+7*, STATUS+8*
VVSCAN RESTPOST+13~, RESTPOST+56
VVSCAN("id" RESTPOST+44*
VVSCAN("patientBookingStatuses" RESTPOST+47*, RESTPOST+48*, RESTPOST+50*, RESTPOST+51*, RESTPOST+52*, RESTPOST+53*, RESTPOST+54*
VVSCAN("sourceSystem" RESTPOST+45*
VVSERR RESTPOST+14~, RESTPOST+77*, RESTPOST+81, RESTPOST+82, RESTPOST+83, RESTPOST+84, RESTPOST+85
VVSID RESTPOST+13~, RESTPOST+35*, RESTPOST+37*, RESTPOST+44
VVSIDUPPER RESTPOST+14~, RESTPOST+35*, RESTPOST+78
VVSJSONOUT RESTPOST+13~, RESTPOST+56
VVSJSONOUT(1 RESTPOST+57
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All