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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSBO

Package: Barcode Medication Administration

Routine: PSBO


Information

PSBO ;BIRMINGHAM/EFC - BCMA OUTPUTS ;8/20/10 8:25am

Source Information

Source file <PSBO.m>

Call Graph

Call Graph Total: 20

Package Total Call Graph
VA Fileman 10 (H,NOW)^%DTC  ^DDS  MSG^DDSUTL  $$GET^DDSVAL  $$FIND1^DIC  FIELD^DID  (FILE,VAL)^DIE  ^DIK  
$$GET1^DIQ  ^DIR  
Kernel 4 (,HOME)^%ZIS  ^%ZISC  $$DEFDIR^%ZISH  ^%ZTLOAD  
Barcode Medication Administration 3 PAINCMT^PSBCSUTL  (LIST,NEW,PRINT)^PSBO1  (HFSCLOSE,HFSOPEN)^PSBUTL  
Inpatient Medications 1 EN^PSJBCMA  
Nursing Service 1 WARD^NURSUT5  
Registration 1 DEM^VADPT  

Caller Graph

Caller Graph Total: 24

Package Total Caller Graph
Barcode Medication Administration 22 PSBMLHS  PSBO BL  PSBO BZ  PSBO DL  PSBO MD  PSBO MH  PSBO ML  PSBO MM  
PSBO MV  PSBO PE  PSBO WA  PSBO XA  PSBO1  PSBOCE1  PSBOCM1  PSBOCP  
PSBOML  PSBOMM  PSBOMT  PSBOMV  PSBOPF  PSBOSF  
Order Entry Results Reporting 2 ORWPS  ORWRP1A  

Entry Points

Name Comments DBIA/ICR reference
SETUP() ; Setup parameters for the report in PSBRPT
PRNEFF(PSBEIECMT,PSBIEN) ;Check for PRN Error comment
DQ(PSBRPT) ; Dequeue report from Taskman
WRAP(X,Y,Z) ; Quick text wrap
RPC(RESULTS,PSBTYPE,PSBDFN,PSBSTRT,PSBSTOP,PSBINCL,PSBDEV,PSBSORT,PSBOI,PSBWLOC,PSBWSORT,PSBFUTR,PSBORDNM,PSBRCRI,PSBLIST,PSBPST,PSBTR,PSBDIV) ;
CHECK ;Beginning of PSB*1*10
VAL(PSBFLDS) ; Validate that fields in PSBFLDS are filled in
XQ(PSBTYPE) ; Called via Kernel Menus
IOM() ; Returns good margin or not

External References

Name Field # of Occurrence
H^%DTC VAL+15, VAL+18
NOW^%DTC RPC+19
^%ZIS XQ+13, XQ+16
HOME^%ZIS XQ+15
^%ZISC XQ+16
$$DEFDIR^%ZISH RPC+54
^%ZTLOAD XQ+22
^DDS XQ+4
MSG^DDSUTL VAL+20
$$GET^DDSVAL VAL+2
$$FIND1^DIC VAL+13
FIELD^DID VAL+6
FILE^DIE RPC+51
VAL^DIE RPC+20, RPC+21, RPC+22, RPC+23, RPC+24, RPC+25, RPC+27, RPC+29, RPC+30, RPC+31
, RPC+33, RPC+34, RPC+35, RPC+36, RPC+37, RPC+39, RPC+40, RPC+41, RPC+42, RPC+43
, RPC+44, RPC+46, RPC+47, RPC+48, RPC+49, RPC+50
^DIK XQ+6, XQ+9
$$GET1^DIQ XQ+11, XQ+16, XQ+18, XQ+20, VAL+12, VAL+13, VAL+18, CHECK+4, CHECK+5
^DIR XQ+3, CHECK+22
WARD^NURSUT5 SETUP+15
PAINCMT^PSBCSUTL RPC+13
LIST^PSBO1 RPC+52
NEW^PSBO1 RPC+12, XQ+2
PRINT^PSBO1 RPC+53, RPC+58
HFSCLOSE^PSBUTL RPC+56
HFSOPEN^PSBUTL RPC+54
EN^PSJBCMA CHECK+6
DEM^VADPT SETUP+11, SETUP+19

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Error: ",$P(PSBRPT(0),U,2)
  • Line Location: XQ+3
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: XQ+5
Function Call: WRITE
  • Prompt: !,"Cancelling Request..."
  • Line Location: XQ+6
