ORQQCN SVC W/SYNONYMS (832)    REMOTE PROCEDURE (8994)

Name Value
NAME ORQQCN SVC W/SYNONYMS
TAG SVCSYN
ROUTINE ORQQCN2
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
APP PROXY ALLOWED Yes
DESCRIPTION
This is a modified version of ORQQCN GET SERVICE TREE that also includes
synonyms for the services returned. It also allows passing of an optional
Consult IEN, for screening allowable services to forward the consult to,
especially in the case of interfacility consults.
INPUT PARAMETER
  • Start With
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   32
    DESCRIPTION:   
    Which service in the hierarchy to begin with.
    
  • Purpose
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    DESCRIPTION:   
    0 for display purposes, 1 to order or forward a consult.
    
  • Include Synonyms
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    DESCRIPTION:   
    0 to exclude synonyms, 1 to include synonyms.
    
  • Consult IEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   16
    REQUIRED:   NO
    DESCRIPTION:   
    OPTIONAL - Include pointer to file 123, the Consult Request file.  Used 
    when forwarding a consult, and screening needs to be done to limit the 
    list of services.
    
RETURN PARAMETER DESCRIPTION
Output: Array formatted as follows-
 
   svc ien^svc name or syn^parent^has children^svc usage^orderable item