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

Package: Barcode Medication Administration

Routine: PSBPRN


Information

PSBPRN ;BIRMINGHAM/EFC-BCMA PRN FUNCTIONS ;12/14/12 12:22pm

Source Information

Source file <PSBPRN.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
VA FileMan 7 ^%DT  (C,NOW)^%DTC  ^DDS  ^DIC  YN^DICN  ($$GET1,D)^DIQ  ^DIR  
Barcode Medication Administration 1 (CLEAN,PSJ1)^PSBVT  
Inpatient Medications 1 GETSIOPI^PSJBCMA5  
Kernel 1 $$FMADD^XLFDT  
Registration 1 (DEM,INP)^VADPT  
Toolkit 1 $$GET^XPAR  

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 PSB GETPRNS  PSB MED LOG PRN EFFECT  

Entry Points

Name Comments DBIA/ICR reference
EN ;
DECEASED(DFN) ; Patient Deceased? *70
EDIT ; Edit Medication Log PRN Effectiveness
EDIT1 ;
GETSI(DFN,ORD,PSB) ;Get Special Instructions/Other Print Info from IM ;*68
GETPRNS(RESULTS,DFN,PSBORD,PSBSIOPI) ; Get the PRN's for a pt needing effectiveness

External References

Name Field # of Occurrence
^%DT EDIT1+3
C^%DTC EDIT1+24
NOW^%DTC GETPRNS+29
^DDS EDIT1+27
^DIC EDIT+4
YN^DICN EDIT1+26, EDIT1+27
$$GET1^DIQ EDIT1+18, EDIT1+20, EDIT1+21, GETPRNS+49, GETPRNS+50, GETPRNS+51, GETPRNS+52, GETPRNS+53, GETPRNS+54, GETPRNS+62
, GETPRNS+71, GETPRNS+72, GETPRNS+75
D^DIQ EDIT1+5, EDIT1+16, EDIT1+24
^DIR EDIT1+16, EDIT1+22
CLEAN^PSBVT GETPRNS+80, DECEASED+9
PSJ1^PSBVT GETPRNS+54
GETSIOPI^PSJBCMA5 GETSI+8
DEM^VADPT DECEASED+4
INP^VADPT GETPRNS+14
$$FMADD^XLFDT GETPRNS+31, GETPRNS+33, GETPRNS+34
$$GET^XPAR GETPRNS+16, GETPRNS+30

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: EDIT+2
Function Call: WRITE
  • Prompt: !!
  • Line Location: EDIT1+3
Function Call: WRITE
  • Prompt: Y
  • Line Location: EDIT1+5
Function Call: WRITE
  • Prompt: !
  • Line Location: EDIT1+16
Function Call: WRITE
  • Prompt: @IOF,!,"Searching Date "
  • Line Location: EDIT1+16
Function Call: WRITE
  • Prompt: @IOF,!,"Searching Date "
  • Line Location: EDIT1+16
Function Call: WRITE
  • Prompt: !
  • Line Location: EDIT1+22
Function Call: WRITE
  • Prompt: !!?5,"No Meds Found!"
  • Line Location: EDIT1+23
Function Call: WRITE
  • Prompt: !,"Edit another entry"
  • Line Location: EDIT1+27
Routine Call
  • DDS
  • Line Location:
    • EDIT1+27
Routine Call
  • DIC
  • Line Location:
    • EDIT+4
Routine Call
  • DIR
  • Line Location:
    • EDIT1+16
    • EDIT1+22

Used in RPC

