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: PSOVCCA

Package: Outpatient Pharmacy

Routine: PSOVCCA


Information

PSOVCCA ;BIR/JLC,KML - VCC PRESCRIPTION REFILL APIS ; Nov 22, 2023@13:04:43

Source Information

Source file <PSOVCCA.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Outpatient Pharmacy 4 REF^PSOATRFV  ^PSOCMOPA  ($$CHKPRKORIG,CHKLBL,GETRELDT,UNPARK)^PSOPRKA  $$TITRX^PSOUTL  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Pharmacy Data Management 1 (PSOL,PSOUL)^PSSLOCK  

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: 1

Package Total Caller Graph
Outpatient Pharmacy 1 PSO VCC REFILL  

Entry Points

Name Comments DBIA/ICR reference
AP1(PSORET,PSODFN,PSORX,PSOUSER,PSORFSRC,PSORTFLG) ;ACCEPT REQUEST
; Input: PSODFN (required) - Patient IEN Number
; PSORX (required) - Prescription Number
; PSOUSER (optional) - User requesting refill
; PSORFSRC (optional) - the source system from which the REFILL
; request Originated (e.g., VCC, CPRS, VSE)
; PSORTFLG (optional) - 1 or empty (null) - the return flag; if = 1 then the RPC will
; return the numeric code with the error text; if = null
; then the RPC will only return the numeric code (-5, -4, -3, 0, or 1 )
; Output: PSORET - Return Value
; See IA# 7313 for description and values
SIMPLE(PSODFN,PSORX,PSOUSER,PSORFSRC) ;
QUITAP1
EXPANDED(PSODFN,PSORX,PSOUSER,PSORFSRC) ;
CHKPARK ; if order is parked and last fill label is not printed, reuse the last fill instead of placing a new refill *712

External References

Name Field # of Occurrence
$$GETICN^MPIF001 SIMPLE+8, EXPANDED+3
REF^PSOATRFV SIMPLE+24, EXPANDED+19
^PSOCMOPA CHKPARK+10, CHKPARK+22
$$CHKPRKORIG^PSOPRKA CHKPARK+6
CHKLBL^PSOPRKA CHKPARK+9, CHKPARK+18
GETRELDT^PSOPRKA CHKPARK+8, CHKPARK+14
UNPARK^PSOPRKA CHKPARK+26
$$TITRX^PSOUTL CHKPARK+6
PSOL^PSSLOCK SIMPLE+16, EXPANDED+11
PSOUL^PSSLOCK SIMPLE+17, EXPANDED+12

Used in RPC

RPC Name Call Tags
PSO VCC REFILL AP1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSRX - [#52] SIMPLE+13, EXPANDED+8, CHKPARK+3, CHKPARK+4, CHKPARK+7, CHKPARK+11, CHKPARK+12, CHKPARK+13
^PSRX("B" SIMPLE+11, SIMPLE+12, SIMPLE+13, EXPANDED+6, EXPANDED+7, EXPANDED+8

Label References

Name Line Occurrences
CHKPARK SIMPLE+19, EXPANDED+14
EXPANDED AP1+14
QUITAP1 SIMPLE+7, SIMPLE+9, SIMPLE+10, SIMPLE+11, SIMPLE+12, SIMPLE+14, SIMPLE+15, SIMPLE+16, SIMPLE+19, SIMPLE+20
SIMPLE AP1+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DA CHKPARK+1~, CHKPARK+2*, CHKPARK+3, CHKPARK+4, CHKPARK+6, CHKPARK+7, CHKPARK+8, CHKPARK+9, CHKPARK+11, CHKPARK+12
CHKPARK+13, CHKPARK+14, CHKPARK+18
ERR SIMPLE+5~, SIMPLE+24, SIMPLE+25, EXPANDED+1~, EXPANDED+19, EXPANDED+20
ERRMSG SIMPLE+18~, SIMPLE+19, EXPANDED+13~, EXPANDED+14, CHKPARK+26
IEN SIMPLE+5~, EXPANDED+1~
>> LBLP CHKPARK+9, CHKPARK+19
NRF CHKPARK+12~*, CHKPARK+16, CHKPARK+20, CHKPARK+24
ORRFILL CHKPARK+1~, CHKPARK+2*
>> PSOCMOP CHKPARK+10, CHKPARK+23
PSODFN AP1~, AP1+13, AP1+14, SIMPLE~, SIMPLE+7, SIMPLE+8, SIMPLE+15, EXPANDED~, EXPANDED+2, EXPANDED+3
, EXPANDED+10, CHKPARK+26
PSOICN SIMPLE+5~, SIMPLE+8*, SIMPLE+9, EXPANDED+1~, EXPANDED+3*, EXPANDED+4
PSOITMG SIMPLE+5~, EXPANDED+1~
PSOMSG SIMPLE+16!, EXPANDED+11!
PSORET AP1~, EXPANDED+20*
PSORET(0 SIMPLE+7*, SIMPLE+9*, SIMPLE+10*, SIMPLE+11*, SIMPLE+12*, SIMPLE+14*, SIMPLE+15*, SIMPLE+16*, SIMPLE+19*, SIMPLE+21*
, SIMPLE+22*, SIMPLE+23*, SIMPLE+25*, SIMPLE+26*, EXPANDED+2*, EXPANDED+4*, EXPANDED+5*, EXPANDED+6*, EXPANDED+7*, EXPANDED+9*
, EXPANDED+10*, EXPANDED+11*, EXPANDED+14*, EXPANDED+16*, EXPANDED+17*, EXPANDED+18*, EXPANDED+20*, EXPANDED+21*
PSORFSRC AP1~, AP1+13, AP1+14, SIMPLE~, SIMPLE+6*, SIMPLE+24, EXPANDED~, EXPANDED+19
PSORR SIMPLE+5~, EXPANDED+1~
PSORTFLG AP1~, AP1+13
PSORX AP1~, AP1+13, AP1+14, SIMPLE~, SIMPLE+10, SIMPLE+11, SIMPLE+12, SIMPLE+13, EXPANDED~, EXPANDED+5
, EXPANDED+6, EXPANDED+7, EXPANDED+8
PSOSITE SIMPLE+5~, EXPANDED+1~
PSOTIT SIMPLE+18~*, SIMPLE+20, SIMPLE+21, SIMPLE+22, EXPANDED+13~*, EXPANDED+15, EXPANDED+16, EXPANDED+17, CHKPARK+6*, CHKPARK+7
CHKPARK+8*, CHKPARK+9*, CHKPARK+10*, CHKPARK+11, CHKPARK+17*, CHKPARK+21*, CHKPARK+25*
PSOUSER AP1~, AP1+13, AP1+14, SIMPLE~, SIMPLE+24, EXPANDED~, EXPANDED+19
PSOZF CHKPARK+1~, CHKPARK+13*, CHKPARK+16, CHKPARK+18, CHKPARK+20, CHKPARK+24
PSRX SIMPLE+5~, SIMPLE+13*, SIMPLE+16, SIMPLE+17, SIMPLE+24, EXPANDED+1~, EXPANDED+8*, EXPANDED+11, EXPANDED+12, EXPANDED+19
CHKPARK+2, CHKPARK+26
PSRXD SIMPLE+5~, SIMPLE+13*, SIMPLE+14, SIMPLE+15, EXPANDED+1~, EXPANDED+8*, EXPANDED+9, EXPANDED+10
>> RSDT CHKPARK+8, CHKPARK+15
SITE SIMPLE+5~, EXPANDED+1~
UNPARK SIMPLE+18~*, SIMPLE+23, EXPANDED+13~*, EXPANDED+18
X1 EXPANDED+1~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Local Variables  | All