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

Package: Outpatient Pharmacy

Routine: PSOMPHRC


Information

PSOMPHRC ;BIRM/JAM - Patient Medication Profile for HRC - Listmanager ;02/01/11

Source Information

Source file <PSOMPHRC.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Outpatient Pharmacy 12 CHKADDR^PSOBAI  ^PSOBUILD  ^PSOLSET  EN^PSONVAVW  DSPL^PSOORFI1  NEWSEL^PSOORNE2  ^PSOORUT2  EN^PSOPATLK  
(INIT,REF)^PSOPMP0  ($$STSINFO,PENHDR)^PSOPMP1  LOAD^PSOPMPPF  (EOJ,PTX)^PSORX1  
VA FileMan 3 ^DIC  $$GET1^DIQ  ^DIR  
List Manager 2 EN^VALM  FULL^VALM1  
Registration 1 (DEM,KVA)^VADPT  

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
Outpatient Pharmacy 6 PSO DETAILED ALLERGY/HRC LIST  PSO HRC MAIN  PSO HRC MENU  PSO HRC PATIENT INFORMATION  PSO HRC PROFILE/REFILL  PSO HRC SELECT  
Kernel 2 ^DIC(19  ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
LG ; -- entry point for PSO HRC REFILL
EN ;Menu option entry point
PAT ; -- Patient selection
HDR ; -- header code
INT ; rebuild PSOLST only
DD ; -- entry point for PSO HRC DETAILED ALLERGY
ADPL() ; -- disable actions for pending orders
HDRF ; -- rebuild listman array for Speed refill
INIT ; -- rebuild ^TMP("PSOPMP0",$J and PSOLST array from ^TMP("PSOPMP0",$J
EXIT ;
PI ; -- entry point for PSO HRC Patient Information
ACTIONS() ; -- screen actions on active orders
LST(SITE,PSODFN) ; -- ListManager entry point
; Loading Division/User preferences
SEL ; -- Process selection of RX entries
DIR ; -- Dir call
HELP

External References

Name Field # of Occurrence
^DIC ACTIONS+2, ADPL+2
$$GET1^DIQ PAT+6, SEL+16
^DIR DIR+2
CHKADDR^PSOBAI PAT+10
^PSOBUILD PAT+12
^PSOLSET EN+5
EN^PSONVAVW SEL+28
DSPL^PSOORFI1 SEL+23
NEWSEL^PSOORNE2 SEL+15
^PSOORUT2 PAT+12, PI+1
EN^PSOPATLK PAT+1
INIT^PSOPMP0 INIT+2, HDRF+1
REF^PSOPMP0 SEL+12, SEL+20
$$STSINFO^PSOPMP1 INT+5
PENHDR^PSOPMP1 SEL+23
LOAD^PSOPMPPF LST+2
EOJ^PSORX1 EXIT+3
PTX^PSORX1 EXIT+3
DEM^VADPT PAT+4
KVA^VADPT EXIT+3
EN^VALM LST+4, PI+2, DD+1, LG+2
FULL^VALM1 LST+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7),!!,"Pharmacy Division Must be Selected!",!
  • Line Location: EN+5
Function Call: WRITE
  • Prompt: !,"Please wait..."
  • Line Location: LST+3
Routine Call
  • VALM
  • Line Location:
    • LST+4
    • PI+2
    • DD+1
    • LG+2
Routine Call
  • DIC
  • Line Location:
    • ACTIONS+2
    • ADPL+2
Routine Call
  • DIR
  • Line Location:
    • DIR+2

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ORD(101 - [#101] Classic Fileman Calls
^DPT - [#2] GET1^DIQ
^PSRX - [#52] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DISV( SEL+24*, ADPL+3, ADPL+5*
^PS(52.41 - [#52.41] SEL+22
^TMP("PSOAO" LG+1
^TMP("PSODA" EXIT+1!
^TMP("PSONVAVW" EXIT+1!
^TMP("PSOPI" PI+1
^TMP("PSOPMP0" INT+3, INT+4, SEL+6, SEL+7, EXIT+1!
^TMP("PSOPMPSR" EXIT+1!

Label References

Name Line Occurrences
$$ADPL SEL+22
DIR PAT+9
EXIT EN+5, PAT+2, LST+6
INIT SEL+15
INT SEL+9
LG SEL+17
LST PAT+13
PAT PAT+4, PAT+6, PAT+14

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT INIT+1~, INT+2*, INT+5*, INT+6
COPY SEL+14*, EXIT+2!
DA ACTIONS+2, EXIT+2!
DA(1 ACTIONS+2
DFN EN+2~, PAT+3*, PAT+6, PAT+10, PAT+13
DIC EN+2~, ACTIONS+1~, ACTIONS+2!*, ADPL+1~, ADPL+2*
DIC(0 ACTIONS+2*, ADPL+2*
DIR DIR+1~, DIR+2!
DIR("A" DIR+2*
DIR("B" DIR+2*
DIR(0 DIR+2*
DIRUT DIR+4!
DTOUT DIR+4!
DUOUT DIR+4!
DUZ LST+2, SEL+24, ADPL+3, ADPL+5
GRPLN EN+2~
HIGHLN EN+2~
LASTLINE EN+2~
LINE SEL+13~, SEL+21~, SEL+28~
NUM INIT+1~, INT+2*, INT+3*, INT+4
OLVAL ADPL+1~, ADPL+3*, ADPL+4
OLVLM SEL+21~, SEL+22*, SEL+24
OR0 SEL+21~, SEL+22*
ORD SEL+1~, SEL+7*, SEL+8, SEL+22, SEL+28
ORN SEL+14*, SEL+16, EXIT+2!
PRCT ADPL+1~, ADPL+3*, ADPL+4, ADPL+5, ADPL+6
PROACT SEL+13~
PSOACT SEL+16*, ACTIONS+4, EXIT+2!
PSOACTOV SEL+21~, SEL+22*
PSOCHNG EN+1~
PSOCNT INT+6*, EXIT+2!
PSODFN EN+2~, PAT+10*, LST~, SEL+23, SEL+28
PSOEXDCE EN+1~
PSOEXPDC EN+1~
PSOHRC EN+2~, EN+6*
PSOHRCF HDRF+1, HDRF+2!, EXIT+2!
PSOLIS SEL+1~, SEL+2*, SEL+4, SEL+5
PSOLST INT+1!
PSOLST( INT+5*, SEL+16
PSONEW EXIT+2!
>> PSOPAR EN+5
PSOPF LG+1*, EXIT+2!
>> PSOPTLK PAT+1
PSOQIT EN+2~, PAT+3*, PAT+6, DIR+3*
PSORDCNT EN+1~
PSORDER EN+1~
PSORDSEQ EN+1~
PSOSEL SEL+1~, SEL+5*, SEL+6, SEL+7, SEL+14
PSOSIGDP EN+1~
>> PSOSITE EN+5, PAT+13
PSOSRTBY EN+1~
PSOSTORD EN+1~
PSOSTSEQ EN+1~
PSOSTSGP EN+1~
RX INIT+1~, INT+4*, INT+5
SITE LST~, LST+2
STAT SEL+13~, SEL+16*
TITLE SEL+1~, SEL+3*, SEL+13~, SEL+21~, SEL+28~, SEL+30
TYP INIT+1~, INT+4*, INT+5
TYPE SEL+1~, SEL+6*, SEL+7, SEL+12, SEL+20, SEL+27
>> VA("PID" PAT+5, PAT+7
>> VADM(1 PAT+5, PAT+7
>> VADM(6 PAT+4, PAT+5
>> VALM("TITLE" SEL+3, SEL+30*
>> VALMBCK SEL+2*, SEL+12*, SEL+20*, SEL+30*, PI+3*
VALMCNT EN+2~, LG+1*
>> VALMHDR(1 HDR+1*
>> VALMHDR(2 HDR+2*
>> VALMSG SEL+2*, SEL+5*, SEL+6*, SEL+8*, SEL+16*
WARD EN+2~, PAT+6*, PAT+8
X ACTIONS+1~, ACTIONS+2*, ADPL+1~, ADPL+2*, DIR+1~
XQORM SEL+1~
>> XQORNOD(0 SEL+2
XX SEL+1~, SEL+4*, SEL+5
Y EN+2~, PAT+1*, PAT+2, PAT+3, SEL+14*, ACTIONS+1~, ACTIONS+2!, ACTIONS+3*, ACTIONS+4, ADPL+1~
, ADPL+2, ADPL+3, DIR+1~, DIR+3
Y(0 ACTIONS+3
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 |  Local Variables |  All