ROR LOG GET MESSAGES

TITLEVALUE
NAMEROR LOG GET MESSAGES
DESCRIPTIONThe ROR LOG GET MESSAGES remote procedure returns a list of messages from
the log defined by the parameter.
TAGMSGLIST
ROUTINERORRP007
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERLOGIEN
DESCRIPTIONThe LOGIEN parameter defines the log. It should contain a valid IEN of the
log record in the ROR LOG file.
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, the number of messages is returned in the Results[0] and the
subsequent nodes of the Results array contain the messages:

Results[0] Number of Messages

Results[i] Message Descriptor
^01: "M"
^02: Message IENS
^03: Type (external)
^04: Type (internal)
^05: Date/Time (external)
^06: Has Additional Info (0/1)
^07: Patient Name
^08: Patient IEN (DFN)

Results[i+1] Message
^01: "T"
^02: Message Text

Results[...] Line of the ADDITIONAL INFO Text
^01: "A"
^02: Text

Results[i+n] 'End of Message' Marker
^01: "M"
^02: "END"
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED