MAG3 TIU MODIFY NOTE (2422)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG3 TIU MODIFY NOTE
TAG MOD
ROUTINE MAGGNTI1
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
DESCRIPTION
Modify an Existing Note. 
Change it's status from unsigned to administrative closure
or to signed.
INPUT PARAMETER
  • MAGDFN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    DFN of the Patient.
    
  • MAGTIUDA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   60
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This is the IEN of the Note in file ^TIU(8925
    
  • MAGADCL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
     1 = Mark this Note as Administratively Closed
     otherwise it will be Un-Signed
    
  • MAGMODE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   YES
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Mode of Admin Closure:
    "S" = Scanned Document
    "M" = Manual closure
    
  • MAGES
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   90
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    The encrypted Electronic Signature
    
  • MAGESBY
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   90
    REQUIRED:   NO
    SEQUENCE NUMBER:   6
    DESCRIPTION:   
     The DUZ of the Signer (Defaults to DUZ)
    
  • MAGTEXT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   3200
    REQUIRED:   NO
    SEQUENCE NUMBER:   7
    DESCRIPTION:   
    Array of Text to add to the Note.
    
RETURN PARAMETER DESCRIPTION
If success :
  result ="0^<error message>"
   result = "<TIU IEN>^Addendum was created."
If success and Administratively Closed.
  result ="<TIU IEN>^Addendum was created...
                             Administrative Closure."
If success and signed.
  result ="<TIU IEN>^Addendum was created.  Signed."
   
If error: