DSIR SET LAB LIST (2523)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIR SET LAB LIST
TAG STLABLST
ROUTINE DSIROI1
RETURN VALUE TYPE SINGLE VALUE
DESCRIPTION
This routine sets the requested labs for a given request. 
 
NOTE: the labs are deleted every time and then added
  based on the contents of DTLS.  If at any time
  an entry in DTLS contains an "@" the processing 
  stops.  This will allow an "@" in the first 
  entry in DTLS to cause all entries to be deleted.
INPUT PARAMETER
  • ROI
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    INPUT PARAMETER
       ROI = REQUEST IEN
    
  • DTLS
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   61
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     INPUT PARAMETER
        DTLS = LAB LIST DETAILS - AN ARRAY OF LAB LIST TITLES
           DTLS FORMAT:  #^LAB_TITLE
    
RETURN PARAMETER DESCRIPTION
RETURNS 
   Request IEN (same as ROI)
 OR
   -1^Invalid request number ROI
 OR
   -1^Unable to save the selected Lab List for request number ROI
 OR
   -1^Invalid lab type, Lab List cannot be saved for request number ROI