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

Package: Inpatient Medications

Routine: PSJLMUTL


Information

PSJLMUTL ;BIR/MLM-INPATIENT LISTMAN UTILITIES ; 9/12/07 10:28am

Source Information

Source file <PSJLMUTL.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Registration 3 SDA^VADPT  EN^VALM  FULL^VALM1  
VA Fileman 3 NOW^%DTC  ^DIE  ^DIR  
Inpatient Medications 2 DISALL^PSJLMUTL  (ATS,RAD)^PSJMUTL  
Kernel 2 ($$FMADD,$$FMTE)^XLFDT  $$PATCH^XPDUTL  
Adverse Reaction Tracking 1 EN2^GMRAPEM0  
PCE Patient Care Encounter 1 SELECTED^VSIT  
Scheduling 1 SDAUTHCL^SDAMA203  

Caller Graph

Caller Graph Total: 24

Package Total Caller Graph
Inpatient Medications 24 PSGOD  PSGOE7  PSGOE8  PSGOE9  PSGOECS  PSGOEEW  PSGOEF  PSGOERS  
PSGOESF  PSGOEVS  PSGSICHK  PSGVBWU  PSIVOD  PSIVPGE  PSIVUTL1  PSJDCHK  
PSJDIN  PSJLMGUD  PSJLMHED  PSJLMUTL  PSJO3  PSJOE  PSJOE1  PSJOEA  

Entry Points

Name Comments DBIA/ICR reference
UPR(DFN)
DISALL(DFN) ; Display brief patient info list.
SET ; Set ^TMP for narratives.
OINAME(ND) ; Return Orderable Item Name_" "_Dose Form_U_Dosage Ordered
HIDDEN(CHK) ; Determines if certain Hidden actions are to be available.
NARRATIV ; print inpatient/outpatient narratives
BRFALL(DFN)
PATINFO()
TECHACT() ; Allowable actions for IV technician (PSJI PHARM TECH)
DETALL(DFN)
NA(TXT) ;
SETNAR(SUB,NARR,TYPE) ; Set up Narrative info.
NEWALL(DFN) ; Enter Allergy info.
ENC(SDPATDFN,SDCLIEN) ;
SDA
DDNAME(X) ;
ACTIONS() ;
RNACT() ;
DRUGNAME(DFN,ON) ; Find drug name to display
PAUSE ;
FOUND(DNME,DN,FN) ;

External References

Name Field # of Occurrence
NOW^%DTC SDA+2
^DIE UPR+2
^DIR NA+1, PAUSE+1
EN2^GMRAPEM0 NEWALL+2
DISALL^PSJLMUTL UPR+2
ATS^PSJMUTL DISALL+2
RAD^PSJMUTL DISALL+12
SDAUTHCL^SDAMA203 SDA+8
SDA^VADPT SDA+3
EN^VALM DETALL+1, BRFALL+1
FULL^VALM1 NEWALL+2, NA+1
SELECTED^VSIT ENC+2
$$FMADD^XLFDT ENC+1
$$FMTE^XLFDT SDA+7, ENC+4
$$PATCH^XPDUTL SDA+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,TXT,!!
  • Line Location: NA+1
Routine Call
  • VALM
  • Line Location:
    • DETALL+1
    • BRFALL+1
Routine Call
  • DIE
  • Line Location:
    • UPR+2
