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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PSJP

Package: Inpatient Medications

Routine: PSJP


Information

PSJP ;BIR/CML3-INPATIENT LOOK-UP ;25-May-2012 08:29;PLS

Source Information

Source file <PSJP.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Inpatient Medications 3 $$ENDTC^PSGMI  HTWT^PSJAC  EN^PSJDPT  
VA Fileman 2 YN^DICN  ^DIR  
IHS Changes To Pharmacy 1 SETPTCX^APSPFUNC  
Kernel 1 (,HOME)^%ZIS  
Registration 1 (DEM,IN5,INP,PID)^VADPT  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Inpatient Medications 6 PSGL  PSGVBW  PSGVBWP  PSJOE  PSJPDIR  PSJPR  

Entry Points

Name Comments DBIA/ICR reference
CNV ;
CHK ;
CH1 ;
CH2 ;
CH3 ;
DONE ;
WP ; ward parameters
ENCONT ;
ENDPT ; get any patient

External References

Name Field # of Occurrence
^%ZIS WP+6
HOME^%ZIS WP+6
SETPTCX^APSPFUNC CNV+6
YN^DICN ENCONT+2
^DIR CNV+1
$$ENDTC^PSGMI CHK+4, CNV+4
HTWT^PSJAC CNV+2
EN^PSJDPT ENDPT+2
DEM^VADPT CNV+2
IN5^VADPT CHK+3
INP^VADPT CHK+1
PID^VADPT CNV+2

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: ENDPT+1
Function Call: WRITE
  • Prompt: !!,"Select "_$S($D(PSGDICA):PSGDICA_" ",1:"")_"PATIENT: "
  • Line Location: ENDPT+1
Function Call: WRITE
  • Prompt: !
  • Line Location: CNV+1
Function Call: WRITE
  • Prompt: " (A 'YES' or 'NO' response is required.)"
  • Line Location: ENCONT+2
Function Call: WRITE
  • Prompt: !!?2,"The patient selected has never been admitted to this medical facility. You",!,"will be able to enter IV orders for this patient but NOT Unit Dose orders."
  • Line Location: CH1+1
Function Call: WRITE
  • Prompt: !!?2,"This patient is shown as deceased. You will not be able to enter orders for",!,"this patient."
  • Line Location: CH2+1
Function Call: WRITE
  • Prompt: !!?2,"This patient is shown to be currently discharged. You will be able to enter",!,"IV orders for this patient but NOT Unit Dose orders."
  • Line Location: CH3+1
Routine Call
  • %ZIS
  • Line Location:
    • WP+6
Routine Call
  • DIR
  • Line Location:
    • CNV+1
Routine Call
  • %ZIS
  • Line Location:
    • WP+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(55 - [#55] CHK+2
^PS(59.6 - [#59.6] WP+1

Label References

Name Line Occurrences
@( ENCONT+2
CNV CHK+2
DONE ENDPT+1
ENCONT CHK+3, CHK+5
ENDPT ENDPT+3, CHK+3, CHK+5

Naked Globals

Name Field # of Occurrence
^(5.1 CHK+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % CHK+3, CHK+5, ENCONT+1*, ENCONT+2*, ENCONT+3
>> %Y ENCONT+2
%ZIS WP+6!*
DA DONE+1!
>> DFN CHK+1*, CNV+2, CNV+6
DIC ENDPT+1!, ENDPT+4!, DONE+1!
DIR CNV+1!
DIR("?" CNV+1*
DIR("A" CNV+1*
DIR(0 CNV+1*
DTIME ENDPT+1
>> FQ ENCONT+2*
IO WP+6
ION WP+6
>> IOP WP+5*, WP+6*
NB DONE+1!
ND DONE+1!
NS DONE+1!
>> POP WP+6
>> PSGDICA ENDPT+1
>> PSGH ENCONT+1
PSGID CHK+4*, CHK+5, DONE+1!
PSGOD CHK+4*, CHK+5, DONE+1!
PSGP ENDPT+1!*, CHK+1*, CHK+2
PSGP(0 CNV+3*
>> PSJEXTP CNV+1
>> PSJH CHK+5*, ENCONT+2
>> PSJHDATE CNV+1*
>> PSJPAD CHK+2*, CHK+6*
>> PSJPAGE CNV+3*
>> PSJPBID CNV+3*
>> PSJPCAF CHK+2*, CHK+3*
>> PSJPDD CHK+2*, CHK+3*, CHK+5*
>> PSJPDOB CNV+3*
>> PSJPDX CHK+2*, CHK+6*
>> PSJPPID CNV+3*
>> PSJPRB CHK+2*, CHK+6*
>> PSJPSEX CNV+3*
>> PSJPSSN CNV+3*
>> PSJPTD CHK+2*, CHK+6*
>> PSJPTS CHK+2*, CHK+6*
>> PSJPTSP CHK+2*, CHK+6*
>> PSJPWD CHK+2*, CHK+6*, WP+1
>> PSJPWDN CHK+2*, CHK+6*
>> PSJSYSL WP+3*, WP+4, WP+6*
>> PSJSYSP0 WP+5
>> PSJSYSU WP+3
>> PSJSYSW WP+1*
>> PSJSYSW0 WP+1*, WP+3, WP+5
QFLG ENDPT+1*, DONE+1!
>> VA("BID" CNV+3
>> VA("PID" CNV+3
VA200 CHK+1*, DONE+1!
>> VADM(1 CNV+3
>> VADM(2 CNV+3
>> VADM(3 CNV+3
>> VADM(4 CNV+3
>> VADM(5 CNV+3
>> VAIN(1 CHK+2
>> VAIN(2 CHK+2
>> VAIN(3 CHK+2
>> VAIN(4 CHK+2
>> VAIN(5 CHK+2
>> VAIN(7 CHK+2
>> VAIN(9 CHK+2
VAIP DONE+1!
VAIP("D" CHK+3*
VAIP(13 CHK+3, CHK+5, CHK+6
VAIP(3 CHK+4
VAIP(4 CHK+4
VAIP(5 CHK+6
VAIP(6 CHK+6
VAIP(7 CHK+6
VAIP(8 CHK+6
VAIP(9 CHK+6
VAMT DONE+1!
X ENDPT+1*, CHK+4*, CHK+5, CNV+4*, WP+3*, WP+5*, DONE+1!
Y ENDPT+1!*, ENDPT+3, CHK+1, CNV+1, ENCONT+3*
Y(0 DONE+1!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All