VPSRPC1 ;BPOIFO/EL,WOIFO/BT - Patient Demographic and Clinic RPC;08/14/14 09:28
Source file <VPSRPC1.m>
| Name | Comments | DBIA/ICR reference | 
|---|---|---|
| GETCLN(VPSARR,CLNAM) | ; RPC: VPS GET CLINIC - CLINIC NAME ENTRY
 ; Called by Vetlink Kiosk system. ; The RPC will accept 2 parameters. The first parameter represents the ; return value as required by RPC Broker, and the 2nd parameter is ; single input value representing the name of the clinic (full or partial ; name). The output produced will be an array that returns all the ; possible matches for the clinic (one to many clinics). Values returned ; will be the name of the clinic and the ien of the clinic.  | 
|
| GETDATA(VPSARR,SSN) | ; RPC: VPS GET PATIENT DEMOGRAPHIC
 ; This RPC is called by the Vetlink Kiosk (point of service) system. ; Given Patient SSN, this RPC returns the patient demographics,insurance,and up-coming appointments, etc.  | 
|
| GETDATA2(VPSARR,VPSNUM,VPSTYP) | ; RPC: VPS GET2 PATIENT DEMOGRAPHIC
 ; This RPC is called by the Vetlink Kiosk (point of service) system. ; Given Patient SSN or DFN or ICN or VIC/CAC, this RPC returns the patient demographics,insurance,and up-coming appointments, etc.  | 
|
| GETDATA3(VPSARR,VPSNUM,VPSTYP,VPSCAT) | ; RPC: VPS ENHANCED GET PATIENT DEMOGRAPHIC
 ; This RPC is called by the Vetlink Kiosk (point of service) system. ; Given Patient SSN or DFN or ICN or VIC/CAC, this RPC returns the patient demographics,insurance,and up-coming appointments, etc ; for selected categories  | 
|
| VALIDATE(VPSTYP,VPSNUM) | ;validate patient-id type and patient id value
 ; INPUT ; VPSTYP - Parameter TYPE - SSN or DFN OR ICN OR VIC/CAC (REQUIRED) ; VPSNUM - Parameter Value - patient SSN OR DFN OR ICN OR VIC/CAC (REQUIRED) ; RETURN ; DFN if patient-type/id pair is valid otherwise return -1^Errormessage  | 
|
| SET(VPSARR,VPSFL,VPSIEN,VPSFLD,VPSDA,VPSDS,VPSCAT) | ;Set line item to output array
 ; OUTPUT ; VPSARR - passed in by reference; This is the Array of clinics contains the line item ; INPUT ; VPSFL - File Number ; VPSIEN - File IEN ; VPSFLD - File Field Number ; VPSDA - Field Value ; VPSDS - (optional) User defined Field Name - default is the Fileman fieldname ; VPSCAT - Category: 1 - Appointment, 2 - Lab Orders, 3 - Consults, 4 - Radiology, 5 - Problem, 6 - Patient demographics  | 
| RPC Name | Call Tags | 
|---|---|
| VPS GET CLINIC | GETCLN | 
| VPS GET PATIENT DEMOGRAPHIC | GETDATA | 
| VPS GET2 PATIENT DEMOGRAPHIC | GETDATA2 | 
| VPS ENHANCED GET PATIENT DEMO | GETDATA3 |