Routine Call
  • DIR
  • Line Location:
    • NA+1
    • PAUSE+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(55 - [#55] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ORD(101 - [#101] ACTIONS+2, RNACT+6, TECHACT+5, PATINFO+1
^PS(50.606 - [#50.606] OINAME+2
^PS(50.7 - [#50.7] DRUGNAME+10, OINAME+2
^PS(53.1 - [#53.1] RNACT+2, TECHACT+2, DRUGNAME+13, DRUGNAME+14
^PS(55 - [#55] NARRATIV+2, NARRATIV+3, DRUGNAME+9, DRUGNAME+11
^PSDRUG - [#50] DDNAME+1
^TMP( SET+1*
^TMP("PSJALL" DISALL+1!, DISALL+3*, DISALL+4*, DISALL+6*, DISALL+8*, DISALL+9*, DISALL+10*, DISALL+11*, DISALL+14*, DISALL+16*
, DISALL+17*, DISALL+18*, DISALL+19*, NARRATIV+2*, NARRATIV+3*, NARRATIV+4, SDA+11*, SDA+12*, SDA+14*, SDA+15
^TMP("PSJVSIT" SDA!, SDA+9*, SDA+13, SDA+14, ENC+5*
^TMP("VSIT" ENC+1!, ENC+2, ENC+3, ENC+4
^UTILITY("VASD" SDA+3

Label References

Name Line Occurrences
$$DDNAME DRUGNAME+11, DRUGNAME+14
$$FOUND DDNAME+1, OINAME+3
$$OINAME DRUGNAME+10, DRUGNAME+12, DRUGNAME+13, DRUGNAME+15
ENC SDA+10
NA HIDDEN+1, HIDDEN+2, HIDDEN+4
NARRATIV DISALL+3, DISALL+4
SDA NARRATIV+4
SET SETNAR+4, SETNAR+5
SETNAR NARRATIV+2, NARRATIV+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % SDA+2
CHK HIDDEN~, HIDDEN+1, HIDDEN+2, HIDDEN+4
>> DA ACTIONS+2, RNACT+6, TECHACT+5, PATINFO+1, UPR+2*
>> DA(1 ACTIONS+2, RNACT+6, TECHACT+5, PATINFO+1
DF OINAME+1~, OINAME+2*
DFN NEWALL~, DISALL~, NARRATIV+2, NARRATIV+3, SDA+10, UPR~, UPR+2, DETALL~, BRFALL~, DRUGNAME~
, DRUGNAME+9, DRUGNAME+11
DIC ACTIONS+1~, TECHACT+4~
DIE UPR+1~, UPR+2*
DIR NA+1~, PAUSE+1~
DIR(0 NA+1*, PAUSE+1*
DN DRUGNAME+8, DRUGNAME+10*, DRUGNAME+11*, DRUGNAME+12*, FOUND~, FOUND+1
DNME OINAME+1~, OINAME+2*, OINAME+3, FOUND~, FOUND+1
DR UPR+1~, UPR+2*
DT ENC+1~
FN FOUND~, FOUND+1
NARR SETNAR~, SETNAR+1*, SETNAR+2, SETNAR+3*, SETNAR+4*, SETNAR+5*
ND OINAME~, OINAME+2, OINAME+3
>> OIND DRUGNAME+9*, DRUGNAME+10, DRUGNAME+12, DRUGNAME+13*, DRUGNAME+15
ON DRUGNAME~, DRUGNAME+8, DRUGNAME+9, DRUGNAME+11, DRUGNAME+13, DRUGNAME+14
>> PSGACT ACTIONS+3, ACTIONS+4, ACTIONS+5, ACTIONS+6, ACTIONS+7, ACTIONS+8, ACTIONS+9, RNACT+3*, RNACT+4*, RNACT+7
, RNACT+8, RNACT+9, RNACT+10, RNACT+11, RNACT+12, TECHACT+3*, TECHACT+6, TECHACT+7, TECHACT+8, TECHACT+9
, TECHACT+10, TECHACT+11, HIDDEN+4
>> PSGADR DISALL+13, DISALL+15
>> PSGADR( DISALL+19
>> PSGADR(1 DISALL+14, DISALL+18
PSGALG DISALL+1~, DISALL+5, DISALL+7
PSGALG( DISALL+11
PSGALG(1 DISALL+10
>> PSGDT ENC+1
PSGLDR DISALL+1~
PSGRALG DISALL+1~
>> PSGVADR DISALL+13, DISALL+15
>> PSGVADR( DISALL+17
>> PSGVADR(1 DISALL+13, DISALL+15, DISALL+16
>> PSGVALG DISALL+5, DISALL+7
>> PSGVALG( DISALL+9
>> PSGVALG(1 DISALL+5, DISALL+6, DISALL+7, DISALL+8
>> PSJ SETNAR+3*, SETNAR+4*, SETNAR+5*, SET+1
PSJAPD SDA~, SDA+7*, SDA+9, ENC+4*, ENC+5
PSJC10 UPR+1*, UPR+3!
PSJCLHD NARRATIV+1~, NARRATIV+5, SDA+3*, SDA+9*, SDA+11, SDA+15, SDA+16!, ENC+5*
PSJCLIN SDA~, SDA+6*, SDA+7, SDA+8, SDA+9, SDA+10, ENC+5
PSJCLINO SDA~, SDA+6*, SDA+9, ENC+5
PSJCLOK SDA~, SDA+8*
PSJDBUN SDA!, SDA+3*
PSJGMRAL DISALL+1~, DISALL+3, DISALL+4
>> PSJIRNF RNACT+1, RNACT+4
>> PSJITECH TECHACT+1
>> PSJLMPRO PATINFO+2
PSJLN DISALL+1~, DISALL+3*, DISALL+4*, DISALL+6*, DISALL+8*, DISALL+9*, DISALL+10*, DISALL+11*, DISALL+14*, DISALL+16*
, DISALL+17*, DISALL+18*, DISALL+19*, NARRATIV+2, NARRATIV+3, NARRATIV+4*, NARRATIV+5, SDA+11*, SDA+12*, SDA+14*
, SDA+15, SET+1*
>> PSJORD RNACT+2, TECHACT+2
PSJPAD SDA~*, SDA+9, SDA+11, ENC+5
>> PSJPNV HIDDEN+1
>> PSJRNF RNACT+1, RNACT+4
>> PSJSCDT0 SDA+4*, SDA+5*, SDA+6, SDA+7
PSJSCI SDA~, SDA+7*, SDA+9, ENC+4*, ENC+5
>> PSJUDPRF HIDDEN+2
PSJUTL SDA+3*, SDA+16!
PSJUTL( SDA+5, SDA+6, SDA+7
PSJWHERE DISALL+1~*
>> PSJX SDA+15*
SDCLIEN ENC~, ENC+2
>> SDEND ENC+1*, ENC+2
SDFROM ENC+1~
SDPATDFN ENC~, ENC+2
>> SDSTART ENC+1*, ENC+2
>> START SETNAR+2*, SETNAR+3
SUB SETNAR~, SET+1
SUBVIS ENC+1~, ENC+3*, ENC+4
TXT NA~, NA+1
TYPE SETNAR~, SETNAR+1
U SDA+6, ENC+4, ACTIONS+2, RNACT+4, RNACT+6, TECHACT+3, TECHACT+5, PATINFO+1, DRUGNAME+10, DRUGNAME+11
, DRUGNAME+12, DRUGNAME+13, DRUGNAME+14, DRUGNAME+15, DDNAME+1, OINAME+2
VAERR SDA~, SDA+3
>> VALMCNT NARRATIV+5*, SDA+15*, UPR+1, UPR+3*
>> VASD("F" SDA+2*
>> VCLIN SDA+13*, SDA+14
VDAT SDA+13~*, SDA+14
>> VDATA SDA+14*
VIS ENC+1~, ENC+2~*, ENC+3, ENC+4
>> VTYP SDA+14*
X DISALL+1~, DISALL+6*, DISALL+8*, DISALL+9*, DISALL+10*, DISALL+11*, DISALL+14*, DISALL+16*, DISALL+17*, DISALL+18*
, DISALL+19*, NARRATIV+4*, ACTIONS+1~, RNACT+2~*, RNACT+4, RNACT+5~, TECHACT+2~*, TECHACT+3, TECHACT+4~, DRUGNAME+11*
, DRUGNAME+14*, DDNAME~, DDNAME+1, OINAME+1~, OINAME+2*
Y DISALL+1~, SETNAR+1*, ACTIONS+1~, ACTIONS+2*, ACTIONS+3, ACTIONS+4, ACTIONS+5, ACTIONS+6, ACTIONS+7, ACTIONS+8
, ACTIONS+9, RNACT+5~, RNACT+6*, RNACT+7, RNACT+8, RNACT+9, RNACT+10, RNACT+11, RNACT+12, RNACT+13
, TECHACT+4~, TECHACT+5*, TECHACT+6, TECHACT+7, TECHACT+8, TECHACT+9, TECHACT+10, TECHACT+11, TECHACT+12, PATINFO+1*
, PATINFO+2
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 |  Local Variables |  All