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

Package: Inpatient Medications

Routine: PSJLMHED


Information

PSJLMHED ;BIR/MLM - BUILD LM HEADERS ; 8/6/14 11:00am

Source Information

Source file <PSJLMHED.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Inpatient Medications 6 $$ENDTC^PSGMI  ENBOTH^PSJAC  PAUSE^PSJLMUTL  $$TXT^PSJO  EN^PSJO1  $$RECDCEXP^PSJP  
Order Entry Results Reporting 4 $$TERMLKUP^ORB31  $$CWAD^ORQPT2  $$LOCL^ORQQLR1  VITAL^ORQQVI  
List Manager 2 $$SETSTR^VALM1  KILL^VALM10  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
Pharmacy Data Management 1 $$BSA^PSSDSAPI  
Registration 1 DEM^VADPT  
VA FileMan 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 32

Package Total Caller Graph
Inpatient Medications 32 PSGCAPP0  PSGOECS  PSGOERS  PSIVRP  PSJ LM ALLERGY DETAIL  PSJ LM ALLERGY DISPLAY  PSJ LM BRIEF PATIENT INFO  PSJ LM CLINIC ORDERS  
PSJ LM DETAILED ALLERGY  PSJ LM IV AC/EDIT  PSJ LM IV DISPLAY  PSJ LM IV INPT ACTIVE  PSJ LM IV INPT DISPLAY  PSJ LM IV INPT PENDING  PSJ LM IV LABELS  PSJ LM IV OE  
PSJ LM IV PENDING  PSJ LM IV PROFILE  PSJ LM IV RETURN LABELS  PSJ LM NEW ORDER FROM PROFILE  PSJ LM OE  PSJ LM OE DISPLAY  PSJ LM PATIENT DATA  PSJ LM PENDING EDIT  
PSJ LM PNV  PSJ LM UD ACTION  PSJCLOR2  PSJHEAD  PSJLMAL  PSJLMDA  PSJU LM ACCEPT  PSJU LM OE  

Entry Points

Name Comments DBIA/ICR reference
HDR(DFN) ; -- list screen header
; input: DFN := ifn of pat
; output: VALMHDR() := hdr array
HDRO(DFN) ; Standardized part of profile header.
INIT(PSJPROT) ; -- init bld vars
; PSJPROT=1:UD ONLY; 2:IV ONLY; 3:BOTH
DONE ;
ON ;
TF ; Set up order type header
TEST ;
CRCL(DFN) ;

External References

Name Field # of Occurrence
$$GET1^DIQ HDR+8, HDRO+13
$$TERMLKUP^ORB31 CRCL+4, CRCL+5
$$CWAD^ORQPT2 HDRO+6
$$LOCL^ORQQLR1 CRCL+8
VITAL^ORQQVI CRCL+14, CRCL+18
$$ENDTC^PSGMI HDR+11, HDRO+10
ENBOTH^PSJAC HDR+5
PAUSE^PSJLMUTL INIT+5
$$TXT^PSJO TF+6
EN^PSJO1 INIT+4
$$RECDCEXP^PSJP TF+3
$$BSA^PSSDSAPI HDR+14
DEM^VADPT CRCL+21
$$SETSTR^VALM1 HDR+8, HDR+10, HDR+11, HDR+22, HDRO+4, HDRO+5, HDRO+7, HDRO+11, HDRO+13
KILL^VALM10 INIT+4
$$FMTE^XLFDT CRCL+13, CRCL+40
$$NOW^XLFDT CRCL+14, CRCL+18

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?22,"NO ORDERS FOUND FOR "_$S(PSJOL="S":"SHORT",1:"LONG")_" PROFILE."
  • Line Location: INIT+5
Function Call: WRITE
  • Prompt: !,$E($E(Y,1,(80-$L(X))/2)_" "_X_$E(Y,1,(80-$L(X))/2),1,80)
  • Line Location: TEST+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] HDRO+2, ON+3
