DSIROI GETCMTS GET COMMENTS

TITLEVALUE
NAMEDSIROI GETCMTS GET COMMENTS
DESCRIPTIONThis routine can return a set of comments including patient comments
from the 5345, internal comments, and alerts.
TAGGETCMTS
ROUTINEDSIROI
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERIEN
DESCRIPTIONIEN = Request internal number
or
If SEL = "R" This is the patient DFN
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH60

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSEL
DESCRIPTION SEL = COMMENT SELECTION (required)
This is a string that will select what type of comments to return
I = INTERNAL COMMENTS (.32 FIELD)
P = PATIENT COMMENTS (.31 FIELD)
A = ALERTS FROM 19620.98
R = PATIENT RECORD - In this case the IEN is the patient DFN.
If R is selected, it must be the only selection.
If more than one type of comment is desired, send the selection in a
carrot delimited string (ie. 'A^P^I'). The data will be returned in
the order it is requested.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH5

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTION RETURN VALUES

THE COMMENTS ARE PRECEDED BY A HEADER RECORD AS FOLLOWS:

$$INTERNALCOMMENTS$$ (INDICATES THAT INTERNAL COMMENTS FOLLOW)
internal comment line 1 ---- ----------- ---------- ------- ----------
internal comment line 2 --------- --------- ---- ----------- ---------
.....
internal comment line n --- ----------- ---------- ------ ------------
$$PATIENTCOMMENTS$$ (INDICATES THAT PATIENT COMMENTS FOLLOW)
patient comment line 1 ---- ----------- ---------- ------- ----------
patient comment line 2 --------- --------- ---- ----------- ---------
.....
patient comment line n --- ----------- ---------- ------ ------------

NOTE: IF THERE ARE NO COMMENTS, THE ROUTINE RETURNS HEADERS ONLY
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED