SDES2 GET SERVICES FOR CLINICS

TITLEVALUE
NAMESDES2 GET SERVICES FOR CLINICS
DESCRIPTIONThis RPC will retrieve the list of services from the SERVICE (#9) field
of the HOSPITAL LOCATION (#44) file.

Can only be invoked by Acheron
TAGGETSERVICETYPES
ROUTINESDES2GETCLINSVC
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 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
calling application.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONJSON output of the list of services.

{
"ServiceTypes": [
{
"Code": "M",
"Value": "MEDICINE"
},
{
"Code": "S",
"Value": "SURGERY"
},
{
"Code": "P",
"Value": "PSYCHIATRY"
},
{
"Code": "R",
"Value": "REHAB MEDICINE"
},
{
"Code": "N",
"Value": "NEUROLOGY"
},
{
"Code": 0,
"Value": "NONE"
}
]
}
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONFALSE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes