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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSBOMH2

Package: Barcode Medication Administration

Routine: PSBOMH2


Information

PSBOMH2 ;BIRMINGHAM/EFC-MAH ;9/13/12 5:15pm

Source Information

Source file <PSBOMH2.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Barcode Medication Administration 2 PT^PSBOHDR  PSBOUT^PSBOMH1  
Inpatient Medications 1 $$GETSIOPI^PSJBCMA5  
Kernel 1 $$FMTE^XLFDT  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Barcode Medication Administration 2 PSBOMH  PSBOMH1  

Entry Points

Name Comments DBIA/ICR reference
HDR(PRN) ;
; PRN = TRUE IF DISPLAYING PRN MED (OPTIONAL)
CHKPAGE ;check for page full and print overflow msgs and new page headers *68
PSBCK1(PSBCHK) ;
PRN(XO) ;
CONT(XO) ;
PSBCTAR ;
EN ; Add dual sections for MAH report - IM and then CO *70
; only one Legend section after CO section
; sort 1 = IM sort 2 = CO
SIOPI ;Get and print SI/OPI Wp text *68
PSBENT(PSBTIS) ;
PSBSTIV ;
LEGEND ;

External References

Name Field # of Occurrence
$$GET1^DIQ PSBENT+1
PT^PSBOHDR LEGEND+3, HDR+3
PSBOUT^PSBOMH1 PSBCK1+3, PSBCK1+7, PSBSTIV+6, PSBCTAR+6
$$GETSIOPI^PSJBCMA5 SIOPI+2
$$FMTE^XLFDT EN+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $$HDR()
  • Line Location: CONT+3
Function Call: WRITE
  • Prompt: " "
  • Line Location: CONT+21
Function Call: WRITE
  • Prompt: "HOLD"
  • Line Location: CONT+25
Function Call: WRITE
  • Prompt: "***"
  • Line Location: CONT+27
Function Call: WRITE
  • Prompt: "***"
  • Line Location: CONT+28
Function Call: WRITE
  • Prompt: $$HDR(1)
  • Line Location: PRN+2
Function Call: WRITE
  • Prompt: !!,"Initial - Name Legend",!
  • Line Location: LEGEND+4
Function Call: WRITE
  • Prompt: !!,"Status Codes",!,"C - Completed",!,"G - Given",!,"H - Held",!,"I - Infusing",!,"M - Missing Dose Requested",!,"R - Refused",!,"RM - Removed",!,"S - Stopped",!
  • Line Location: LEGEND+8
Function Call: WRITE
  • Prompt: "> - Scheduled administration times for the order have been changed",!,"*** - Medication Not Due",!
  • Line Location: LEGEND+9
Function Call: WRITE
  • Prompt: !,"Location",?32,"| "
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: ?(40+(X*13)),"|"
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: ?(40+(X*13)),"|"
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !,$TR($J("",IOM)," ","-")
  • Line Location: HDR+15
Function Call: WRITE
  • Prompt: !," Special Instructions:"
  • Line Location: SIOPI+6
Function Call: WRITE
  • Prompt: !," ",SITXT
  • Line Location: SIOPI+7

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSB(53.79 - [#53.79] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSB(53.79 - [#53.79] PSBCK1+2, PSBCK1+4, PSBCK1+6, PSBCK1+8, PSBSTIV+2, PSBSTIV+3, PSBSTIV+4, PSBCTAR+2, PSBCTAR+3, PSBCTAR+4
, PSBCTAR+6
^TMP("PSB" EN+12, EN+13, EN+18, EN+19, EN+25, EN+26, EN+31, EN+32, EN+37!, CONT+5
, CONT+7, CONT+9, CONT+10, CONT+14, CONT+15, CONT+17, CONT+19, CONT+25, CONT+26, CONT+27
, CONT+28, PRN+4, PRN+6, PRN+7, PRN+8, PRN+9, PRN+14, PRN+15, LEGEND+5, LEGEND+6
, HDR+10, PSBENT+2*
^TMP("PSJ" LEGEND+10!
^TMP("PSJBCMA5" SIOPI+1!, SIOPI+3, SIOPI+4, SIOPI+8!

Label References

Name Line Occurrences
$$HDR CONT+3, CONT+11, PRN+2, PRN+11, CHKPAGE+3
CHKPAGE CONT+13, PRN+13, SIOPI+6, SIOPI+7
CONT EN+14, EN+27
LEGEND EN+36
PRN EN+20, EN+33
SIOPI CONT+30, PRN+16

Naked Globals

Name Field # of Occurrence
^("" CONT+9, CONT+10
^(0 PSBCK1+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> DFN LEGEND+3, HDR+3, SIOPI+1, SIOPI+2, SIOPI+3, SIOPI+4, SIOPI+8
IOM CONT+31, PRN+17, HDR+15, CHKPAGE+2, CHKPAGE+4
IOSL CONT+11, PRN+11, CHKPAGE+1
PRN HDR~, HDR+5, HDR+6, HDR+7, HDR+8, HDR+9, HDR+13
>> PSBAUD( PSBSTIV+1, PSBSTIV+3, PSBSTIV+5*, PSBSTIV+6
PSBCHK PSBCK1~, PSBCK1+1, PSBCK1+5, PSBCK1+9*
PSBCLINORD LEGEND+2~*, HDR+2~*
>> PSBCNT CONT+8*, CONT+9*, CONT+10*, CONT+11, CONT+12, CONT+25, CONT+27, CONT+28, PRN+7*, PRN+8
, PRN+9*, PRN+10*, PRN+11, PRN+12, CHKPAGE+1
>> PSBCOL CONT+16*, CONT+18, CONT+29*, HDR+10*, HDR+11, HDR+12*
>> PSBDAY CONT+16*, CONT+17*, CONT+19, CONT+25, CONT+26, CONT+27, CONT+28
>> PSBDRUG CONT+4*, CONT+5*, CONT+7, PRN+3*, PRN+4*, PRN+6
>> PSBHDR LEGEND+3, HDR+3
>> PSBHDR(0 EN+6*
>> PSBHDR(1 CONT+2*, PRN+1*
>> PSBIEN PSBCK1+2, PSBCK1+4, PSBCK1+6, PSBCK1+8, PSBENT+1, PSBSTIV+2, PSBSTIV+3, PSBSTIV+4, PSBCTAR+2, PSBCTAR+3
, PSBCTAR+4, PSBCTAR+6
>> PSBINIT PSBCK1+3, PSBCK1+4, PSBCK1+7, PSBCK1+8
>> PSBLINE CONT+12*, CONT+14, CONT+15, CONT+19, CONT+25, CONT+27, CONT+28, PRN+12*, PRN+14, PRN+15
, CHKPAGE+1
>> PSBNAME PSBENT+1*, PSBENT+2
>> PSBORD CONT+6*, CONT+7*, CONT+9, CONT+10, CONT+14, CONT+15, CONT+19, CONT+25, CONT+26, CONT+27
, CONT+28, PRN+5*, PRN+6*, PRN+7, PRN+8, PRN+9, PRN+14, PRN+15, SIOPI+2, SIOPI+3
, SIOPI+4
>> PSBRPT( EN+5, EN+6
PSBSUBHD EN+9~, EN+10*, EN+23*, EN+35*, LEGEND+3, HDR+3
>> PSBTAR( PSBCTAR+1, PSBCTAR+3, PSBCTAR+5*, PSBCTAR+6
PSBTIS PSBENT~, PSBENT+2
>> PSBWEEK EN+11*, EN+12*, EN+13, EN+17*, EN+18*, EN+19, EN+24*, EN+25*, EN+26, EN+30*
, EN+31*, EN+32, CONT+5, CONT+7, CONT+17, CONT+19, PRN+4, PRN+6, PRN+7, PRN+15
, HDR+10
>> QQ SIOPI+3*, SIOPI+4, SIOPI+6
SILN CONT+1~, SIOPI+2*, SIOPI+3, SIOPI+5
SITXT CONT+1~, SIOPI+4*, SIOPI+5, SIOPI+7
>> TEST PSBCK1+2*, PSBCK1+3
>> TESTB PSBCK1+6*, PSBCK1+7
U EN+5, EN+6, CONT+21, CONT+22, CONT+23, CONT+24, PSBCK1+2, PSBCK1+4, PSBCK1+6, PSBCK1+8
, PSBSTIV+3, PSBSTIV+5, PSBSTIV+6, PSBCTAR+3, PSBCTAR+5, PSBCTAR+6
>> X LEGEND+6*, LEGEND+7*, HDR+5*, HDR+7*, HDR+10*, HDR+11, PSBCK1+4*, PSBCK1+8*
XO CONT~, CONT+5, CONT+7, PRN~, PRN+4, PRN+6
>> Y EN+5*, EN+6, CONT+19*, CONT+21, CONT+22, CONT+23, CONT+24
>> YB PSBSTIV+1*, PSBSTIV+3, PSBSTIV+5, PSBSTIV+6
>> YC PSBCTAR+1*, PSBCTAR+3, PSBCTAR+5, PSBCTAR+6
>> Z PSBSTIV+2*, PSBSTIV+3, PSBSTIV+4, PSBCTAR+2*, PSBCTAR+3, PSBCTAR+4, PSBCTAR+6
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 |  Naked Globals |  Local Variables |  All