MAG4 CP CONSULT TO TIUDA (1258)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG4 CP CONSULT TO TIUDA
TAG TIUDA
ROUTINE MAGGSCP
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
 Imaging Capture workstation calls this RPC to get a TIU IEN to
 attach images to.
 This call simply calls a CP API, which accepts
 DFN, Consult #, Visit String (optional), Complete|Do not Complete the |
 transaction.

INPUT PARAMETER
  • MAGDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DFN of Patient
    
  • MAGCONS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
     This is the consult #.  The consult # is returned as a part of the
     Clinical Procedure Requests Query.
    
  • MAGVSTR
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
     Visit String, needed to create a New Tiu Note.
     Visit String is returned as part of the Query to get Patient Visits.
     The Query to get a list of patient visits, is done directly before
     this call from the Capture Workstation.
    
  • MAGCMP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
     Flag:  tells to Complete (1) or Not Complete (0) the CP transaction.
      If Not Complete, then this transaction is available on the CP User station
     to attach images to.
    
RETURN PARAMETER DESCRIPTION
 Returns the TIU IEN of the CP Note.
 or -1^error message.
 This RPC Call simply calls a CP API for imaging.