ROR UPDATE LOCAL LAB TESTS (1799)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR UPDATE LOCAL LAB TESTS
TAG LTLUPD
ROUTINE RORRP031
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR UPDATE LOCAL LAB TESTS remote procedure updates the list of local
Lab test names, which is stored in the LOCAL TEST NAME (28) multiple of
the ROR REGISTRY PARAMETERS file (#798.1).
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).
    
  • LTLST
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The LTLST parameter should be an array containing a list of laboratory 
      
    Example:
      with RPCBroker.Param[1] do
        begin
          PType :=list;
          for i := 1 to Tests.Count do
            Mult[i] := '^^' + Tests[i-1].TestIEN + '^' + Tests[i-1].GroupCode;
        end;
    test IEN's and Lab Group codes. An item of the list should have the 
    following format:
     
      ^01: Ignored
      ^02: Ignored
      ^03: IEN of the local test (in file #60)
      ^04: Code of the Lab Group
           (see also the GROUP parameter)
    
  • GROUP
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    If the GROUP parameter is equal to 0 then every item of the LTLST must 
    contain a valid group code. If an empty list is passed into the RPC then 
    ALL records will be deleted from the LOCAL TEST NAME multiple.
     
    If this parameter is not zero then it should contain a valid group code.
    All records of the LTLST will be associated with this group. If an empty
    list is passed into the RPC then only records associated with this group
    will be deleted from the multiple.
    
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, zero is returned in the Results[0].
an error occurred during the execution of the remote procedure. In this
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