Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: VPSRPC1

Package: VA Point of Service

Routine: VPSRPC1


Information

VPSRPC1 ;BPOIFO/EL,WOIFO/BT - Patient Demographic and Clinic RPC;08/14/14 09:28

Source Information

Source file <VPSRPC1.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
VA Point of Service 6 GETAPPT^VPSRPC11  GETLAB^VPSRPC12  GETCNSLT^VPSRPC13  GETRAD^VPSRPC14  (GETADEM,GETHF,GETPRBLM)^VPSRPC15  GETDEM^VPSRPC16  
VA FileMan 3 FIELD^DID  DT^DILF  $$GET1^DIQ  
Kernel 1 $$UP^XLFSTR  
Master Patient Index VistA 1 $$GETDFN^MPIF001  
Registration 1 RPCVIC^DPTLK  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 14

Package Total Caller Graph
VA Point of Service 14 VPSMRAR1  VPSMRAR9  VPSMRARU  VPSPDO1  VPSRPC11  VPSRPC12  VPSRPC13  VPSRPC14  
VPSRPC15  VPSRPC16  VPSRPC26  VPSSRVY2  VPSVTL01  VPSVTL02  

Entry Points

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

External References

Name Field # of Occurrence
FIELD^DID SET+12
DT^DILF GETDATA2+13, GETDATA3+44
$$GET1^DIQ GETCLN+28
RPCVIC^DPTLK VALIDATE+28
$$GETDFN^MPIF001 VALIDATE+33
GETAPPT^VPSRPC11 GETDATA3+46
GETLAB^VPSRPC12 GETDATA3+47
GETCNSLT^VPSRPC13 GETDATA3+48
GETRAD^VPSRPC14 GETDATA3+49
GETADEM^VPSRPC15 GETDATA3+52
GETHF^VPSRPC15 GETDATA3+53
GETPRBLM^VPSRPC15 GETDATA3+50
GETDEM^VPSRPC16 GETDATA3+51
$$UP^XLFSTR GETCLN+18

Used in RPC

RPC Name Call Tags
VPS GET CLINIC GETCLN
VPS GET PATIENT DEMOGRAPHIC GETDATA
VPS GET2 PATIENT DEMOGRAPHIC GETDATA2
VPS ENHANCED GET PATIENT DEMO GETDATA3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] VALIDATE+24
^DPT("SSN" VALIDATE+18
^SC("B" GETCLN+22, GETCLN+24

Label References

Name Line Occurrences
$$VALIDATE GETDATA3+32
GETDATA2 GETDATA+9
GETDATA3 GETDATA2+16
SET GETCLN+26, GETCLN+27, GETCLN+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ANS GETDATA2+12~, GETDATA2+13, GETDATA2+14, GETDATA3+43~, GETDATA3+44, GETDATA3+45
CAT GETDATA3+37~, GETDATA3+40*, GETDATA3+42, GETDATA3+46, GETDATA3+47, GETDATA3+48, GETDATA3+49, GETDATA3+50, GETDATA3+51, GETDATA3+52
, GETDATA3+53
CATEGORY GETDATA2+11~, GETDATA2+16
CATEGORY(1 GETDATA2+14*
CATEGORY(2 GETDATA2+15*
CLNAM GETCLN~, GETCLN+15, GETCLN+18
CM VALIDATE+7~*, VALIDATE+10
CNT SET+11~*, SET+13
DFN GETDATA3+35~*, GETDATA3+46, GETDATA3+47, GETDATA3+48, GETDATA3+49, GETDATA3+50, GETDATA3+51, GETDATA3+52, GETDATA3+53, VALIDATE+13~*
, VALIDATE+17*, VALIDATE+18*, VALIDATE+19*, VALIDATE+20, VALIDATE+23*, VALIDATE+24*, VALIDATE+25, VALIDATE+28, VALIDATE+29*, VALIDATE+30
, VALIDATE+33*, VALIDATE+35
DTRANGE GETDATA3+37~, GETDATA3+41*, GETDATA3+42, GETDATA3+45*, GETDATA3+46, GETDATA3+47, GETDATA3+48, GETDATA3+49
ICAT GETDATA2+11~
LOCATION GETCLN+17~, GETCLN+28*, GETCLN+29
SEQ GETDATA3+37~*, GETDATA3+39*, GETDATA3+40, GETDATA3+41
SSN GETDATA~, GETDATA+9, VALIDATE+16~*, VALIDATE+17, VALIDATE+18
U VALIDATE+17, VALIDATE+19, VALIDATE+24, SET+13
VPSARR GETCLN~, GETCLN+14!, GETCLN+26, GETCLN+27, GETCLN+29, GETCLN+31, GETDATA~, GETDATA+9, GETDATA2~, GETDATA2+16
, GETDATA3~, GETDATA3+31!, GETDATA3+36!, GETDATA3+46, GETDATA3+47, GETDATA3+48, GETDATA3+49, GETDATA3+50, GETDATA3+51, GETDATA3+52
, GETDATA3+53, SET~
VPSARR( SET+13*
VPSARR("" SET+11
VPSARR(1 GETCLN+15*, GETCLN+31*, GETDATA3+32*, GETDATA3+33, GETDATA3+35
VPSCAT GETDATA3~, SET~, SET+13
VPSCAT( GETDATA3+39, GETDATA3+40, GETDATA3+41
VPSCLN GETCLN+17~, GETCLN+23*, GETCLN+24*, GETCLN+25, GETCLN+26, GETCLN+28
VPSCNAM GETCLN+19~*, GETCLN+22*, GETCLN+24, GETCLN+27
VPSDA SET~, SET+13
VPSDS SET~, SET+12*, SET+13
VPSFL GETCLN+20~*, GETCLN+26, GETCLN+27, GETCLN+28, GETCLN+29, SET~, SET+12, SET+13
VPSFLD SET~, SET+12, SET+13
VPSIEN GETCLN+17~, GETCLN+25*, GETCLN+26, GETCLN+27, GETCLN+29, SET~, SET+13
VPSNUM GETDATA2~, GETDATA2+16, GETDATA3~, GETDATA3+32, VALIDATE~, VALIDATE+11, VALIDATE+16, VALIDATE+17, VALIDATE+19, VALIDATE+23
, VALIDATE+28, VALIDATE+29, VALIDATE+33
VPSOUT SET+12~
VPSOUT("LABEL" SET+12
VPSTYP GETDATA2~, GETDATA2+16, GETDATA3~, GETDATA3+32, VALIDATE~, VALIDATE+9, VALIDATE+10, VALIDATE+11, VALIDATE+15, VALIDATE+22
, VALIDATE+27, VALIDATE+32
VPSUPNAM GETCLN+18~*, GETCLN+22
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All