ROR PATIENT REGISTRY LABS

TITLEVALUE
NAMEROR PATIENT REGISTRY LABS
DESCRIPTIONThis remote procedure returns the results of registry-specific lab tests
for the patient and group statistics for these results.
TAGLOADPRL
ROUTINERORRP041
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERPTIEN
DESCRIPTIONA valid patient IEN (DFN) should be assigned to the PTIEN parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERREGIEN
DESCRIPTIONThe REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
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

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

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

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)
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED