SDES2 GET CLINICS BY STATION (5044)    REMOTE PROCEDURE (8994)

Name Value
NAME SDES2 GET CLINICS BY STATION
TAG GETCLINICS
ROUTINE SDES2GETCLNSTA
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON FALSE
APP PROXY ALLOWED Yes
DESCRIPTION
This RPC returns a list of clinics for a given station number.
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:   
    Input values of STATION NUMBER (required), and ACTIVE ONLY (optional).
     
    SDINPUT("STATION NUMBER") - station number
    SDINPUT("ACTIVE ONLY") - set to '1' if only active clinics should be 
      included (if nothing is sent, active and inactive clinics are returned)
    
RETURN PARAMETER DESCRIPTION
{
   "Name": "ZZCHY AUDIO CONSULT KIM",
   "ResourceIen": ""
  }
 ]
}
 "Clinic": [
  {
   "ClinicIen": 2,
   "Name": "ZZCONTRACT PODIATRY",
   "ResourceIen": 1
  },
  {
   "ClinicIen": 4,