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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PXVXR

Package: PCE Patient Care Encounter

Routine: PXVXR


Information

PXVXR ;BIR/ADM - CROSS REFERENCE AND OTHER LOGIC ;09/29/2016

Source Information

Source file <PXVXR.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Kernel 2 $$SETUP1^XQALERT  $$KSP^XUPARAM  
VA FileMan 2 EN^DDIOL  ^DIR  

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

Package Total Caller Graph
PCE Patient Care Encounter 3 PXKMAIN1  PXVRPC4  PXVUTIL  

Entry Points

Name Comments DBIA/ICR reference
EXP ; check for expiration date in the past
INUSE ; input check on LOT NUMBER field (#.01)
COMB ; check on LOT NUMBER field (#.01) for uniqueness of Immunization Name, Lot Number and Manufacturer combination
AUCHK
COMB1 ; input check on MANUFACTURER field (#.02)
COMB2 ; input check on VACCINE field (#.04)
ACT() ; screen immunization with active immunization lot number
DIV() ; screen for division
IMMSEL(PXVLOT,PXVIN) ; is this lot # selectable for this facility
LOT() ;
STOCK ; check for availability of stock in immunization inventory for selected immunization
; decrement inventory level if not historical event
DIV1(PXVISIT) ; return division associated with the encounter
HIST() ; check if historical encounter
ALERT ; send alert if no stock available
DECR ; set logic for AF x-ref in V IMMUNIZATION file
; decrement doses unused in IMMUNIZATION LOT file
INCR ; kill logic for AF x-ref in V IMMUNIZATION file
; increment doses unused in IMMUNIZATION LOT file

External References

Name Field # of Occurrence
EN^DDIOL EXP+3, INUSE+3, INUSE+4, AUCHK+5, AUCHK+6
^DIR EXP+4
$$SETUP1^XQALERT ALERT+4
$$KSP^XUPARAM DIV+5, DIV1+8

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVIMM - [#9000010.11] ACT+3, ACT+4, DIV+2, STOCK+5, STOCK+13, HIST+4, HIST+7
^AUPNVIMM("LN" INUSE+2
^AUPNVSIT - [#9000010] DIV+3, DIV+5, DIV1+4, DIV1+8, HIST+8
^AUTTIML - [#9999999.41] COMB+2, AUCHK+1, COMB1+3, COMB2+3, IMMSEL+3, LOT+3, STOCK+8, STOCK+9, DECR+4, DECR+5*
INCR+4, INCR+5*
^AUTTIML("AC" AUCHK+4
^AUTTIML("AF" IMMSEL+3, STOCK+9
^AUTTIML("C" ACT+3, ACT+4, ACT+5, LOT+3, STOCK+6, STOCK+8
^PXV(920.1 - [#920.1] HIST+6
^SC - [#44] DIV+4, DIV1+5

Label References

Name Line Occurrences
$$DIV ACT+6
$$DIV1 STOCK+7
$$HIST STOCK+3, DECR+2, INCR+2
$$IMMSEL DIV+6
AUCHK COMB1+4, COMB2+4
DECR STOCK+13

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DA INUSE+2, COMB+2, AUCHK+1, COMB1+3, COMB2+3, ACT+3, DIV+2, STOCK+4, HIST+3
DIR EXP+4!
DIR("A" EXP+4*
DIR("B" EXP+4*
DIR(0 EXP+4*
DT EXP+2
>> DTOUT EXP+5
>> DUOUT EXP+5
DUZ ALERT+2
DUZ(2 DIV+5, DIV1+8
>> PXCEFIEN ACT+4
>> PXCEVIEN DIV+2, STOCK+7
>> PXD ACT+5
>> PXKAFT("13" HIST+5
>> PXKPIEN STOCK+4, HIST+3
>> PXKVST STOCK+7
PXV INUSE+1~, COMB+2*, COMB1+1~, COMB1+3*, COMB2+1~, COMB2+3*, DECR+3~, DECR+4*, DECR+5*, INCR+3~
INCR+4*, INCR+5*
PXVDA STOCK+2~, STOCK+4*, STOCK+5, STOCK+13
PXVDT EXP+1~, EXP+2*, EXP+6
>> PXVFIEN AUCHK+2
PXVHIST HIST+1~, HIST+2*, HIST+3, HIST+6*, HIST+8*, HIST+9
PXVIEN STOCK+2~, STOCK+5*, STOCK+6, STOCK+8, HIST+1~, HIST+3*, HIST+4, HIST+7
PXVIM INUSE+1~, COMB+2*, AUCHK+4, COMB1+1~, COMB1+3*, COMB2+1~, COMB2+2*
PXVIMM ACT+1~, ACT+2*, ACT+3*, ACT+4*, ACT+5*, ACT+6*, ACT+7, LOT+1~, LOT+2*, LOT+3*
STOCK+2~, ALERT+3
PXVIN DIV+1~, DIV+4*, DIV+5*, DIV+6, IMMSEL~, IMMSEL+3, STOCK+2~, STOCK+7*, STOCK+9, DIV1+2*
, DIV1+5*, DIV1+8*, DIV1+9
PXVINST AUCHK~
>> PXVISIEN DIV+2
PXVISIT STOCK+2~, STOCK+7*, DIV1~, DIV1+3, DIV1+4, DIV1+8
PXVL DIV+1~*, DIV+3*, DIV+4, DIV1+1~, DIV1+2*, DIV1+4*, DIV1+5
PXVLN INUSE+1~, COMB+1*, AUCHK+3*, AUCHK+4, COMB1+1~, COMB1+3*, COMB2+1~, COMB2+3*, LOT+1~, LOT+3*
STOCK+2~, STOCK+5*, STOCK+6, STOCK+8*, STOCK+9
PXVLOT IMMSEL~, IMMSEL+3
PXVMAN INUSE+1~, COMB+2*, AUCHK+4, COMB1+1~, COMB1+2*, COMB2+1~, COMB2+3*
PXVNEWIM STOCK+4, HIST+3, DECR+6!
PXVSIT HIST+1~, HIST+7*, HIST+8
PXVSRCE HIST+1~, HIST+4*, HIST+5*, HIST+6
PXVST DIV+1~*, DIV+6*, DIV+7, IMMSEL+1~, IMMSEL+2*, IMMSEL+3*, IMMSEL+4
PXVSTN AUCHK~, AUCHK+1*, AUCHK+2*, AUCHK+3*
PXVSTOCK STOCK+2~, STOCK+5*, STOCK+9*
PXVV DIV+1~, DIV+2*, DIV+3, DIV+5
PXVVAC ACT+1~
PXVVAR ALERT+1~, ALERT+4*
PXVX EXP+1~, EXP+3*, INUSE+1~, INUSE+4*, AUCHK+6*, COMB1+1~, COMB2+1~
U ACT+3, ACT+4
X EXP+2, EXP+5!, EXP+6*, INUSE+2, INUSE+4!, COMB+1, AUCHK+6!, COMB1+2, COMB2+2, STOCK+2~
STOCK+13*, DECR+4, DECR+5, INCR+4, INCR+5
XQA ALERT+1~
XQA( ALERT+2*
XQAMSG ALERT+1~, ALERT+3*
Y EXP+1~, EXP+5, ACT+3, ACT+4, ACT+5, DIV+6, LOT+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All