SDES2 GET CANCELLED SLOTS (4985)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET CANCELLED SLOTS
TAG GETCANCSLOTS
ROUTINE SDES2GETCANSLOTS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns cancelled slots within a given timeframe for a given
clinic in JSON format.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
     SDCONTEXT("ACHERON AUDIT ID")
     SDCONTEXT("PATIENT ICN")
      - The ICN of the target patient from the calling application.
      - 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.
    
  • SDCANCDATA
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    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
    
RETURN PARAMETER DESCRIPTION
A JSON object for the specified clinic listing all of the cancelled slots 
                        "SlotsAvail": "X"
                },
                {                                                      
                        "BeginTime": "2023-12-21T16:45-0500",
                        "CancelMessage": "Closed due to weather"
                        "EndTime": "2023-12-21T18:00-0500",
                        "SlotsAvail": "X"
                }                                              
        ]
}
for the specified time range.
 
{
        "CancelledSlots": [
                {
                        "BeginTime": "2023-12-21T08:00-0500",
                        "CancelMessage": "Clinic closed for maintenance"
                        "EndTime": "2023-12-21T16:45-0500",