SDES2 GET SERVICES FOR CLINICS (5063)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET SERVICES FOR CLINICS
TAG GETSERVICETYPES
ROUTINE SDES2GETCLINSVC
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC will retrieve the list of services from the SERVICE (#9) field 
of the HOSPITAL LOCATION (#44) file.
INPUT PARAMETER
  • SDCONTEXT
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
     SDCONTEXT("ACHERON AUDIT ID") = Up to 40 Character unique ID number.
                               calling application.
                               Ex: 11d9dcc6-c6a2-4785-8031-8261576fca37
     SDCONTEXT("USER DUZ")   = The DUZ of the user taking action on the
                               calling application. 
     SDCONTEXT("USER SECID") = The SECID of the user taking action in the
                               calling application.
     SDCONTEXT("PATIENT DFN")= The name of the patient taking action on the
                               calling application.
     SDCONTEXT("PATIENT ICN")= The ICN of the patient taking action on the
    
RETURN PARAMETER DESCRIPTION
JSON output of the list of services.
   "Code": "S",
   "Value": "SURGERY"
  },
  {
   "Code": "P",
   "Value": "PSYCHIATRY"
  },
  {
   "Code": "R",
   "Value": "REHAB MEDICINE"
 
  },
  {
   "Code": "N",
   "Value": "NEUROLOGY"
  },
  {
   "Code": 0,
   "Value": "NONE"
  }
 ]
{
}
 "ServiceTypes": [
  {
   "Code": "M",
   "Value": "MEDICINE"
  },
  {