^PS(55 - [#55] HDRO+2, ON+3
^SC - [#44] HDRO+3
^TMP("PSJ" INIT+2!, INIT+5, INIT+6, INIT+9, INIT+10, INIT+13, INIT+16, INIT+17, INIT+24, INIT+25
, INIT+28, INIT+29, INIT+31, INIT+32, ON+2, TF+2
^TMP("PSJON" INIT+2!, ON+4*
^TMP("PSJPRO" INIT+2!, ON+5*, TF+7*

Label References

Name Line Occurrences
$$CRCL HDR+16
@( ON+5
HDRO HDR+6
ON INIT+10, INIT+17, INIT+25, INIT+29, INIT+32
TF INIT+8, INIT+15, INIT+23, INIT+27, INIT+30

Naked Globals

Name Field # of Occurrence
^( ON+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ABW CRCL+1~, CRCL+16*, CRCL+17*, CRCL+25, CRCL+30, CRCL+31, CRCL+32, CRCL+36, CRCL+42!
ADJBW CRCL+1~, CRCL+33*, CRCL+34*, CRCL+35, CRCL+36*, CRCL+37, CRCL+42!
BWDIFF CRCL+1~, CRCL+31*, CRCL+33, CRCL+42!
BWRATIO CRCL+1~, CRCL+30*, CRCL+33, CRCL+42!
C TF+5~*, TF+6
CNT DONE+1!
CRCL CRCL+37*, CRCL+38, CRCL+39, CRCL+42!
DFN HDR~, HDR+6, HDR+14, HDR+16, HDRO~, HDRO+2, HDRO+6, CRCL~, CRCL+8, CRCL+14
, CRCL+18
>> DN ON+2*
>> FQ ON+2*
GMRA HDR+4!
HTGT60 CRCL+1~, CRCL+27*, CRCL+28, CRCL+29, CRCL+42!
IBW CRCL+1~, CRCL+29*, CRCL+30, CRCL+31, CRCL+32, CRCL+33, CRCL+42!
>> IORVOFF HDRO+7
>> IORVON HDRO+7
LOWBW CRCL+1~, CRCL+32*, CRCL+34, CRCL+42!
OCXT CRCL+1~, CRCL+6*, CRCL+8, CRCL+42!
OCXTS CRCL+1~, CRCL+7*, CRCL+8, CRCL+42!
PRJPRI ON+3~
PSCR CRCL+1~, CRCL+3*, CRCL+9*, CRCL+10, CRCL+42!
PSCXTL CRCL+1~, CRCL+4*, CRCL+42!
PSCXTL( CRCL+6, CRCL+8
PSCXTLS CRCL+1~, CRCL+5*, CRCL+42!
PSCXTLS( CRCL+7, CRCL+8
>> PSGP HDR+8, HDRO+13, INIT+7, INIT+14, INIT+21, ON+3
PSJ HDR+4!, HDR+7*, HDR+8*, HDR+9*, HDR+10, HDR+11, HDRO+4*, HDRO+5*, HDRO+7*, HDRO+8*
, HDRO+11*, HDRO+12*, HDRO+13*
PSJACNWP HDR+4!, HDR+5*
PSJAPPT HDRO+1~*, HDRO+3*, HDRO+10
PSJBSA HDR+14*, HDR+22!
PSJC INIT+6*, INIT+7, INIT+8, INIT+9, INIT+10, INIT+13*, INIT+14, INIT+15, INIT+16, INIT+17
, INIT+19, INIT+21, INIT+22, INIT+23, INIT+24, INIT+25, INIT+27, INIT+28, INIT+29, INIT+30
, INIT+31, INIT+32, DONE+1!, ON+2, ON+4~*, TF+2, TF+5
PSJCLIN HDRO+1~*, HDRO+2*, HDRO+3*, INIT+20~, INIT+22*, TF+6
PSJCLINN HDRO+1~*, HDRO+3*, HDRO+4, HDRO+5, HDRO+10
>> PSJDB HDR+22*
>> PSJDCEXP TF+3*, TF+4
PSJDFHDR TF+1~, TF+4*, TF+6
PSJEN INIT+6*, DONE+1!, ON+4, ON+5*
>> PSJF INIT+7*, INIT+14*, INIT+21*
>> PSJL ON+4*
PSJLN INIT+6*, INIT+35, DONE+1!, TF+7*
>> PSJO ON+2*, ON+3, ON+4, ON+5
>> PSJOL INIT+5
PSJORD HDRO+1, HDRO+2, DONE+1!
>> PSJOS ON+1
>> PSJPAD HDR+8
>> PSJPAGE HDRO+12
>> PSJPDD HDR+8, HDR+10, HDR+11, HDRO+5, HDRO+9
>> PSJPDOB HDRO+12
>> PSJPDX HDR+9
>> PSJPHT HDRO+11
>> PSJPHTD HDRO+11
>> PSJPRB HDRO+9
PSJPRI DONE+1!, ON+3*
PSJPROT INIT~, INIT+3, INIT+4
>> PSJPSEX HDR+7
>> PSJPSSN HDRO+8
>> PSJPTD HDR+11
>> PSJPWDN HDRO+5
>> PSJPWT HDRO+13
>> PSJPWTD HDRO+13
PSJS INIT+10*, INIT+17*, INIT+25*, INIT+29*, INIT+32*, DONE+1!, ON+1, ON+2
>> PSJSCHT ON+1*
PSJST INIT+9*, INIT+10, INIT+16*, INIT+17, INIT+24*, INIT+25, INIT+28*, INIT+29, INIT+31*, INIT+32
DONE+1!, ON+1, ON+2
>> PSJTF INIT+6*, INIT+8*, INIT+13*, INIT+15*, INIT+23*, INIT+27*, INIT+30*
PSJTMPJC ON+4~*
PSJUDPRF INIT+2!, INIT+3*
PSRH CRCL+1~, CRCL+18, CRCL+19, CRCL+42!
PSRH(1 CRCL+20
PSRW CRCL+1~, CRCL+14, CRCL+15, CRCL+42!
PSRW(1 CRCL+16
>> RMORDAT HDRO+1*
RMORDT HDRO+1~, HDRO+9*, HDRO+10*, HDRO+11
RSLT HDR+16*, HDR+18, HDR+19, HDR+20, HDR+21, HDR+22!, CRCL+1~, CRCL+2*, CRCL+4, CRCL+5
, CRCL+10, CRCL+11, CRCL+12*, CRCL+13*, CRCL+15, CRCL+16, CRCL+19, CRCL+20, CRCL+21, CRCL+23
, CRCL+25, CRCL+26, CRCL+38*, CRCL+39*, CRCL+40*, CRCL+41*, CRCL+43
SCR CRCL+1~, CRCL+6*, CRCL+8*, CRCL+9, CRCL+10*, CRCL+11, CRCL+12, CRCL+26, CRCL+41, CRCL+42!
SCRD CRCL+1~, CRCL+11*, CRCL+12, CRCL+26*, CRCL+38, CRCL+39
SCRV CRCL+1~, CRCL+10*, CRCL+37, CRCL+42!
SEX CRCL+1~, CRCL+23*, CRCL+25, CRCL+29, CRCL+38, CRCL+39
U HDR+7, HDR+8, HDR+10, HDRO+3, HDRO+8, HDRO+12, CRCL+8, CRCL+9, CRCL+10, CRCL+11
, CRCL+16, CRCL+20, CRCL+26, CRCL+38, CRCL+39
VA HDR+4!
VADM HDR+4!, CRCL+21~
VADM(1 HDRO+4, HDRO+5
VADM(4 CRCL+21
VADM(5 CRCL+23
VAERR HDR+4!
VAIN HDR+4!
>> VALMCNT INIT+35*
VALMHDR HDRO+4!
VALMHDR(1 HDRO+7*
VALMHDR(2 HDRO+11*
VALMHDR(3 HDRO+13*
VALMHDR(4 HDR+8*
VALMHDR(5 HDR+10*, HDR+11*
VALMHDR(6 HDR+22*
>> VALMQUIT INIT+5*
X HDR+4!, HDRO+6*, HDRO+7*, TF+5~, TF+6*, TF+7, TEST+1~, TEST+2*
X1 CRCL+1~, CRCL+13*!, CRCL+40*!, CRCL+42!
X2 CRCL+1~, CRCL+13*!, CRCL+40*!, CRCL+42!
Y TF+5~*, TF+7, TEST+1~*, TEST+2
ZAGE CRCL+1~, CRCL+21*, CRCL+25, CRCL+37, CRCL+42!
ZDSPL HDR+18*, HDR+19*, HDR+20*, HDR+21*, HDR+22!
ZHT CRCL+1~, CRCL+20*, CRCL+25, CRCL+27, CRCL+42!
ZSERUM CRCL+1~, CRCL+42!
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 |  Naked Globals |  Local Variables  | All