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

Package: Barcode Medication Administration

Routine: PSBCSUTL


Information

PSBCSUTL ;BIRMINGHAM/TEJ- BCMA-HSC COVER SHEET UTILITIES ;03/06/16 3:06pm

Source Information

Source file <PSBCSUTL.m>

Call Graph

Call Graph

Call Graph Total: 20

Package Total Call Graph
Barcode Medication Administration 12 ADD^PSBCSUTX  (GETADMX,LVIV,XFERBAGS)^PSBCSUTY  (FILEIT,VAL)^PSBML  FILTERCO^PSBO  FIXADM^PSBUTL  EN^PSBVDLPA  EN^PSBVDLRM  RPC^PSBVDLTB  
($$GETFREQ,$$OKAY,ADD,INCLUDCO,LAST,ODDSCH,REMOVECO)^PSBVDLU1  $$IVPTAB^PSBVDLU3  (CLEAN,PSJ,PSJ1)^PSBVT  $$PSBDCHK1^PSBVT1  
Inpatient Medications 2 (GETPROVL,INTRDIC)^PSGSICH1  EN^PSJBCMA  
VA FileMan 2 (C,NOW)^%DTC  $$GET1^DIQ  
General Medical Record - Vitals 1 EN1^GMVDCEXT  
Kernel 1 ($$FMADD,$$FMDIFF,$$FMTE)^XLFDT  
Registration 1 IN5^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: 12

Package Total Caller Graph
Barcode Medication Administration 12 PSB COVERSHEET1  PSBO  PSBOCE  PSBOCI  PSBOCM  PSBOCP  PSBVDLIV  PSBVDLPA  
PSBVDLPB  PSBVDLRM  PSBVDLUD  PSBVDLVL  

Entry Points

Name Comments DBIA/ICR reference
PAINCMT(DFN) ;;Add comment if Pain Score entered in BCMA was marked "Entered in Error" in Vitals.
CLEAN ;
LIGHTS(PSBDFN) ;
RPC(RESULTS,DFN,EXPWIN,PSBSIOPI,PSBCLINORD) ;
LASTG(PSBPATPT,PSBOIPT) ;LstGvn-(inpt: DFN,OrItm IEN)
PNCMNT(DA,PSBCMT,PSBDUZ) ;Add pain score comment, PSB*3*80

External References

Name Field # of Occurrence
C^%DTC RPC+32, PAINCMT+7
NOW^%DTC RPC+13, RPC+26, RPC+30, RPC+43, PAINCMT+5, PNCMNT+3
$$GET1^DIQ RPC+117
EN1^GMVDCEXT PAINCMT+18, PAINCMT+30
ADD^PSBCSUTX RPC+155
GETADMX^PSBCSUTY RPC+106
LVIV^PSBCSUTY RPC+105
XFERBAGS^PSBCSUTY RPC+105
FILEIT^PSBML PNCMNT+7
VAL^PSBML PNCMNT+4
FILTERCO^PSBO RPC+36
FIXADM^PSBUTL RPC+156
EN^PSBVDLPA RPC+150
EN^PSBVDLRM RPC+151
RPC^PSBVDLTB LIGHTS+1
$$GETFREQ^PSBVDLU1 RPC+127
$$OKAY^PSBVDLU1 RPC+141, RPC+146
ADD^PSBVDLU1 RPC+118, RPC+119, RPC+120, RPC+142, RPC+147, RPC+148
INCLUDCO^PSBVDLU1 RPC+37
LAST^PSBVDLU1 RPC+67, RPC+68, RPC+69, RPC+70
ODDSCH^PSBVDLU1 RPC+132
REMOVECO^PSBVDLU1 RPC+38
$$IVPTAB^PSBVDLU3 RPC+83
CLEAN^PSBVT RPC+43, CLEAN+1
PSJ^PSBVT RPC+43
PSJ1^PSBVT RPC+82
$$PSBDCHK1^PSBVT1 RPC+123
GETPROVL^PSGSICH1 RPC+95
INTRDIC^PSGSICH1 RPC+96
EN^PSJBCMA RPC+33
IN5^VADPT RPC+28
$$FMADD^XLFDT RPC+18, RPC+19, RPC+22, RPC+23, RPC+26, RPC+30, RPC+136
$$FMDIFF^XLFDT PAINCMT+21, PAINCMT+33
$$FMTE^XLFDT PAINCMT+17, PAINCMT+29
$$GET^XPAR RPC+25, RPC+29, PAINCMT+6

