ROR LIST ITEMS (1787)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR LIST ITEMS
TAG LSTITEMS
ROUTINE RORRP012
RETURN VALUE TYPE ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR LIST ITEMS remote procedure returns a list of registry-specific 
items from the ROR LIST ITEM file.
INPUT PARAMETER
  • REGIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The REGIEN parameter should contain a valid registry IEN (IEN of the
    registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
    
  • TYPE
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The TYPE parameter defines type of the items that should be extracted:
     
      3  Lab Groups
      4  Drug Groups
     
    See description of the TYPE field (.02) of the ROR LIST ITEM file (#799.1)
    for more details.
    for more details.
    
RETURN PARAMETER DESCRIPTION
A negative value of the first "^"-piece of the Results[0] indicates that
  Results[i]            Error Descriptor
                          ^01: Error code
                          ^02: Message
                          ^03: Place of the error
 
Otherwise, number of list items is returned in the Results[0] and the
subsequent nodes of the array contain the items.
  
   Results[0]            Number of Items
  
an error occurred during the execution of the remote procedure. In this
   Results[i]            List Item
                           ^01: IEN
                           ^02: Text
                           ^03: Code
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:
   
  Results[0]            Result Descriptor
                          ^01: The last error code
                          ^02: Number of the error descriptors