VPSMRAR9 ;WOIFO/BT - Get the last MRAR data for a patient;01/29/15 15:30
Source file <VPSMRAR9.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GET(VPSMRAR,VPSNUM,VPSTYP) | ; RPC: VPS GET LAST MRAR
; INPUT ; VPSNUM : Parameter Value - patient SSN OR DFN OR ICN OR VIC/CAC (REQUIRED) ; VPSTYP : Parameter TYPE - SSN or DFN OR ICN OR VIC/CAC (REQUIRED) ; OUTPUT ; VPSMRAR: local array contains all field names/values for the last mrar ; WITH ERROR -> VPSMRAR(0) = -1 ^ error message ; SUCCESS -> VPSMRAR(0) = 1 ; -> VPSMRAR(1..n) = FIELD NAME^SUBS^DATA |
|
ADD(VPSMRAR,FLDNAM,SUBS,INVAL,EXVAL) | ;Add the record to VPSMRAR
; INPUT ; FLDNAM : Field name to store ; SUBS : Subscript (unique identifier for multiple values) ; INVAL : Fileman Internal Value ; EXVAL : Fileman Externall Value ; OUTPUT ; VPSMRAR: local array contains all field names/values for the last mrar |
|
WP(REC,FIL,SUBS,FLD) | ;return word-processing value
|
RPC Name | Call Tags |
---|---|
VPS GET LAST MRAR | GET |