Used in RPC

RPC Name Call Tags
PSB COVERSHEET1 RPC

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)
^DPT - [#2] PAINCMT+2
^PSB(53.79 - [#53.79] RPC+58, RPC+60, RPC+61, RPC+64, RPC+114, RPC+116, LASTG+1, LASTG+2, LASTG+3, LASTG+6
, PAINCMT+9, PAINCMT+10, PAINCMT+11, PAINCMT+27, PAINCMT+28
^TMP("PSB" RPC+2!, RPC+9, RPC+10!*, RPC+11*, RPC+12, RPC+42, RPC+105*, RPC+121*, RPC+152*, RPC+153*
, RPC+154*, RPC+155*, LIGHTS+2*!
^TMP("PSBGMV" PAINCMT+4!, PAINCMT+18, PAINCMT+19, PAINCMT+20, PAINCMT+22, PAINCMT+23, PAINCMT+30, PAINCMT+31, PAINCMT+32, PAINCMT+34
, PAINCMT+35, PAINCMT+39!
^TMP("PSJ" RPC+2!, RPC+41, CLEAN+6!

Label References

Name Line Occurrences
$$LASTG RPC+92
CLEAN RPC+157
LIGHTS RPC+10
PAINCMT RPC+8
PNCMNT PAINCMT+25, PAINCMT+37

Naked Globals

Name Field # of Occurrence
^( RPC+64, LASTG+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % RPC+13, RPC+26, RPC+30, RPC+108, RPC+109, PAINCMT+5, PNCMNT+3
DA PNCMNT~, PNCMNT+2
DFN RPC~, RPC+7, RPC+8, RPC+95, RPC+96, RPC+127, PAINCMT~, PAINCMT+2, PAINCMT+9, PAINCMT+10
, PAINCMT+18, PAINCMT+30
>> DILOCKTM PAINCMT+22, PAINCMT+34
EXPWIN RPC~, RPC+3*, RPC+17*, RPC+18, RPC+19, RPC+21*, RPC+22, RPC+23
>> I RPC+125*
LASTG LASTG+1*, LASTG+2*, LASTG+11*, LASTG+12, CLEAN+7!
LSTTIME CLEAN+7!
NEXTADM CLEAN+7!
>> PSB RPC+138*, RPC+139, RPC+140, RPC+141, RPC+142, RPC+143*, RPC+144, RPC+145, RPC+146, RPC+147
PSBACT CLEAN+2!
PSBACTBY CLEAN+2!
PSBACTDT CLEAN+2!
PSBACTPT CLEAN+2!
PSBADDS RPC+103*, RPC+118, RPC+119, RPC+120, RPC+142, RPC+147, RPC+148, CLEAN+2!
PSBADMTM RPC+114*, RPC+115, RPC+116, RPC+117, RPC+118, CLEAN+4!
PSBADMX CLEAN+6!
PSBADMX( RPC+120
>> PSBADST RPC+124, RPC+126, RPC+132, RPC+134, RPC+137, RPC+138, RPC+143, RPC+148
PSBARR RPC+95~, RPC+96
PSBARR("" RPC+96, RPC+97
PSBBAGID CLEAN+2!
PSBBDT PAINCMT+3~, PAINCMT+16*, PAINCMT+17, PAINCMT+28*, PAINCMT+29
PSBCDT CLEAN+6!
PSBCHDT CLEAN+2!
>> PSBCHEMT RPC+83
PSBCHKV CLEAN+2!
>> PSBCLIEN RPC+101
PSBCLINORD RPC~, RPC+5*, RPC+16, RPC+32, RPC+35, RPC+38, LIGHTS+1
>> PSBCLORD RPC+100
PSBCMFL PAINCMT+3~, PAINCMT+13*, PAINCMT+24, PAINCMT+25*, PAINCMT+26!
PSBCMT PAINCMT+3~, PAINCMT+11*, PNCMNT~, PNCMNT+4
PSBCMTGLB PAINCMT+3~, PAINCMT+11*, PAINCMT+12, PAINCMT+13, PAINCMT+14, PAINCMT+15
PSBCMTM PAINCMT+3~, PAINCMT+15*, PAINCMT+16, PAINCMT+21
PSBCNT RPC+7~, RPC+57*, RPC+58*, RPC+65*, RPC+66*, RPC+67, RPC+68, RPC+69, RPC+70, LASTG+1*
, LASTG+7*, LASTG+8*, LASTG+9
PSBCNT1 CLEAN+2!
PSBCNT2 CLEAN+2!
PSBCOMMENT PAINCMT+3~, PAINCMT+25*, PAINCMT+37*
>> PSBDATA RPC+64*, RPC+65, RPC+66, RPC+67, RPC+68, RPC+69, RPC+70, LASTG+6*, LASTG+7, LASTG+8
, LASTG+9, LASTG+10
>> PSBDDA( RPC+107, RPC+108, RPC+109, RPC+110*, RPC+111
PSBDDS RPC+103*, RPC+111*, RPC+118, RPC+119, RPC+120, RPC+142, RPC+147, RPC+148, CLEAN+2!
PSBDFN RPC+46, RPC+58, RPC+60, RPC+82, PAINCMT+3~, LIGHTS~, LIGHTS+1
PSBDFNX RPC+7*, RPC+10, RPC+33, RPC+114, RPC+116, CLEAN+2!
PSBDONE CLEAN+6!
>> PSBDOSE RPC+54
>> PSBDOSEF RPC+81
PSBDT RPC+13*, CLEAN+3!
PSBDTX RPC+135*, RPC+136*, RPC+138, CLEAN+4!
PSBDUZ PAINCMT+3~, PAINCMT+22*, PAINCMT+24, PAINCMT+25, PAINCMT+34*, PAINCMT+36, PAINCMT+37, PNCMNT~, PNCMNT+5
PSBEDT PAINCMT+3~, PAINCMT+5*, PAINCMT+7, PAINCMT+18, PAINCMT+30
PSBEFFL PAINCMT+3~, PAINCMT+14*, PAINCMT+36, PAINCMT+37*, PAINCMT+38!
PSBEFTM PAINCMT+3~, PAINCMT+27*, PAINCMT+28, PAINCMT+33
PSBERFL PAINCMT+3~, PAINCMT+23*, PAINCMT+24, PAINCMT+26!, PAINCMT+35*, PAINCMT+36, PAINCMT+38!
>> PSBEXPRD RPC+105
PSBEXTM PAINCMT+3~, PAINCMT+17*, PAINCMT+25, PAINCMT+29*, PAINCMT+37
PSBFDA PNCMNT+1~
PSBFDA( PNCMNT+5*, PNCMNT+6*
PSBFLAG RPC+57*, RPC+58*, RPC+61*, RPC+64, RPC+71, RPC+103*, RPC+108*, LASTG+1*, LASTG+6, LASTG+10*
, CLEAN+3!
>> PSBFREQ RPC+127*, RPC+128*, RPC+129*, RPC+131, RPC+132, RPC+133, RPC+141, RPC+146
>> PSBGLBX RPC+121*
PSBGMR PAINCMT+3~, PAINCMT+19*, PAINCMT+20, PAINCMT+22, PAINCMT+23, PAINCMT+31*, PAINCMT+32, PAINCMT+34, PAINCMT+35
PSBGOT1 RPC+114*, RPC+118*, RPC+119*, RPC+120, RPC+135*, RPC+142*, RPC+147*, RPC+148, CLEAN+6!
>> PSBHSM RPC+52
PSBHSTA RPC+57!, RPC+72!
PSBHSTA( RPC+61*, RPC+71*, RPC+72
PSBHSTA("" RPC+72
PSBHSTAX RPC+57!, CLEAN+3!
PSBHSTAX( RPC+72*
PSBHSTG LASTG+1!, LASTG+11, CLEAN+7!
PSBHSTG( LASTG+3*, LASTG+10*, LASTG+11
PSBI CLEAN+6!
PSBI1 RPC+152*, CLEAN+3!
PSBI2 CLEAN+6!
PSBIEN PAINCMT+3~, PAINCMT+10*, PAINCMT+11, PAINCMT+25, PAINCMT+27, PAINCMT+28, PAINCMT+37, PNCMNT+1~, PNCMNT+2*, PNCMNT+4
, PNCMNT+5, PNCMNT+6, CLEAN+3!
PSBIENX RPC+114*, RPC+116*, RPC+117, CLEAN+3!
>> PSBIFR RPC+54
>> PSBISYR RPC+83
>> PSBIVPSH RPC+83
>> PSBIVT RPC+83
PSBLST4X CLEAN+6!
PSBLSTS CLEAN+3!
PSBLVIV RPC+83*, RPC+85*, RPC+105, RPC+113, RPC+115, RPC+130, CLEAN+7!
PSBMAUD CLEAN+3!
PSBMDHST PAINCMT+3~, PAINCMT+6*, PAINCMT+7*, PAINCMT+8
PSBMHBCK RPC+25*, RPC+26*, RPC+33, RPC+115, CLEAN+7!
>> PSBMR RPC+55
PSBMVTYP RPC+28*, CLEAN+3!
PSBMWC CLEAN+3!
>> PSBNJECT RPC+77
PSBNOW RPC+13*, RPC+18, RPC+19, RPC+22, RPC+23, RPC+32, RPC+119, RPC+120, PAINCMT+3~, PNCMNT+1~
, PNCMNT+3*, PNCMNT+6, CLEAN+3!
PSBNTDT RPC+30*, RPC+90, CLEAN+3!
PSBNXTDT CLEAN+7!
PSBNXTDU CLEAN+7!
>> PSBODD RPC+123*, RPC+133*, RPC+134
PSBOIPT LASTG~, LASTG+1, LASTG+2
>> PSBOIT RPC+58, RPC+60, RPC+72, RPC+76
>> PSBOITX RPC+53, RPC+141, RPC+146
>> PSBON RPC+48
PSBONMBR CLEAN+3!
PSBONTAB RPC+45*, CLEAN+6!
PSBONVDL RPC+1~
>> PSBONX RPC+44, RPC+47, RPC+82, RPC+85, RPC+93, RPC+95, RPC+96, RPC+114, RPC+116, RPC+120
, RPC+127, RPC+141, RPC+146
PSBONXS CLEAN+4!
PSBORREC CLEAN+4!
>> PSBOSP RPC+44, RPC+84, RPC+91, RPC+118, RPC+119, RPC+120, RPC+140, RPC+145, RPC+148
>> PSBOST RPC+88, RPC+140, RPC+141, RPC+145, RPC+146
>> PSBOSTS RPC+89, RPC+141, RPC+146
>> PSBOTXT RPC+118, RPC+119, RPC+120, RPC+142, RPC+147, RPC+148
>> PSBOTYP RPC+49, RPC+83
PSBPAIN PAINCMT+3~, PAINCMT+12*, PAINCMT+24, PAINCMT+28*, PAINCMT+36
PSBPATPT LASTG~, LASTG+1, LASTG+2
PSBPB RPC+83*, RPC+84, RPC+85, RPC+93, CLEAN+6!
PSBPDT CLEAN+4!
PSBPNSC PAINCMT+3~, PAINCMT+23*, PAINCMT+24, PAINCMT+25, PAINCMT+35*, PAINCMT+36, PAINCMT+37
PSBPRNDT PAINCMT+3~, PAINCMT+9*, PAINCMT+10
PSBPRNRE CLEAN+4!
PSBPTTR RPC+29*, RPC+30, CLEAN+4!
PSBQR CLEAN+4!
>> PSBQRR RPC+118*
PSBQUIT CLEAN+6!
PSBRDOW CLEAN+4!
PSBREC RPC+45*, RPC+46*, RPC+47*, RPC+48*, RPC+49*, RPC+50*, RPC+51*, RPC+52*, RPC+53*, RPC+54*
, RPC+55*, RPC+59*, RPC+63*, RPC+71, RPC+72*, RPC+73*, RPC+74*, RPC+75*, RPC+76*, RPC+77*
, RPC+79*, RPC+80*, RPC+81*, RPC+86*, RPC+87*, RPC+88*, RPC+89*, RPC+90*, RPC+91*, RPC+92*
, RPC+93*, RPC+97*, RPC+100*, RPC+101*, RPC+113*, RPC+117*, RPC+118, RPC+119, RPC+120, RPC+142
, RPC+147, RPC+148, CLEAN+4!
PSBRECHD CLEAN+4!
>> PSBRPT(2 RPC+36
>> PSBSCH RPC+51, RPC+123, RPC+125, RPC+141, RPC+146
PSBSCHBR CLEAN+4!
>> PSBSCHT RPC+50, RPC+113, RPC+126
PSBSCHTM CLEAN+4!
PSBSHWTB CLEAN+6!
PSBSIOPI RPC~, RPC+4*, LIGHTS+1
>> PSBSM RPC+52
PSBSOLS RPC+103*, RPC+118, RPC+119, RPC+120, RPC+142, RPC+147, RPC+148, CLEAN+4!
>> PSBSTRT PAINCMT+8
PSBSTRTDT PAINCMT+3~, PAINCMT+8*, PAINCMT+9, PAINCMT+18, PAINCMT+30
PSBSTUS RPC+57*, RPC+61*, RPC+62, RPC+67*, RPC+68*, RPC+69*, RPC+70*, RPC+71, RPC+72*, RPC+87
, RPC+149!
>> PSBSTX LASTG+3*, LASTG+4, LASTG+5
PSBTAB RPC+6*, RPC+9, RPC+10, RPC+11, RPC+12, RPC+42, RPC+105, RPC+121, RPC+132, RPC+152
, RPC+153, RPC+154, RPC+155, LIGHTS+1*, LIGHTS+2, CLEAN+4!
PSBTBOUT RPC+40*, RPC+41, RPC+42*, CLEAN+5!
PSBTMDF PAINCMT+3~, PAINCMT+21*, PAINCMT+22, PAINCMT+33*, PAINCMT+34
PSBTRDT RPC+28*, RPC+30, RPC+90, CLEAN+5!
PSBTRFL RPC+7*, RPC+30*, RPC+90, CLEAN+5!
PSBTRTYP RPC+28*, CLEAN+5!
PSBUID CLEAN+5!
PSBUIDS CLEAN+5!
PSBUSED CLEAN+6!
PSBVITM PAINCMT+3~, PAINCMT+20*, PAINCMT+21, PAINCMT+32*, PAINCMT+33
>> PSBVNI RPC+86
PSBWADM RPC+25*, RPC+26*, CLEAN+5!
PSBWBEG RPC+18*, RPC+22*, RPC+33, RPC+44, RPC+84, RPC+118, RPC+119, RPC+120, RPC+135, RPC+139
, RPC+144, RPC+148, CLEAN+5!
PSBWEND RPC+19*, RPC+23*, RPC+139, RPC+143, RPC+144, RPC+148, CLEAN+2!
PSBX RPC+41*, RPC+43, CLEAN+5!
PSBX2 CLEAN+5!
PSBXIEN CLEAN+5!
PSBXREC CLEAN+6!
PSBXX RPC+136*, CLEAN+3!
PSBXXX CLEAN+6!
PSBY RPC+137*, RPC+138, RPC+143, CLEAN+3!
PSBYEA CLEAN+5!
PSBYEA1 CLEAN+5!
PSBYES RPC+123*, RPC+124, RPC+125*, RPC+130*, RPC+131, CLEAN+5!
PSBYTF RPC+123*, RPC+125*, RPC+126, CLEAN+5!
RESULTS RPC~, RPC+2!, RPC+9*
U RPC+12, RPC+28, RPC+46, RPC+47, RPC+48, RPC+49, RPC+50, RPC+51, RPC+52, RPC+53
, RPC+54, RPC+55, RPC+59, RPC+61, RPC+63, RPC+71, RPC+72, RPC+73, RPC+74, RPC+75
, RPC+76, RPC+77, RPC+79, RPC+80, RPC+81, RPC+86, RPC+87, RPC+88, RPC+89, RPC+90
, RPC+91, RPC+92, RPC+93, RPC+97, RPC+100, RPC+101, RPC+108, RPC+109, RPC+110, RPC+111
, RPC+113, RPC+117, RPC+154, RPC+155, LASTG+3, LASTG+10, PAINCMT+12, PAINCMT+13, PAINCMT+14, PAINCMT+15
, PAINCMT+19, PAINCMT+20, PAINCMT+22, PAINCMT+23, PAINCMT+27, PAINCMT+28, PAINCMT+31, PAINCMT+32, PAINCMT+34, PAINCMT+35
VAIP RPC+28!, CLEAN+5!
VAIP("D" RPC+28*
VAIP(2 RPC+28
VAIP(3 RPC+28
VAIP(4 RPC+28
X RPC+33, RPC+60*, RPC+61, RPC+64, RPC+71, LASTG+2*, LASTG+3, LASTG+6, PAINCMT+3~, PAINCMT+7
X1 RPC+32*, RPC+105*, PAINCMT+3~, PAINCMT+7*
X2 RPC+32*, PAINCMT+3~, PAINCMT+7*
>> XZ RPC+58*, LASTG+1*
>> Y RPC+57*, RPC+58*, RPC+59, RPC+60, RPC+61, RPC+107*, RPC+108, RPC+109, RPC+110, RPC+111
, LASTG+1*, LASTG+2, LASTG+3
>> Z RPC+63*, RPC+64*, RPC+71, LASTG+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All