MAG3 TIU SIGN RECORD (2421)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG3 TIU SIGN RECORD
TAG SIGN
ROUTINE MAGGNTI1
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
DESCRIPTION
Calls TIU API : SIGN^TIUSRVP
If the call succeeds the Note will be changed to 'completed'
If the call fails, the Note status will not be changed.
INPUT PARAMETER
  • MAGDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Patient DFN
    
  • MAGTIUDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The TIU Document IEN from File ^TIU(8925
    
  • MAGES
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The users encrypted Electronic Signature.
    
  • MAGESBY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    The DUZ of the Signer (defaults to Partition Variable: DUZ)
    
RETURN PARAMETER DESCRIPTION
If success the result is:  "1^Success: Note has been Signed."
If error the result is: "0^<error message>"