Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: VPSRPC3

Package: VA Point of Service

Routine: VPSRPC3


Information

VPSRPC3 ;DALOI/KML - VPS Pre-registration RPC ;4/26/2012

Source Information

Source file <VPSRPC3.m>

Entry Points

Name Comments DBIA/ICR reference
PREREG(RESULT,DFN,PRESTAT) ; Pre-Register a patient
; RPC=VPS PATIENT PRE-REGISTRATION
; input variables
; DFN - patient IEN, required
; PRESTAT - code for the call such as 'C' = 'CONTACTED' or
; 'X' = 'CHANGE INFORMATION', required
; output variable
; RESULT - variable that returns the result of the RPC, includes a
; a number (1 or 0) followed by a short message
UPDLOG(DFN,STATUS,DIVIEN) ; Update PRE-REGISTRATION CALL File, #41.43
; ICR # 5798 - allows VPS package to add and edit an entry in the PRE-REGISTRATION CALL file
; Input:
; DFN - The IEN of the patient being called
; STATUS - Status of the call attempt
; DIVIEN - Division IEN (used for sorting)
CHKST(CODE) ; determine if status code is valid
; input -
; CODE = status of pre-registration call - this code is sent to the RPC from the Vetlink Kiosk
; output -
; FOUND = result of the validation which determines if the incoming kiosk code was matched against one of the valid VistA codes
BLDCODES(ARRAY) ;build array of valid statuses that represent the outcome of the call to the patient
; valid codes can be located at the STATUS field of the PRE-REGISTRATION CALL LOG (#41.43,3).
CODELST ; list of codes

Used in RPC

RPC Name Call Tags
VPS PATIENT PRE-REGISTRATION PREREG

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DGS(41.41 - [#41.41] Classic Fileman Calls
^DGS(41.42 - [#41.42] Classic Fileman Calls
^DGS(41.43 - [#41.43] Classic Fileman Calls
Info |  Source |  Entry Points |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call