Function Call: WRITE
  • Prompt: "Cancelled!"
  • Line Location: XQ+6
Function Call: WRITE
  • Prompt: !,"Cancelling Request..."
  • Line Location: XQ+9
Function Call: WRITE
  • Prompt: "Cancelled!"
  • Line Location: XQ+9
Function Call: WRITE
  • Prompt: !,"**************************************************************"
  • Line Location: IOM+2
Function Call: WRITE
  • Prompt: !,"* SORRY, Your selected DEVICE does not print 132 columns. *"
  • Line Location: IOM+3
Function Call: WRITE
  • Prompt: !,"**************************************************************"
  • Line Location: IOM+4
Function Call: WRITE
  • Prompt: !
  • Line Location: IOM+5
Function Call: WRITE
  • Prompt: Z
  • Line Location: WRAP+11
Function Call: WRITE
  • Prompt: !
  • Line Location: CHECK+23
Routine Call
  • %ZIS
  • Line Location:
    • XQ+15
Routine Call
  • DIC
  • Line Location:
    • VAL+13
Routine Call
  • DIR
  • Line Location:
    • XQ+3
    • CHECK+22
Routine Call
  • %ZIS
  • Line Location:
    • XQ+13
    • XQ+16
Routine Call
  • DDS
  • Line Location:
    • XQ+4
Routine Call
  • DIE
  • Line Location:
    • RPC+51
Routine Call
  • DIE
  • Line Location:
    • RPC+20
    • RPC+21
    • RPC+22
    • RPC+23
    • RPC+24
    • RPC+25
    • RPC+27
    • RPC+29
    • RPC+30
    • RPC+31
    • RPC+33
    • RPC+34
    • RPC+35
    • RPC+36
    • RPC+37
    • RPC+39
    • RPC+40
    • RPC+41
    • RPC+42
    • RPC+43
    • RPC+44
    • RPC+46
    • RPC+47
    • RPC+48
    • RPC+49
    • RPC+50

Used in RPC

