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

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: 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
RPC(RESULTS,DFN,EXPWIN,PSBSIOPI,PSBCLINORD) ;
LASTG(PSBPATPT,PSBOIPT) ;LstGvn-(inpt: DFN,OrItm IEN)
PAINCMT(DFN) ;;Add comment if Pain Score entered in BCMA was marked "Entered in Error" in Vitals.
PNCMNT(DA,PSBCMT,PSBDUZ) ;Add pain score comment, PSB*3*80
LIGHTS(PSBDFN) ;
CLEAN ;

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+120
EN1^GMVDCEXT PAINCMT+18, PAINCMT+30
ADD^PSBCSUTX RPC+158
GETADMX^PSBCSUTY RPC+109
LVIV^PSBCSUTY RPC+108
XFERBAGS^PSBCSUTY RPC+108
FILEIT^PSBML PNCMNT+7
VAL^PSBML PNCMNT+4
FILTERCO^PSBO RPC+36
FIXADM^PSBUTL RPC+159
EN^PSBVDLPA RPC+153
EN^PSBVDLRM RPC+154
RPC^PSBVDLTB LIGHTS+1
$$GETFREQ^PSBVDLU1 RPC+130
$$OKAY^PSBVDLU1 RPC+144, RPC+149
ADD^PSBVDLU1 RPC+121, RPC+122, RPC+123, RPC+145, RPC+150, RPC+151
INCLUDCO^PSBVDLU1 RPC+37
LAST^PSBVDLU1 RPC+67, RPC+68, RPC+69, RPC+70
ODDSCH^PSBVDLU1 RPC+135
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+126
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+139
$$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+117, RPC+119, 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+108*, RPC+124*, RPC+155*, RPC+156*
, RPC+157*, RPC+158*, 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+160
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+111, RPC+112, PAINCMT+5, PNCMNT+3
DA PNCMNT~, PNCMNT+2
DFN RPC~, RPC+7, RPC+8, RPC+95, RPC+96, RPC+130, 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+128*
LASTG LASTG+1*, LASTG+2*, LASTG+11*, LASTG+12, CLEAN+7!
LSTTIME CLEAN+7!
NEXTADM CLEAN+7!
>> PSB RPC+141*, RPC+142, RPC+143, RPC+144, RPC+145, RPC+146*, RPC+147, RPC+148, RPC+149, RPC+150
PSBACT CLEAN+2!
PSBACTBY CLEAN+2!
PSBACTDT CLEAN+2!
PSBACTPT CLEAN+2!
PSBADDS RPC+106*, RPC+121, RPC+122, RPC+123, RPC+145, RPC+150, RPC+151, CLEAN+2!
PSBADMTM RPC+117*, RPC+118, RPC+119, RPC+120, RPC+121, CLEAN+4!
PSBADMX CLEAN+6!
PSBADMX( RPC+123
>> PSBADST RPC+127, RPC+129, RPC+135, RPC+137, RPC+140, RPC+141, RPC+146, RPC+151
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+110, RPC+111, RPC+112, RPC+113*, RPC+114
PSBDDS RPC+106*, RPC+114*, RPC+121, RPC+122, RPC+123, RPC+145, RPC+150, RPC+151, CLEAN+2!
PSBDFN RPC+46, RPC+58, RPC+60, RPC+82, PAINCMT+3~, LIGHTS~, LIGHTS+1
PSBDFNX RPC+7*, RPC+10, RPC+33, RPC+117, RPC+119, CLEAN+2!
PSBDONE CLEAN+6!
>> PSBDOSE RPC+54
>> PSBDOSEF RPC+81
PSBDT RPC+13*, CLEAN+3!
PSBDTX RPC+138*, RPC+139*, RPC+141, 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+108
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+106*, RPC+111*, LASTG+1*, LASTG+6, LASTG+10*
CLEAN+3!
>> PSBFREQ RPC+130*, RPC+131*, RPC+132*, RPC+134, RPC+135, RPC+136, RPC+144, RPC+149
>> PSBGLBX RPC+124*
PSBGMR PAINCMT+3~, PAINCMT+19*, PAINCMT+20, PAINCMT+22, PAINCMT+23, PAINCMT+31*, PAINCMT+32, PAINCMT+34, PAINCMT+35
PSBGOT1 RPC+117*, RPC+121*, RPC+122*, RPC+123, RPC+138*, RPC+145*, RPC+150*, RPC+151, CLEAN+6!
PSBHAZ CLEAN+8!
PSBHAZDS RPC+104, CLEAN+8!
PSBHAZHN RPC+103, CLEAN+8!
>> 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+155*, 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+117*, RPC+119*, RPC+120, 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+108, RPC+116, RPC+118, RPC+133, CLEAN+7!
PSBMAUD CLEAN+3!
PSBMDHST PAINCMT+3~, PAINCMT+6*, PAINCMT+7*, PAINCMT+8
PSBMHBCK RPC+25*, RPC+26*, RPC+33, RPC+118, 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+122, RPC+123, 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+126*, RPC+136*, RPC+137
PSBOIPT LASTG~, LASTG+1, LASTG+2
>> PSBOIT RPC+58, RPC+60, RPC+72, RPC+76
>> PSBOITX RPC+53, RPC+144, RPC+149
>> 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+117, RPC+119, RPC+123
, RPC+130, RPC+144, RPC+149
PSBONXS CLEAN+4!
PSBORREC CLEAN+4!
>> PSBOSP RPC+44, RPC+84, RPC+91, RPC+121, RPC+122, RPC+123, RPC+143, RPC+148, RPC+151
>> PSBOST RPC+88, RPC+143, RPC+144, RPC+148, RPC+149
>> PSBOSTS RPC+89, RPC+144, RPC+149
>> PSBOTXT RPC+121, RPC+122, RPC+123, RPC+145, RPC+150, RPC+151
>> 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+121*
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+103*, RPC+104*, RPC+116*, RPC+120*, RPC+121, RPC+122
, RPC+123, RPC+145, RPC+150, RPC+151, CLEAN+4!
PSBRECHD CLEAN+4!
>> PSBRPT(2 RPC+36
>> PSBSCH RPC+51, RPC+126, RPC+128, RPC+144, RPC+149
PSBSCHBR CLEAN+4!
>> PSBSCHT RPC+50, RPC+116, RPC+129
PSBSCHTM CLEAN+4!
PSBSHWTB CLEAN+6!
PSBSIOPI RPC~, RPC+4*, LIGHTS+1
>> PSBSM RPC+52
PSBSOLS RPC+106*, RPC+121, RPC+122, RPC+123, RPC+145, RPC+150, RPC+151, 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+152!
>> PSBSTX LASTG+3*, LASTG+4, LASTG+5
PSBTAB RPC+6*, RPC+9, RPC+10, RPC+11, RPC+12, RPC+42, RPC+108, RPC+124, RPC+135, RPC+155
, RPC+156, RPC+157, RPC+158, 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+121, RPC+122, RPC+123, RPC+138, RPC+142
, RPC+147, RPC+151, CLEAN+5!
PSBWEND RPC+19*, RPC+23*, RPC+142, RPC+146, RPC+147, RPC+151, CLEAN+2!
PSBX RPC+41*, RPC+43, CLEAN+5!
PSBX2 CLEAN+5!
PSBXIEN CLEAN+5!
PSBXREC CLEAN+6!
PSBXX RPC+139*, CLEAN+3!
PSBXXX CLEAN+6!
PSBY RPC+140*, RPC+141, RPC+146, CLEAN+3!
PSBYEA CLEAN+5!
PSBYEA1 CLEAN+5!
PSBYES RPC+126*, RPC+127, RPC+128*, RPC+133*, RPC+134, CLEAN+5!
PSBYTF RPC+126*, RPC+128*, RPC+129, 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+103, RPC+104, RPC+111, RPC+112
, RPC+113, RPC+114, RPC+116, RPC+120, RPC+157, RPC+158, 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+108*, 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+110*, RPC+111, RPC+112, RPC+113, RPC+114
, 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