TIU TEMPLATE CREATE/MODIFY (387)    REMOTE PROCEDURE (8994)

Name Value
NAME TIU TEMPLATE CREATE/MODIFY
TAG SETTMPLT
ROUTINE TIUSRVT
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
WORD WRAP ON TRUE
DESCRIPTION
This remote procedure allows creation and update of Templates.
INPUT PARAMETER
  • TIUDA
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This optional parameter is the record number of the Template to be
    modified. If the Template is new, it may be passed as zero or null, to
    indicate that a new Template is to be created.
    
  • TIUX
    PARAMETER TYPE:   LIST
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This array contains the data to be filed in the Template entry,
    TIUX(2,2,0)="|AMED|"
    subscripted by field number. It should look something like this:
     
    TIUX(.01)="ACTIVE MEDICATIONS"
    TIUX(.03)="T"
    TIUX(.04)="A"
    TIUX(.05)=0
    TIUX(.06)=""
    TIUX(2,1,0)="Active Medications:"
    
RETURN PARAMETER DESCRIPTION
If the call is successful, this will be the record number (IEN) of the
resulting entry in the TIU TEMPLATE FILE (#8927).  In the event of a
filing error, the first "^"-piece will be zero, and the second "^"-piece
of this scalar return variable will be a textual message describing the
nature of the error (e.g., 0^The .01 field failed the input transform").