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

Call Graph Total: 13

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

Caller Graph

Caller Graph Total: 34

Package Total Caller Graph
Inpatient Medications 33 PSGOD  PSGOE7  PSGOE8  PSGOE9  PSGOECS  PSGOEEW  PSGOEF  PSGOERS  
PSGOESF  PSGOEVS  PSGSICHK  PSGVBWU  PSIVOD  PSIVPGE  PSIVUTL1  PSJ LM ALLERGY DETAIL  
PSJ LM BRIEF PATIENT INFO  PSJ LM EDIT ALLERGY/ADR DATA  PSJ LM PATIENT DATA  PSJ LM PATIENT INFO  PSJ LM PENDING ACTION  PSJCLOR2  PSJDCHK  PSJDIN  
PSJDPT  PSJI LM PENDING ACTION  PSJLMGUD  PSJLMHED  PSJLMUTL  PSJO3  PSJOE  PSJOE1  
PSJOEA  
Kernel 1 ^ORD(101  

Entry Points

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

External References

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

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,TXT,!!
  • Line Location: NA+1
Routine Call
  • DIE
  • Line Location:
    • UPR+2
Routine Call
  • DIR
  • Line Location:
    • NA+1
    • PAUSE+1
Routine Call
  • VALM
  • Line Location:
    • DETALL+1
    • BRFALL+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*, RAD+2*, RAD+4*
RAD+5*, RAD+6*, RAD+7*, NARRATIV+2*, NARRATIV+3*, NARRATIV+4, SDA+11*, SDA+12*, SDA+14*, SDA+15
^TMP("PSJVSIT" SDA!, SDA+9*, SDA+13, SDA+14, ENC+6*
^TMP("VSIT" ENC+2!, ENC+3, ENC+4, ENC+5
^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
RAD 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, ENC+1
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+2~
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 RAD+1, RAD+3
>> PSGADR( RAD+7
>> PSGADR(1 RAD+2, RAD+6
PSGALG DISALL+1~, DISALL+5, DISALL+7
PSGALG( DISALL+11
PSGALG(1 DISALL+10
>> PSGDT ENC+1*, ENC+2
PSGLDR DISALL+1~
PSGRALG DISALL+1~
>> PSGVADR RAD+1, RAD+3
>> PSGVADR( RAD+5
>> PSGVADR(1 RAD+1, RAD+3, RAD+4
>> 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+5*, ENC+6
PSJC10 UPR+1*, UPR+3!
PSJCLHD NARRATIV+1~, NARRATIV+5, SDA+3*, SDA+9*, SDA+11, SDA+15, SDA+16!, ENC+6*
PSJCLIN SDA~, SDA+6*, SDA+7, SDA+8, SDA+9, SDA+10, ENC+6
PSJCLINO SDA~, SDA+6*, SDA+9, ENC+6
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*, RAD+2*, RAD+4*
RAD+5*, RAD+6*, RAD+7*, 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+6
>> PSJPNV HIDDEN+1
>> PSJRNF RNACT+1, RNACT+4
>> PSJSCDT0 SDA+4*, SDA+5*, SDA+6, SDA+7
PSJSCI SDA~, SDA+7*, SDA+9, ENC+5*, ENC+6
>> PSJUDPRF HIDDEN+2
PSJUTL SDA+3*, SDA+16!
PSJUTL( SDA+5, SDA+6, SDA+7
PSJWHERE DISALL+1~*
>> PSJX SDA+15*
SDCLIEN ENC~, ENC+3
>> SDEND ENC+2*, ENC+3
SDFROM ENC+2~
SDPATDFN ENC~, ENC+3
>> SDSTART ENC+2*, ENC+3
>> START SETNAR+2*, SETNAR+3
SUB SETNAR~, SET+1
SUBVIS ENC+2~, ENC+4*, ENC+5
TXT NA~, NA+1
TYPE SETNAR~, SETNAR+1
U SDA+6, ENC+5, 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+2~, ENC+3~*, ENC+4, ENC+5
>> VTYP SDA+14*
X DISALL+1~, DISALL+6*, DISALL+8*, DISALL+9*, DISALL+10*, DISALL+11*, RAD+2*, RAD+4*, RAD+5*, RAD+6*
RAD+7*, 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