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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: ALPBCBU

Package: Barcode Medication Administration

Routine: ALPBCBU


Information

ALPBCBU ;OIFO-DALLAS/SED/KC/MW BCMA-BCBU INPT TO HL7 ;Jan 10, 2024@11:10

Source Information

Source file <ALPBCBU.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Barcode Medication Administration 2 ($$CDIV,$$INI,$$IPH,$$MEDL,$$PMOV)^ALPBINP  $$DIV^ALPBUTL1  
Inpatient Medications 1 EN^PSJBCBU  
Kernel 1 SETUP^XQALERT  
Registration 1 (DEM,INP)^VADPT  
Toolkit 1 $$GET^XPAR  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Barcode Medication Administration 3 PSB BCBU PATIENT MOVEMENT  PSB BCBU RECEIVE  PSBML  
Inpatient Medications 1 PSJHL5  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
IPH(ALPMSG) ;CAPTURE MESSAGE ARRAY FROM PHARMACY
MEDL(ALPML) ;Use this entry to send MedLog messages
NURV(ALDFN,ALPORD) ;Use this entry to send verifying nursing.
PMOV ;Entry Point to send patient movement
ERRLG ;Error Log Message
; Retrieving the Patient's division name to include on the alert
PERR ;Process the error
DECEASED(DFN) ; Patient Deceased?
; Return: 1 (YES) or 0 (NO)

External References

Name Field # of Occurrence
$$CDIV^ALPBINP ERRLG+11
$$INI^ALPBINP NURV+18
$$IPH^ALPBINP IPH+5
$$MEDL^ALPBINP MEDL+6
$$PMOV^ALPBINP PMOV+9
$$DIV^ALPBUTL1 ERRLG+10
$$GET1^DIQ ERRLG+12, ERRLG+13
EN^PSJBCBU NURV+9
DEM^VADPT DECEASED+3
INP^VADPT ERRLG+6
$$GET^XPAR IPH+4, MEDL+5, NURV+7, PMOV+3
SETUP^XQALERT ERRLG+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF,!,"PSB BCBU Contingency Error",!
  • Line Location: PERR+1
Function Call: WRITE
  • Prompt: ?10,$P(XQADATA,U,2)_" / "_$P(XQADATA,U,3)
  • Line Location: PERR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] GET1^DIQ
^DG(40.8 - [#40.8] GET1^DIQ
^PSB(53.79 - [#53.79] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PMOV+8
^PSB(53.79 - [#53.79] ERRLG+4

Label References

Name Line Occurrences
$$DECEASED ERRLG+8
ERRLG MEDL+7, PMOV+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALDFN NURV~, NURV+4, NURV+9
ALPB NURV+8!, NURV+9, NURV+19!
ALPB( NURV+11, NURV+12, NURV+13, NURV+14, NURV+15, NURV+17
ALPBI NURV+10*, NURV+11*, NURV+12, NURV+13, NURV+14, NURV+15, NURV+19!
ALPDFN ERRLG+2~, ERRLG+4*, ERRLG+8, ERRLG+9, ERRLG+10, ERRLG+17
ALPDIV ERRLG+2~, ERRLG+10*, ERRLG+11*, ERRLG+12
ALPDIVST ERRLG+2~, ERRLG+3*, ERRLG+12*, ERRLG+13*, ERRLG+17
ALPINST ERRLG+2~, ERRLG+13*
ALPML MEDL~, MEDL+3, MEDL+6, ERRLG+4, ERRLG+11, ERRLG+13
ALPMSG IPH~, IPH+2, IPH+5
ALPORD NURV~, NURV+5, NURV+9
ALPRSLT IPH+1~, IPH+5*, MEDL+1~, MEDL+6*, MEDL+7, NURV+1~, NURV+18*, PMOV+1~, PMOV+9*, PMOV+10
ERRLG+18
DFN PMOV+4, PMOV+8, PMOV+9, DECEASED~
>> DGPMA PMOV+9
>> DGPMTYP PMOV+4, PMOV+9, ERRLG+6
>> DGPMUC PMOV+4, PMOV+6, PMOV+8, PMOV+9
HL IPH+1~
HLA IPH+1~
HLECH IPH+1~
HLQ IPH+1~
IOF PERR+1
>> MSCTR NURV+17*
>> MSH NURV+12*, NURV+16, NURV+17
>> ORC NURV+15*
>> PID NURV+13*
>> PSJDCA ERRLG+6
>> PV1 NURV+14*
U MEDL+7, PMOV+9, PMOV+10, ERRLG+4, PERR+2
VADM DECEASED+2~
VADM(6 DECEASED+4
>> VAIN(4 ERRLG+6
XQA ERRLG+15!
XQA("G.PSB BC BU ERRORS" , ERRLG+16*
XQADATA ERRLG+15!, ERRLG+18*, PERR+2
XQAFLAG ERRLG+15!
XQAID ERRLG+15!
XQAMSG ERRLG+15!, ERRLG+17*
XQAOPT ERRLG+15!
XQAROU ERRLG+15!, ERRLG+19*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All