SDES2 GET DIVISION LIST (5123)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET DIVISION LIST
TAG GETDIVISIONLIST
ROUTINE SDES2GETDIVLIST
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns a list of divisions, given the search text provided. The
division list comes from the MEDICAL CENTER DIVISION (#40.8) file.
 
This RPC 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.
    
  • SDINPUT
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     
    SDINPUT("SEARCH TERM") - This is the search text used to search the 
    division list.
    
RETURN PARAMETER DESCRIPTION
 
   "ID": 6,
   "InactiveFacilityFlag": "",
   "Institution": {
    "Inactive": "",
    "Name": "WHEATLAND VA MOBILE CLINIC",
    "StationNumber": "442HK"
   },
   "Name": "CHEYENNE MOC",
   "ParentFacility": 11303,
   "Status": "N",
{
   "TimeZone": "",
   "TimeZoneException": ""
  },
  {
   "FacilityNumber": "442BU",
   "FacilityType": {
    "Name": "DOM",
    "Status": "N"
   },
   "ID": 10,
 "Division": [
   "InactiveFacilityFlag": "",
   "Institution": {
    "Inactive": "",
    "Name": "CHEYENNE VA DOMICILIARY",
    "StationNumber": "442BU"
   },
   "Name": "CHEYENNE VA DOMICILIARY",
   "ParentFacility": 12350,
   "Status": "N",
   "TimeZone": "EASTERN",
  {
   "TimeZoneDetails": [
    {
     "Offset": "-0500",
     "TimeFrame": "STANDARD",
     "TimeZoneCode": "EST"
    },
    {
     "Offset": "-0400",
     "TimeFrame": "DAYLIGHT SAVINGS",
     "TimeZoneCode": "EDT"
   "FacilityNumber": "442HK",
    }
   ],
   "TimeZoneException": ""
  },
  {
   "FacilityNumber": 442,
   "FacilityType": {
    "Name": "M&ROC",
    "Status": "N"
   },
   "FacilityType": {
   "ID": 1,
   "InactiveFacilityFlag": "",
   "Institution": {
    "Inactive": "",
    "Name": "CHEYENNE VA MEDICAL",
    "StationNumber": 442
   },
   "Name": "CHEYENNE VAMROC",
   "ParentFacility": 442,
   "Status": "N",
    "Name": "MORC",
   "TimeZone": "EASTERN",
   "TimeZoneDetails": [
    {
     "Offset": "-0500",
     "TimeFrame": "STANDARD",
     "TimeZoneCode": "EST"
    },
    {
     "Offset": "-0400",
     "TimeFrame": "DAYLIGHT SAVINGS",
    "Status": "N"
     "TimeZoneCode": "EDT"
    }
   ],
   "TimeZoneException": ""
  }
 ]
}
   },