TIU LOAD RECORD FOR EDIT (94)    REMOTE PROCEDURE (8994)

Name Value
NAME TIU LOAD RECORD FOR EDIT
TAG GET4EDIT
ROUTINE TIUSRVR
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY SUBSCRIPTION
WORD WRAP ON TRUE
DESCRIPTION
This RPC loads the return array with data in a format consistent with that
required by the TIU UPDATE RECORD API.  It should be invoked when the user
invokes the Edit action, to load the dialog for editing the document.
INPUT PARAMETER
  • TIUDA
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    DESCRIPTION:   
    This is the record number (IEN) in file 8925 for the document to be
    edited.
    
  • DR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   245
    REQUIRED:   NO
    DESCRIPTION:   
    This optional parameter allows the calling application to specify the
    (if specified as preferred by the user).
    fields to be returned in Y(FIELD #) as expected by the edit dialog.
     
    e.g., for a PROGRESS NOTE, the user may only edit the DATE/TIME OF NOTE
    (Field #1301), the AUTHOR OF NOTE (Field #1202), and (per user preference)
    the SUBJECT of the note (Field #1701) (in addition to the body of the
    note, of course). For a Discharge Summary, the user may edit the URGENCY
    of the record (Field #.09), DICTATED BY (Field #1202), DICTATION DATE
    (Field #1307), ATTENDING PHYSICIAN (Field #1209), and an optional SUBJECT
    
RETURN PARAMETER DESCRIPTION
The return array will be subscripted by the field #, with the body of the
document in the ^TMP("TIUEDIT",$J,"TEXT",n) subscript.