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

Package: Inpatient Medications

Routine: PSGP


Information

PSGP ;BIR/CML3-PATIENT LOOK-UP ;29-May-2012 14:31;PLS

Source Information

Source file <PSGP.m>

Call Graph

Call Graph Total: 10

Package Total Call Graph
Inpatient Medications 3 $$ENDTC^PSGMI  HTWT^PSJAC  EN^PSJDPT  
Kernel 3 ^%ZIS  ^%ZISC  $$PATCH^XPDUTL  
IHS Changes To Pharmacy 1 SETPTCX^APSPFUNC  
Registration 1 (DEM,IN5,INP,PID,SDA)^VADPT  
Scheduling 1 $$SDIMO^SDAMA203  
VA Fileman 1 NOW^%DTC  

Caller Graph

Caller Graph Total: 8

Package Total Caller Graph
Inpatient Medications 8 PSGEUD  PSGGAO  PSGMAR  PSGMMAR  PSGOE  PSGRET  PSGTCTD  PSJLOI  

Entry Points

Name Comments DBIA/ICR reference
CNV ;
COP ;check for appointments in clinics that allowed inpatient orders
CHK ;
DONE ;
WP ; ward parameters
ENDPT ; get any patient

External References

Name Field # of Occurrence
NOW^%DTC COP+4
^%ZIS WP+6
^%ZISC WP+6
SETPTCX^APSPFUNC CHK+1
$$ENDTC^PSGMI CHK+5, CNV+3
HTWT^PSJAC CNV+1
EN^PSJDPT ENDPT+3
$$SDIMO^SDAMA203 COP+6
DEM^VADPT CNV+1
IN5^VADPT CHK+4, COP+3
INP^VADPT CHK+2
PID^VADPT CNV+1
SDA^VADPT COP+5
$$PATCH^XPDUTL COP+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: ENDPT+2
Function Call: WRITE
  • Prompt: !!,"Select "_$S($D(PSGDICA):PSGDICA_" ",1:"")_"PATIENT: "
  • Line Location: ENDPT+2
Function Call: WRITE
  • Prompt: $C(7),!!?3,"PATIENT IS FOUND TO BE D",$P("ISCHARG^ECEAS","^",X+1),"ED AS OF ",PSGOD,"."
  • Line Location: CHK+5
Routine Call
  • %ZIS
  • Line Location:
    • WP+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(55 - [#55] CHK+3, COP+7
^PS(59.6 - [#59.6] WP+1
^UTILITY("VASD" COP+6

Label References

Name Line Occurrences
CNV CHK+3
COP CHK+4, CHK+5
DONE ENDPT+2
ENDPT ENDPT+4, CHK+4, CHK+5

Naked Globals

Name Field # of Occurrence
^( COP+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % COP+4
%ZIS WP+6!*
A COP+2~, COP+6*
DA DONE+1!
>> DFN CHK+2*, CNV+1, COP+6, COP+7
DIC ENDPT+2!, ENDPT+5!, DONE+1!
DTIME ENDPT+2
HIT ENDPT+1~, CHK+4, CHK+5, COP+1*, COP+6*, COP+7*
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+2
PSGID CHK+5*, CHK+6, DONE+1!
PSGOD CHK+5*, CHK+6, DONE+1!
PSGP ENDPT+2!*, CHK+2*, CHK+3
PSGP(0 CNV+2*
>> PSGRETF CHK+5
PSJF COP+2~, COP+4*, COP+7
>> PSJPAD CHK+3*, CHK+5*, CHK+6*
>> PSJPAGE CNV+2*
>> PSJPBID CNV+2*
>> PSJPCAF CHK+3*, CHK+4*
>> PSJPDD CHK+3*, CHK+6*
>> PSJPDOB CNV+2*
>> PSJPDX CHK+3*, CHK+6*
>> PSJPPID CNV+2*
>> PSJPRB CHK+3*, CHK+6*
>> PSJPSEX CNV+2*
>> PSJPSSN CNV+2*
>> PSJPTD CHK+3*, CHK+6*
>> PSJPTS CHK+3*, CHK+6*
>> PSJPTSP CHK+3*, CHK+6*
>> PSJPWD CHK+3*, CHK+6*, WP+1
>> PSJPWDN CHK+3*, CHK+6*
>> PSJSTOP ENDPT+2*
>> PSJSYSL WP+3*, WP+4, WP+6*
>> PSJSYSP0 WP+5
>> PSJSYSU WP+3
>> PSJSYSW WP+1*
>> PSJSYSW0 WP+1*, WP+3, WP+5
SQ COP+2~, COP+6*
>> VA("BID" CNV+2
>> VA("PID" CNV+2
VA200 CHK+2*, DONE+1!
VADM DONE+1!
VADM(1 CNV+2
VADM(2 CNV+2
VADM(3 CNV+2
VADM(4 CNV+2
VADM(5 CNV+2
VAIN DONE+1!
VAIN(1 CHK+3
VAIN(2 CHK+3
VAIN(3 CHK+3
VAIN(4 CHK+3
VAIN(5 CHK+3
VAIN(7 CHK+3
VAIN(9 CHK+3
VAIP DONE+1!, COP+2~
VAIP("D" CHK+4*
VAIP(13 CHK+4, CHK+5, CHK+6
VAIP(3 CHK+5
VAIP(4 CHK+5
VAIP(5 CHK+6
VAIP(6 CHK+6
VAIP(7 CHK+6
VAIP(8 CHK+6
VAIP(9 CHK+6
VAMT DONE+1!
>> VASD("F" COP+4*
X ENDPT+2*, CHK+5*, CHK+6, CNV+3*, WP+3*, WP+5*, DONE+1!, COP+2~
Y ENDPT+2!*, ENDPT+4, CHK+1, CHK+2
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