ROR PATIENT REGISTRY LABS (2114)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR PATIENT REGISTRY LABS
TAG LOADPRL
ROUTINE RORRP041
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure returns the results of registry-specific lab tests 
for the patient and group statistics for these results.
INPUT PARAMETER
  • PTIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    A valid patient IEN (DFN) should be assigned to the PTIEN parameter.
    
  • REGIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The REGIEN parameter should contain a valid registry IEN (IEN of the
    registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
    
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] and subsequent nodes 
contain the patient's data.
 
  Results[0]            0
  
an error occurred during the execution of the remote procedure. In this 
  Results[i]            Registry-specific Lab Result
                          ^01: "LTR"
                          ^02: Result IEN (inverted date/time)
                          ^03: Date/time of the test (FileMan)
                          ^04: Result
                          ^05: Test IEN (in file #60)
                          ^06: Test name
                          ^07: Code of the group
                          ^08: Group name
   
case, the second piece of the Results[0] will contain number of the error
  Results[i]            Lab Group Statistics
                          ^01: "LTG"
                          ^02: Code of the group
                          ^03: Group name
                          ^04: Latest result value
                          ^05: Date of the latest result (FileMan)
                          ^06: Lowest result value
                          ^07: Date of the lowest value (FileMan)
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