VPS WRITE MRAR PDO

TITLEVALUE
NAMEVPS WRITE MRAR PDO
DESCRIPTIONCalled by the Vetlink Kiosk system. The RPC will accept 4 input
parameters; and will return output when processing completes or ends with
an exception. Vetlink Kiosk has the Medication Review Allergy Review
modules where a veteran can review and make changes to his medications
and any allergies. The MRAR can also be facilitated by a provider. The
local arrays identify the field to be updated along with the respective
data changes and serves to the RPC.
TAGWRITE
ROUTINEVPSMRAR1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERVPSPID
DESCRIPTIONThe patient identifier value corresponding to the provided identifier
type, VPSTYP.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH30

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERVPSTYP
DESCRIPTIONPatient ID Type. Valid Values for this parameter are SSN, DFN, ICN, or
VIC/CAC.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH7

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERVPSINTFC
DESCRIPTIONInterface Module.
'S' represents Staff-facing Interface Module
'P' represents Patient-facing Interface Module
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH1

INPUT PARAMETERSSEQUENCE NUMBER4
INPUT PARAMETERVPSMRAR
DESCRIPTIONLocal array representing the kiosk Medication and Allergy
Review passed in by reference. VPSMRAR represents allergy related
fields, medication related fields, and statistical information about the
MRAR session.

Each subscript in the array is assigned a composite, delimited string.

localArray(n) = FIELD NAME^ARRAY IENS^DATA

where

n is an incremental number

FIELD NAME represents the name of the field in 853.5 file

ARRAY IENS represent entry and sub-entry ctrs (e.g., if patient has 3
allergies then a given value would be "1,2" where "1" represents top
level entry and "2" represents the sub-entry or the 2nd allergy
record.)

DATA is the actual data that is populated at an entry in 853.5

Note: Each element in VPSMRAR will accept values in the above format.
However, elements of some multiple fields use the third index as the
value and will ignore provided input values.
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH

RETURN VALUE TYPEARRAY
RETURN PARAMETER DESCRIPTIONLocal array that returns the results of each updated field per array data
element.

SUCCESS : localArray(n) = FIELD NAME^ARRAY IENS^DATA^1
1 equals successful update to the database of the specific
field declared at field label.

FAILED : localArray(n)="FIELD NAME^ARRAY IENS^DATA^99^exception message"
99 means an exception and no update was made to the database for that
specific field and exception message describes the error.
AVAILABILITYRESTRICTED
INACTIVEACTIVE
CLIENT MANAGER
WORD WRAP ON
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED