SDEC RESCE (4200)    REMOTE PROCEDURE (8994)

Name Value
NAME SDEC RESCE
TAG RESOURCE
ROUTINE SDEC01C
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
INACTIVE ACTIVE
WORD WRAP ON FALSE
VERSION 1
DESCRIPTION
Returns all active Clinics
INPUT PARAMETER
  • DUZ
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Checks that THIS user has the proper SECURITY KEY
    Defaults to current user.
    
  • SDACT
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Set to Yes - returns only active clinics
    
  • SDTYPE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Set to H - only returns Clinics
    
  • MAXREC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Max nuber of records returned
    
  • LASTSUBI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Last subscript from previous call.
    
  • SDIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
    Pointer to SDEC RESOURCE file, only 1 record will be returned if SDIEN is present.
    
  • SDECP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Partial name text.
    
RETURN PARAMETER DESCRIPTION
Returns a global array in which each array entry contains data from
8. TIME_ZONE
the  HOSPITAL LOCATION (clinic).
1. RESOURCEID - Pointer to the SDEC RESOURCE file
2. HOSPITAL_LOCATION_ID
3. CLINNAME  - Clinic Name from HOSPITAL LOCATION file 44
4. ABBR  - Abbreviation
5. RESOURCE_NAME  - NAME from SDEC RESOURCE file
6. E-CHECKIN_ALLOWED
7. PRE-CHECKIN_ALLOWED