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 |  Marked Items |  All
Print Page as PDF
Routine: PSJDPT

Package: Inpatient Medications

Routine: PSJDPT


Information

PSJDPT ;BIR/JLC - CENTRALIZED PATIENT LOOKUP FOR IPM ; 7/2/08 3:47pm

Source Information

Source file <PSJDPT.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Registration 6 ($$GETACT,DISPPRF)^DGPFAPI  (NOTICE,PTSEC)^DGSEC4  $$BADADR^DGUTL3  ^DPTLK  $$DOB^DPTLK1  DEM^VADPT  
Inpatient Medications 4 INIT^PSJLMDA  PAUSE^PSJLMUT1  NEWALL^PSJLMUTL  DIC^PSJRXI  
Adverse Reaction Tracking 1 ^GMRADPT  
List Manager 1 (CLEAR,FULL)^VALM1  
Order Entry Results Reporting 1 ($$HAVEHDR,HAVEHDR)^ORRDI1  
VA FileMan 1 YN^DICN  

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: 8

Package Total Caller Graph
Inpatient Medications 8 PSGP  PSGVBW0  PSIV  PSIVORC  PSJCLOR1  PSJMP  PSJP  PSJPDIR  

Entry Points

Name Comments DBIA/ICR reference
EN ; MAIN ENTRY POINT FOR PATIENT LOOKUP
ENCONT
AA(DFN) ; Allergy Assessment
DPT
SENS
CHK(Y,DISP,PAUSE)

External References

Name Field # of Occurrence
$$GETACT^DGPFAPI CHK+2
DISPPRF^DGPFAPI CHK+3
NOTICE^DGSEC4 CHK+12
PTSEC^DGSEC4 CHK+4
$$BADADR^DGUTL3 EN+2
YN^DICN ENCONT+1, AA+9
^DPTLK EN+1
$$DOB^DPTLK1 DPT
^GMRADPT AA+7, AA+14
$$HAVEHDR^ORRDI1 EN+6
HAVEHDR^ORRDI1 EN+6
INIT^PSJLMDA AA+13
PAUSE^PSJLMUT1 EN+6
NEWALL^PSJLMUTL AA+13
DIC^PSJRXI AA+12
DEM^VADPT AA+2
CLEAR^VALM1 AA+8
FULL^VALM1 AA+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Remote data not available - Only local order checks processed."
  • Line Location: EN+6
Function Call: WRITE
  • Prompt: @IOF,"PATIENT: ",$P(Y,U,2)
  • Line Location: CHK+2
Function Call: WRITE
  • Prompt: !!
  • Line Location: CHK+6
Function Call: WRITE
  • Prompt: ?(80-$L($P(Y,"^",2)))\2,$P(Y,"^",2),!
  • Line Location: CHK+6
Function Call: WRITE
  • Prompt: ?(80-$L(RESULT(I)))\2,RESULT(I),!
  • Line Location: CHK+7
Function Call: WRITE
  • Prompt: !,"Do you want to continue processing this patient record"
  • Line Location: ENCONT+0
Function Call: WRITE
  • Prompt: !!,"Enter 'YES' to continue processing, or 'NO' to quit processing this record."
  • Line Location: ENCONT+2
Function Call: WRITE
  • Prompt: ?42,$E(NS,1,3),"-",$E(NS,4,5),"-",$E(NS,6,10)," "
  • Line Location: DPT+2
Function Call: WRITE
  • Prompt: ?55,$E(NB,4,5),"/",$E(NB,6,7),"/",$E(NB,2,3)," "
  • Line Location: DPT+3
Function Call: WRITE
  • Prompt: ?67,$P(^(.1),"^")
  • Line Location: DPT+4
Function Call: WRITE
  • Prompt: ?42,"*SENSITIVE* ",?55,"*SENSITIVE* ",?67,"*SENSITIVE*"
  • Line Location: SENS+0
Function Call: WRITE
  • Prompt: $P($G(^DPT(+PSGP,0)),"^"),!!,"Would you like to enter one now"
  • Line Location: AA+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] DPT+1, DPT+4, AA+9
^XTMP("ORRDI" EN+6

Label References

Name Line Occurrences
$$AA CHK+13
ENCONT CHK+11, ENCONT+2
SENS DPT

Naked Globals

Name Field # of Occurrence
^( DPT+4
^(0 DPT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % ENCONT+1*, ENCONT+2, AA+9*, AA+10, AA+13, AA+15
CHKY CHK~, CHK+3*!
DFN AA~, AA+1, AA+5~*, AA+6, AA+7*, AA+13
DIC EN+1!*
DIC("W" EN+1*
DIC(0 EN+1*
DISP CHK~, CHK+1*, CHK+6
GMRA AA+6~, AA+7*, AA+14*
GMRAL AA+6~, AA+7, AA+14
>> I CHK+7*
IOF CHK+2
>> NB DPT+1*, DPT+3
>> ND DPT+1*
>> NS DPT+1*, DPT+2
PAUSE CHK~, CHK+1*, CHK+8
PSGP AA+5~*, AA+7, AA+9
PSGTEMP CHK~, CHK+2!
PSJAACHK AA+6~, AA+7*
PSJAADPT AA+6~*
PSJAAOK AA+6~*, AA+7, AA+10*, AA+14*, AA+15*
>> PSJDD AA+12*
PSJENTRY AA+4~*
>> PSJNODIS EN+6
PSJRXREQ AA+6~, AA+12*
RES CHK~, CHK+12
RESULT CHK~, CHK+4
RESULT( CHK+7
RESULT(1 CHK+5, CHK+8, CHK+9, CHK+10, CHK+11, CHK+12
U CHK+2
VADM AA+2~
VADM(6 AA+3
>> VALMBCK AA+13*
VAN AA+2~
VAV AA+2~
X AA+2~
>> XQY0 CHK+2, CHK+12, AA+4
Y EN+2, EN+3~, CHK~, CHK+2, CHK+3*, CHK+4, CHK+6, CHK+10*, CHK+11, CHK+12*
, CHK+13*, ENCONT+1*, DPT, DPT+1, DPT+4, AA+2~, AA+5~*, AA+15*, AA+17

Marked Items

Name Field # of Occurrence
$T(HAVEHDR^ORRDI1 EN+6
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 |  Marked Items |  All