RPC Name Call Tags
PSB GETPRNS GETPRNS

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls
^PSB(53.79 - [#53.79] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSB(53.79 - [#53.79] EDIT1+10, EDIT1+12, EDIT1+13, EDIT1+14, EDIT1+19, GETPRNS+42, GETPRNS+44, GETPRNS+45, GETPRNS+46, GETPRNS+47
, GETPRNS+67, GETPRNS+70
^TMP("PSB" GETPRNS+9!, GETPRNS+63, GETPRNS+64*, GETPRNS+66*, GETPRNS+75*, GETPRNS+77*, GETPRNS+78*, GETPRNS+79, DECEASED+5*, DECEASED+8
, GETSI+12*
^TMP("PSJBCMA5" GETSI+7!, GETSI+9, GETSI+10, GETSI+12, GETSI+13!

Label References

Name Line Occurrences
$$DECEASED GETPRNS+12
EDIT EDIT+8
EDIT1 EDIT+6, EDIT1+27
GETSI GETPRNS+76

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % EDIT1+26*, EDIT1+27*, GETPRNS+29
>> %DT EDIT1+1*
>> %DT("A" EDIT1+1*
>> %DT("B" EDIT1+2*
DA EDIT+2*, EDIT+7!, EDIT1+22*, EDIT1+27, EDIT1+28!
DDSFILE EDIT1+27*, EDIT1+28!
>> DECEASED DECEASED+2*, DECEASED+5*, DECEASED+7, DECEASED+11
DFN EDIT+1~, EDIT+5*, EDIT+7!, EDIT1+10, EDIT1+12, GETPRNS~, GETPRNS+12, GETPRNS+42, GETPRNS+44, GETPRNS+48
, GETPRNS+54, GETPRNS+76, DECEASED~, GETSI~, GETSI+7, GETSI+8, GETSI+9, GETSI+10, GETSI+12, GETSI+13
DIC EDIT+3*, EDIT+4!
DIC("A" EDIT+3*
DIC(0 EDIT+3*
>> DIR(0 EDIT1+16*, EDIT1+22*
DR EDIT1+27*, EDIT1+28!
DT GETPRNS+38
IOF EDIT1+5, EDIT1+16
IOM EDIT1+7, EDIT1+16
ORD GETSI~, GETSI+7, GETSI+8, GETSI+9, GETSI+10, GETSI+12, GETSI+13
PSB GETSI~, GETSI+11*, GETSI+12
PSBADMDT GETPRNS+8~, GETPRNS+14*, GETPRNS+37, GETPRNS+38, GETPRNS+56
>> PSBCLORD GETPRNS+56*, GETPRNS+58, GETPRNS+60
PSBCNT EDIT1+8*, EDIT1+15*, EDIT1+17, EDIT1+22, EDIT1+23, EDIT1+28!
PSBCODY GETPRNS+8~, GETPRNS+18*, GETPRNS+34
PSBCOPRNDT GETPRNS+8~, GETPRNS+34*, GETPRNS+35, GETPRNS+37*, GETPRNS+58
>> PSBDD GETPRNS+68*, GETPRNS+71, GETPRNS+72, GETPRNS+75
PSBDT EDIT1+3*, EDIT1+4, EDIT1+5, EDIT1+8, EDIT1+10, EDIT1+16, EDIT1+22*, EDIT1+24*, EDIT1+26*, EDIT1+28!
PSBHOUR GETPRNS+8~
PSBIEN EDIT1+11*, EDIT1+12*, EDIT1+13, EDIT1+14, EDIT1+15, EDIT1+18, EDIT1+19, EDIT1+20, EDIT1+21, EDIT1+28!
, GETPRNS+8~, GETPRNS+43*, GETPRNS+44*, GETPRNS+45, GETPRNS+46, GETPRNS+47, GETPRNS+48, GETPRNS+67, GETPRNS+70, GETPRNS+71
, GETPRNS+72, GETPRNS+75
>> PSBIENS GETPRNS+48*, GETPRNS+49, GETPRNS+50, GETPRNS+51, GETPRNS+52, GETPRNS+53, GETPRNS+54, GETPRNS+62
PSBIMHR GETPRNS+8~, GETPRNS+16*, GETPRNS+17*, GETPRNS+33
PSBIMMAX GETPRNS+8~, GETPRNS+30*, GETPRNS+31*, GETPRNS+37
PSBIMPRNDT GETPRNS+8~, GETPRNS+33*, GETPRNS+35, GETPRNS+37*, GETPRNS+38*, GETPRNS+60
>> PSBOIT GETPRNS+61
>> PSBONX GETPRNS+61, GETPRNS+76
PSBORD GETPRNS~, GETPRNS+45
>> PSBOTXT GETPRNS+66
PSBPRNDT GETPRNS+8~, GETPRNS+35*, GETPRNS+37*, GETPRNS+38, GETPRNS+42
PSBSIOPI GETPRNS~, GETPRNS+10*, GETPRNS+76
>> PSBSOL GETPRNS+69*, GETPRNS+75
PSBSRCH EDIT1+8*, EDIT1+10*, EDIT1+12, EDIT1+28!
PSBSTOP GETPRNS+8~
PSBSTRT GETPRNS+8~, GETPRNS+29*, GETPRNS+31, GETPRNS+33, GETPRNS+34, GETPRNS+42*, GETPRNS+44, GETPRNS+58, GETPRNS+60
PSBTMP EDIT1+9!, EDIT1+28!
PSBTMP( EDIT1+15*, EDIT1+22
>> PSBUNFR GETPRNS+72*, GETPRNS+75
>> PSBUNIT GETPRNS+71*, GETPRNS+73*, GETPRNS+75
>> PSBX GETPRNS+48*, GETPRNS+49*, GETPRNS+50*, GETPRNS+51*, GETPRNS+52*, GETPRNS+53*, GETPRNS+61*, GETPRNS+62*, GETPRNS+64
>> PSBY GETPRNS+67*, GETPRNS+70, GETPRNS+71, GETPRNS+72, GETPRNS+75
>> PSBZ GETPRNS+67*, GETPRNS+68, GETPRNS+69, GETPRNS+70
QQ GETSI+6~, GETSI+10*, GETSI+12
RESULTS GETPRNS~, GETPRNS+9!, GETPRNS+79*, DECEASED+8*
U EDIT1+13, EDIT1+14, EDIT1+19, GETPRNS+45, GETPRNS+46, GETPRNS+47, GETPRNS+48, GETPRNS+49, GETPRNS+50, GETPRNS+51
, GETPRNS+52, GETPRNS+53, GETPRNS+61, GETPRNS+62, GETPRNS+75
VADM DECEASED+5!
VADM(6 DECEASED+5
>> VAIN(7 GETPRNS+14
>> X EDIT1+24
>> X1 EDIT1+24*
>> X2 EDIT1+24*
>> Y EDIT+4, EDIT+5, EDIT1+3, EDIT1+5*, EDIT1+16*, EDIT1+22, EDIT1+24*, EDIT1+25, GETPRNS+63*, GETPRNS+64
, GETPRNS+66*, GETPRNS+74*, GETPRNS+75, GETPRNS+76, GETPRNS+77*
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