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

Package: Inpatient Medications

Routine: PSGVW0


Information

PSGVW0 ;BIR/CML3-SHOWS ACTIVITY LOG ;16 DEC 97 / 1:38 PM

Source Information

Source file <PSGVW0.m>

Call Graph

Call Graph

Call Graph Total: 1

Package Total Call Graph
Inpatient Medications 1 ($$ENDTC,$$ENNPN)^PSGMI  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 7

Package Total Caller Graph
Inpatient Medications 7 PSGOEL  PSGPR  PSGVBWP  PSGVWP  PSIVVW1  PSJCLOR4  PSJPR  

Entry Points

Name Comments DBIA/ICR reference
AL1
AL2
NPAGE
ALC ;
ENA ;

External References

Name Field # of Occurrence
$$ENDTC^PSGMI AL1+1, AL2
$$ENNPN^PSGMI AL1+1

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Timeout: DTIME
  • Line Location: PSGVW0+5
Function Call: WRITE
  • Prompt: !!?4,"Date: ",$$ENDTC^PSGMI(+AND)
  • Line Location: AL1+1
Function Call: WRITE
  • Prompt: ?30,"User: ",$$ENNPN^PSGMI($P(AND,"^",2))
  • Condition for execution: $S(UD'?4N:1,1:$E(UD,1,2)'=10)
  • Line Location: AL1+1
Function Call: WRITE
  • Prompt: !?3,"Field: ",$P(AND,"^",4)
  • Line Location: AL2+0
Function Call: WRITE
  • Prompt: !,"Old Data: ",OD
  • Line Location: AL2+1
Function Call: WRITE
  • Prompt: !,"Old Data: ",(OD/60)_" hours"
  • Line Location: AL2+2
Function Call: WRITE
  • Prompt: !,"Old Data: "
  • Line Location: AL2+3
Function Call: WRITE
  • Prompt: !?3,^(Q2,0)
  • Line Location: AL2+5
Function Call: WRITE
  • Prompt: !,"New Data: "
  • Condition for execution: (Q2=1)
  • Line Location: AL2+6
Function Call: WRITE
  • Prompt: !?3,^(Q2,0)
  • Line Location: AL2+6
Function Call: WRITE
  • Prompt: !?3,^(Q2,0)
  • Line Location: AL2+7
Function Call: WRITE
  • Prompt: !,"Old Data: "
  • Line Location: AL2+8
Function Call: WRITE
  • Prompt: !?3,^(Q2,0)
  • Line Location: AL2+9
Function Call: WRITE
  • Prompt: !?3,^(Q2,0)
  • Line Location: AL2+10
Function Call: WRITE
  • Prompt: !?3,"Field: ",$P(AND,"^",4)
  • Line Location: AL2+11
Function Call: WRITE
  • Prompt: " (NO)"
  • Line Location: ALC+2
Function Call: WRITE
  • Prompt: $P(PX,AT,2)
  • Line Location: ALC+3
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: ALC+4
Function Call: WRITE
  • Prompt: !!,"Enter 'LONG' (or 'L') to see ALL of the entries of this activity log. Enter 'SHORT' (or 'S') to NOT see the fields edited because of the order being",!,"renewed, discontinued, etc. Simply press the RETURN key "
  • Line Location: ALC+5
Function Call: WRITE
  • Prompt: "(or enter 'NO', 'N',",!,"or '^') to NOT see the activity log."
  • Line Location: ALC+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(53.1 - [#53.1] AL2+7, AL2+10, ENA+2
^PS(53.3 - [#53.3] AL1+2
^PS(55 - [#55] AL2+5, AL2+6, AL2+9, ENA+1

Label References

Name Line Occurrences
AL1 PSGVW0+6, ENA+1, ENA+2
ALC PSGVW0+5
NPAGE PSGVW0+6, ENA+1, ENA+2

Naked Globals

Name Field # of Occurrence
^( PSGVW0+6, AL2+5, AL2+6, AL2+7, AL2+9, AL2+10, ENA+1, ENA+2
^(0 PSGVW0+6, AL1+2, ENA+1, ENA+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AND PSGVW0+6*, AL1AL1+1, AL2AL2+1, AL2+2, AL2+3, AL2+8, AL2+11, ENA+1*
ENA+2*
>> AT PSGVW0+5*, PSGVW0+6, AL1ALC+1*, ALC+2*, ALC+3*, ALC+4
>> DFN AL2+5, AL2+6, AL2+9
DTIME PSGVW0+5, NPAGE
>> F PSGVW0+6
IOST NPAGE
>> OD AL2*, AL2+1, AL2+2
>> PN PSGVW0+6*, AL1*, ENA+1*, ENA+2*
>> PSGORD ENA+1, ENA+2
>> PSGP ENA+1
>> PSJORD AL2+4, AL2+5, AL2+6, AL2+7, AL2+9, AL2+10
>> PX PSGVW0+6*, NPAGE*, ALC+3*, ENA+1*, ENA+2*
>> Q PSGVW0+5, PSGVW0+6*, AL2+5, AL2+6, AL2+7, AL2+9, AL2+10, ALC+1*, ALC+4*, ENA+1*
ENA+2*
Q2 AL2+5~*, AL2+6*, AL2+7~*, AL2+9~*, AL2+10~*
>> UD AL1*, AL1+1, AL1+2, AL2AL2+1, AL2+2, AL2+11
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All