SDES2 GET HOLIDAYS (4913)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET HOLIDAYS
TAG GETHOLIDAYS
ROUTINE SDES2GETHOLIDAYS
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns the Holidays from the holiday file. Start date and end 
date may be passed, and are optional.
 
Can only be invoked by Acheron
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.
    
  • PARAMS
    PARAMETER TYPE:   LIST
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This parameter holds the start date and end date for the holiday search.
     
    PARAMS("START DATE")= START DATE IN ISO FORMAT  (OPTIONAL - DEFAULTS TO 
                          TODAY)
    PARAMS("END DATE")=   END DATE IN ISO FORMAT    (OPTIONAL - DEFAULTS TO 
                          9999999)
    
RETURN PARAMETER DESCRIPTION
List of Holidays in JSON format:
   "Date": "2023-10-09",
   "Name": "COLUMBUS DAY"
  },
  {
   "Date": "2023-11-11",
   "Name": "VETERANS DAY"
  },
  {
   "Date": "2023-11-23",
   "Name": "THANKSGIVING"
 
  },
  {
   "Date": "2023-12-25",
   "Name": "CHRISTMAS DAY"
  }
 ]
}
{
 "Holiday": [
  {
   "Date": "2023-09-04",
   "Name": "LABOR DAY"
  },
  {