TIU LINK SECONDARY VISIT (4393)    REMOTE PROCEDURE (8994)

Name Value
NAME TIU LINK SECONDARY VISIT
TAG LNKSVST
ROUTINE TIUPXAP3
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY SUBSCRIPTION
INACTIVE ACTIVE
WORD WRAP ON FALSE
APP PROXY ALLOWED No
DESCRIPTION
This remote procedure will link a given visit with a service category of 
DAILY HOSPITALIZATION to a document's SECONDARY VISIT field. If the 
document has a parent, this remote procedure will link it to the same 
visit via its SECONDARY VISIT field.
INPUT PARAMETER
  • TIUDFN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This is the patient's internal entry number (IEN) in the PATIENT file 
    (#2).
    
  • TIUDA
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the document's IEN in the TIU DOCUMENT file (#8925).
    
  • TIUVSTR
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This is either the visit's IEN in the VISIT file (#9000010) or the visit 
    string associated with the visit to link to.
    
RETURN PARAMETER DESCRIPTION
Caret-delimited string with the following structure:
  STATUS^MESSAGE
 
  STATUS: 1 for success, 0 for failure
  MESSAGE: A user-friendly reason why the call failed