VPS UPDATE LAST MRAR TIU IEN (3376)    REMOTE PROCEDURE (8994)

Name Value
NAME VPS UPDATE LAST MRAR TIU IEN
TAG UPDATE
ROUTINE VPSMRARU
RETURN VALUE TYPE SINGLE VALUE
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
DESCRIPTION
This RPC will update the last Allergy and Modication review (MRAR) for
a patient with TIU Document IEN.
The last MRAR is defined as the last transaction date for a patient in
file 853.5 (VPS MRAR PDO)
INPUT PARAMETER
  • VPSNUM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    This input parameter is the patient ID of the last MRAR record to be 
    updated. Patient ID could be value of DFN, ICN, SSN, or VIC/CAC.
    
  • VPSTIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    This input parameter is the TIU Document IEN which is the value to store 
    in the TIU NOTE IEN field of the last MRAR record for the patient in VPS
    MRAR PDO File (#853.5).
    
  • VPSTYP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   7
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    This input parameter is the Patient Type. Valid Value is DFN, SSN, 
    VIC/CAC, or ICN