TIU DOCUMENTS BY CONTEXT

TITLEVALUE
NAMETIU DOCUMENTS BY CONTEXT
DESCRIPTIONReturns lists of TIU Documents that satisfy the following search criteria:

1 - signed documents (all)
2 - unsigned documents
3 - uncosigned documents
4 - signed documents/author
5 - signed documents/date range
TAGCONTEXT
ROUTINETIUSRVLO
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERCLASS
DESCRIPTIONThis is a pointer to the Class of TIU DOCUMENTS which the user is
interested in (e.g., 3 for PROGRESS NOTES, 244 for DISCHARGE SUMMARIES,
etc.).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERCONTEXT
DESCRIPTIONThis is an integer number which maps the context in which the user wishes
the notes to be returned. The mapping is as follows:

1 - signed documents (all)
2 - unsigned documents
3 - uncosigned documents
4 - signed documents/author
5 - signed documents/date range
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERDFN
DESCRIPTIONPointer to Patient File (#2).
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETEREARLY
DESCRIPTIONEARLY DATE/TIME in regular FileMan format for the inclusive lower bound on
the search.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER5
INPUT PARAMETERLATE
DESCRIPTIONLATE DATE/TIME in regular FileMan format for the inclusive upper bound on
the search.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER6
INPUT PARAMETERPERSON
DESCRIPTIONThis is a pointer to the NEW PERSON FILE (#200) for the author of the
documents to be retrieved.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER7
INPUT PARAMETEROCCLIM
DESCRIPTIONThis is the maximum number of documents to be retrieved in the current
query.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER8
INPUT PARAMETERSEQUENCE
DESCRIPTIONThis is the sequence by reference date/time (A=ascending (OLDEST FIRST),
D=descending (NEWEST FIRST)) in which the user would like the list
returned.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER9
INPUT PARAMETERSHOWADD
DESCRIPTIONThis BOOLEAN parameter determines whether addenda will be included in the
return array, when their parent documents are identified by the search
criteria, and vice versa. Also if SHOWADD is TRUE (1), the "+" at the
beginning of the return text will be omitted (since it offers only
redundant information).
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER10
INPUT PARAMETERINCUND
DESCRIPTIONOptional Boolean parameter determines whether Undictated and
Untranscribed documents should be returned along with Unsigned
documents, when the CONTEXT is passed as 2.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER11
INPUT PARAMETERSHOW
DESCRIPTIONBoolean: Return "0^SHOW MORE" in return array when additional notes are
available for context of 1 or 5 when occurrence limit prevents all notes
from displaying.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER12
INPUT PARAMETERTIUIEN
DESCRIPTIONStarting TIU IEN for additional return when "SHOW MORE" was received in
previous return array (LATE date/time will be set to Reference date of
this TIU document).
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONThe return array has elements with the following positional values:

IEN^TITLE^REFERENCE DATE/TIME (INT)^PATIENT NAME (LAST I/LAST 4)^AUTHOR
(INT;EXT)^HOSPITAL LOCATION^SIGNATURE STATUS^Visit Date/Time^
Discharge Date/time^Variable Pointer to Request (e.g., Consult)^# of
Associated Images^Subject^Has Children^IEN of Parent Document

If SHOW parameter received and additional documents are available for
return when context is 1 (All Signed (by PT)) or 5 (Signed notes (by PT &
date range)), then a final data element will be added indicating more are
available with the following positional values:

IEN^"SHOW MORE"^^^^^^^^^^^^^
AVAILABILITYSUBSCRIPTION
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWEDYes