SDES2 GET CANCELLED SLOTS

TITLEVALUE
NAMESDES2 GET CANCELLED SLOTS
DESCRIPTIONThis RPC returns cancelled slots within a given timeframe for a given
clinic in JSON format.

Can only be invoked by Acheron
TAGGETCANCSLOTS
ROUTINESDES2GETCANSLOTS
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERSDCONTEXT
DESCRIPTION SDCONTEXT("ACHERON AUDIT ID")
- Up to 40 Character unique ID number.
- Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
SDCONTEXT("USER DUZ")
- The DUZ of the user taking action in the calling application.
SDCONTEXT("USER SECID")
- The SECID of the user taking action in the calling application.
SDCONTEXT("PATIENT DFN")
- The DFN/IEN of the target patient from the calling application.
SDCONTEXT("PATIENT ICN")
- The ICN of the target patient from the calling application.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSDCANCDATA
DESCRIPTION SDCANCDATA("CLINICIEN") = [required] - The Internal Entry Number (IEN)
from the HOSPITAL LOCATION File #44
SDCANCDATA("SDESSTART") = [required] - The Start Date of search in
ISO8601 format CCYY-MM-DDTHH:MM-OFFSET
SDCANCDATA("SDESENDDATE") = [required] - The End Date of search in
ISO8601 format CCYY-MM-DDTHH:MM-OFFSET
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONA JSON object for the specified clinic listing all of the cancelled slots
for the specified time range.

{
"CancelledSlots": [
{
"BeginTime": "2023-12-21T08:00-0500",
"CancelMessage": "Clinic closed for maintenance"
"EndTime": "2023-12-21T16:45-0500",
"SlotsAvail": "X"
},
{
"BeginTime": "2023-12-21T16:45-0500",
"CancelMessage": "Closed due to weather"
"EndTime": "2023-12-21T18:00-0500",
"SlotsAvail": "X"
}
]
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes