ROR LIST VA DRUG CLASSES (1780)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR LIST VA DRUG CLASSES
TAG VACLSLST
ROUTINE RORRP017
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR LIST VA DRUG CLASSES remote procedure returns a list of VA drug 
classes (defined in the VA DRUG CLASS file), which conform to the search
criteria.
INPUT PARAMETER
  • PARENT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Reserved
    
  • PART
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The partial match restriction.
    
  • FLAGS
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Flags that control the execution (can be combined):
     
      N  Search the classes by their names
         (by default, the search is performed by codes)
    
  • NUMBER
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Deprecated
    parameter designates all entries.
    
  • FROM
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Deprecated
          resulting list.
       
    See description of the LIST^DIC for more details about the PART, NUMBER 
    and FROM parameters.
       ^01: FromName
       ^02: FromIEN
       
    For example, a FROM value of "XA" would list entries following XA. You can
    use the 2-nd and 3-rd "^"- pieces of the Results[0] to continue the
    listing in the subsequent procedure calls.
       
    NOTE: The FROM value itself is not included in the
    
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 drug classes is returned in the Results[0] and the
subsequent nodes of the global array contain the classes.
   
  Results[0]          Number of classes
 
an error occurred during the execution of the remote procedure. In this 
  Results[i]          VA Drug Class
                        ^01: IEN
                        ^02: Classification
                        ^03: Code
  Results[i]          VA Drug Class
                        ^01: IEN
                        ^02: Classification
                        ^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