RPC Name Call Tags
PSB REPORT RPC

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101.24 - [#101.24] FIND1^DIC,  GET1^DIQ
^PSB(53.69 - [#53.69] Classic Fileman Calls,  FIELD^DID,  GET1^DIQ,  GET^DDSVAL,  VAL^DIE

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] SETUP+24
^DPT("CN" SETUP+17
^PSB(53.69 - [#53.69] XQ+19, DQ+2, DQ+3*, SETUP+3, SETUP+4, SETUP+5, SETUP+6, CHECK+3
^PSB(53.79 - [#53.79] PRNEFF+2, PRNEFF+3
^PSDRUG("A526" CHECK+15
^PSDRUG("A527" CHECK+16
^TMP("PSBO" RPC+8, RPC+10!*, RPC+14*, RPC+53, RPC+54*, RPC+57, XQ+24!, DQ+5!, SETUP+2!, SETUP+13*
, SETUP+21*, SETUP+27*
^TMP("PSJ" CHECK+1!, CHECK+7, CHECK+9

Label References

Name Line Occurrences
$$SETUP DQ+4
@( DQ+4
CHECK XQ+9
DQ RPC+55, XQ+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % RPC+22
>> %H VAL+15, VAL+18
>> %ZIS XQ+12*
DA XQ+1~, XQ+4*, XQ+11, XQ+16, XQ+18, XQ+19, XQ+20, XQ+21, VAL+2, VAL+12
, VAL+18, CHECK+3, CHECK+4, CHECK+5
>> DDSERROR VAL+21*
DDSFILE XQ+1~, XQ+4*
>> DFN RPC+11*, SETUP+11*, SETUP+19*
DIC RPC+9~
DIK XQ+1~, XQ+6*, XQ+9*
DIR CHECK+19!
DIR("A" CHECK+20*
DIR(0 XQ+3*, CHECK+21*
DIRUT XQ+9, CHECK+19!
DR XQ+1~, XQ+4*
IO RPC+55, XQ+14, XQ+16
IO(0 XQ+14
IOF XQ+5, XQ+17
IOM IOM+1
IOP XQ+11*, XQ+12*, XQ+15!, XQ+16*!
>> POP RPC+54
PSB VAL+1~, VAL+2*, VAL+4*, VAL+6, WRAP+7~, WRAP+12*, WRAP+13*, WRAP+14, WRAP+15
PSB("LABEL" VAL+7
PSB("TITLE" VAL+7
PSBANS RPC+9~, XQ+1~, XQ+9*, CHECK+23*
PSBANS1 XQ+1~
PSBBAR CHECK+2~, CHECK+3*, CHECK+14, CHECK+15, CHECK+16
PSBCMTCH PRNEFF+1~, PRNEFF+2*, PRNEFF+3
PSBDAYS VAL+1~, VAL+13*, VAL+14*, VAL+15, VAL+18
PSBDEV RPC~, RPC+18, RPC+20, RPC+21, RPC+53, RPC+58
PSBDFN RPC~, RPC+11, RPC+13, RPC+31, DQ+1~, SETUP+9, SETUP+10*, SETUP+11, SETUP+13, SETUP+17*
, SETUP+18, SETUP+19, SETUP+21, SETUP+24, SETUP+27, CHECK+2~, CHECK+5*, CHECK+6
PSBDIV RPC~, RPC+29
PSBDRUG CHECK+2~, CHECK+4*, CHECK+18
PSBEIECMT PRNEFF~, PRNEFF+3*, PRNEFF+4
PSBFDA RPC+9~
PSBFDA( RPC+32*
PSBFLAG CHECK+2~, CHECK+3*, CHECK+5*, CHECK+14*, CHECK+15*, CHECK+16*, CHECK+17
PSBFLD VAL+1~, VAL+2*
PSBFLD( VAL+2*, VAL+3!, VAL+4, VAL+10, VAL+11, VAL+16
PSBFLDS VAL~, VAL+2
PSBFUTR RPC~, RPC+45, RPC+46, RPC+47, RPC+48, RPC+49, RPC+50
PSBIEN PRNEFF~, PRNEFF+2, PRNEFF+3
PSBIENS RPC+9~, RPC+15*, RPC+20, RPC+21, RPC+22, RPC+23, RPC+24, RPC+25, RPC+27, RPC+29
, RPC+30, RPC+31, RPC+32, RPC+33, RPC+34, RPC+35, RPC+36, RPC+37, RPC+39, RPC+40
, RPC+41, RPC+42, RPC+43, RPC+44, RPC+46, RPC+47, RPC+48, RPC+49, RPC+50, RPC+55
PSBINCL RPC~, RPC+38, RPC+39, RPC+40, RPC+41, RPC+42, RPC+43, RPC+44
PSBINDX SETUP+1~, SETUP+23*, SETUP+24*, SETUP+25*, SETUP+26*, SETUP+27
PSBLIST RPC~, RPC+52
PSBLIST(0 RPC+52
PSBMSG VAL+1~, VAL+5, VAL+19, VAL+20
PSBMSG( VAL+8*, VAL+17*, VAL+18*
PSBMSG("" VAL+8, VAL+17, VAL+18
PSBMSG(0 VAL+5*
PSBMSG(1 VAL+5*
PSBMSG(2 VAL+5*
PSBMSG(3 VAL+5*
PSBNDX CHECK+2~, CHECK+8!, CHECK+10*, CHECK+11, CHECK+13, CHECK+14, CHECK+15, CHECK+16
PSBOI RPC~, RPC+23
PSBORD CHECK+8!, CHECK+9*
PSBORD( CHECK+11, CHECK+13
PSBORD(1 CHECK+12
PSBORDNM RPC~
PSBPNM CHECK+2~, CHECK+8!, CHECK+13*, CHECK+14, CHECK+15, CHECK+16
PSBPST RPC~, RPC+26*, RPC+27
PSBRCRI RPC~, RPC+22
PSBRPT RPC+9~, RPC+12, XQ+1~, XQ+2, DQ~, DQ+2, DQ+3, SETUP+3, SETUP+4, SETUP+5
, SETUP+6
PSBRPT( SETUP+3*, SETUP+6*, SETUP+8, SETUP+9, SETUP+10, SETUP+14, SETUP+15, SETUP+23, SETUP+24, SETUP+25
, PRNEFF+2
PSBRPT(0 RPC+14, RPC+15, XQ+3, XQ+4, DQ+4, SETUP+7, SETUP+8
PSBRPT(2 SETUP+4*
PSBRPT(3 SETUP+5*, SETUP+7
PSBSAVE XQ+1~, XQ+6, XQ+7
>> PSBSIO XQ+11*, XQ+14*, XQ+16
PSBSORT RPC~, RPC+24*, RPC+25
PSBST VAL+1~, VAL+15*, VAL+18
PSBSTOP RPC~, RPC+17*, RPC+36, VAL+1~, VAL+16*, VAL+17, VAL+18
PSBSTOP(0 RPC+17*, RPC+37
PSBSTRT RPC~, RPC+16*, RPC+34, VAL+1*, VAL+11*, VAL+15, VAL+17
PSBSTRT(0 RPC+16*, RPC+35
PSBTR RPC~, RPC+28*, RPC+30
PSBTYPE RPC~, RPC+12, RPC+13, RPC+24, RPC+25, RPC+52, XQ~, XQ+2, XQ+4, XQ+9
PSBWLOC RPC~, RPC+32
>> PSBWRD SETUP+14, SETUP+15*, SETUP+16
PSBWRDA SETUP+1~, SETUP+15
PSBWRDA( SETUP+16
PSBWRDL SETUP+1~, SETUP+16*, SETUP+17
PSBWSORT RPC~, RPC+33
PSBX CHECK+2~, CHECK+7*, CHECK+9
QQ SETUP+1~, SETUP+16*
RESULTS RPC~, RPC+8*, RPC+53*, RPC+57*
U RPC+14, RPC+20, RPC+21, RPC+22, XQ+3, XQ+19, DQ+3, DQ+4, VAL+12, VAL+18
, SETUP+6, SETUP+9, SETUP+10, SETUP+13, SETUP+14, SETUP+15, SETUP+16, SETUP+21, SETUP+23, SETUP+24
, SETUP+25, CHECK+3, CHECK+12, CHECK+13, PRNEFF+2, PRNEFF+3
VA SETUP+11~
VA("PID" SETUP+12, SETUP+13, SETUP+20, SETUP+21
VADM SETUP+11~
VADM(1 SETUP+12, SETUP+13, SETUP+20, SETUP+21, SETUP+23, SETUP+25, SETUP+26
X VAL+15*, VAL+18*, SETUP+3*, WRAP~, WRAP+9, WRAP+10
Y VAL+17*, VAL+18*, WRAP~, WRAP+11, WRAP+12, WRAP+13, CHECK+8!, CHECK+11*, CHECK+13, CHECK+23
Z VAL+7*, VAL+8, WRAP~, WRAP+8, WRAP+11*, WRAP+12, WRAP+14, WRAP+15*
>> ZTDESC XQ+20*
>> ZTDTH XQ+19*
>> ZTIO XQ+18*
>> ZTREQ DQ+6*
>> ZTRTN XQ+21*
>> ZTSK XQ+23, DQ+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All