TITLE | VALUE | |
---|---|---|
NAME | SDES2 CANCEL APPOINTMENT | |
DESCRIPTION | This RPC will cancel an appointment from the SDEC APPOINTMENT (409.84) file, the PATIENT (#2) file, and the HOSPITAL LOCATION (#44) file. Can only be invoked by Acheron | |
TAG | CANCELAPPT | |
ROUTINE | SDES2CANCELAPPT | |
INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
INPUT PARAMETER | SDCONTEXT | |
DESCRIPTION | SDCONTEXT("ACHERON AUDIT ID") = 40 character unique ID number. Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37 SDCONTEXT("USER DUZ") = The DUZ of the user taking action on the calling application. SDCONTEXT("USER SECID") = The Security ID of the user taking action on the calling application. SDCONTEXT("PATIENT DFN") = The DFN of the Veteran/user taking action on the calling application. SDCONTEXT("PATIENT ICN") = The ICN of the Veteran/user taking action on the calling application. | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
INPUT PARAMETER | PARAMS | |
DESCRIPTION | REQUIRED PARAMETERS: PARAMS("APPT IEN") - IEN of SDEC APPOINTMENT (#409.84) file record to be cancelled (req) PARAMS("CLINIC IEN") - Pointer to the HOSPITAL LOCATION (#44) file PARAMS("DFN") - Pointer to the PATIENT (#2) file PARAMS("CANCELLED BY") - Appt Cancelled By: "C" - Cancelled By Clinic, "PC" - Cancelled By Patient PARAMS("CANCEL REASON") - Cancellation Reason Name in the CANCELLATION REASON (#409.2) file OPTIONAL PARAMETERS: PARAMS("NOTE") - Comments related to the cancellation PARAMS("CANCEL HASH") - List of cancellation comment hash tags PARAMS("NEW PID") - New/edited PID passed in when cancelling an appointment by patient | |
PARAMETER TYPE | LIST | |
REQUIRED | YES | |
MAXIMUM DATA LENGTH | ||
RETURN VALUE TYPE | ARRAY | |
RETURN PARAMETER DESCRIPTION | Successful Cancellation: { "Appointment": { "Cancelled":{Appointment IEN} } } Unsuccessful Cancellation: { "Error":[ "{error message.}" ], "Appointment":[ "" ] } | |
AVAILABILITY | RESTRICTED | |
INACTIVE | ACTIVE | |
CLIENT MANAGER | YES | |
WORD WRAP ON | ||
VERSION | ||
SUPPRESS RDV USER SETUP | ||
APP PROXY ALLOWED | Yes |