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

Package: IHS GPRA Information System

Routine: BGP9ELS


Information

BGP9ELS ; IHS/CMI/LAB - IHS gpra print ;

Source Information

Source file <BGP9ELS.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS Patient 1 $$HRN^AUPNPAT  
Kernel 1 $$FMTE^XLFDT  
VA Fileman 1 ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS GPRA Information System 1 BGP9DELP  

Entry Points

Name Comments DBIA/ICR reference
LOC() ;EP - Return location name from file 4 based on DUZ(2).
HEADER ;EP
CTR(X,Y) ;EP - Center X in a field Y wide.
H1 ;
START ;
USR() ;EP - Return name of current user from ^VA(200.
HEADER1 ;
GO
PRINTL ;print one line

External References

Name Field # of Occurrence
$$HRN^AUPNPAT PRINTL+6
^DIR HEADER+2
$$FMTE^XLFDT HEADER1+4, HEADER1+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,^BGPELIN(BGPL,72,X,0)
  • Line Location: PRINTL+3
Function Call: WRITE
  • Prompt: !,$E($P(^DPT(DFN,0),U),1,22),?24,$$HRN^AUPNPAT(DFN,DUZ(2)),?31,$E(BGPCOM,1,14),?46,BGPSEX,?49,BGPAGE
  • Line Location: PRINTL+6
Function Call: WRITE
  • Prompt: ?53,$P(^XTMP("BGP9D",BGPJ,BGPH,"LIST",BGPL,BGPCOM,BGPSEX,BGPAGE,DFN),"|||",1),?59,$P(^XTMP("BGP9D",BGPJ,BGPH,"LIST",BGPL,BGPCOM,BGPSEX,BGPAGE,DFN),"|||",2)
  • Line Location: PRINTL+7
Function Call: WRITE
  • Prompt: !
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: "ZZZZZZZ",!
  • Line Location: HEADER1+2
Function Call: WRITE
  • Prompt: !,"***** CONFIDENTIAL PATIENT INFORMATION, COVERED BY THE PRIVACY ACT *****"
  • Line Location: HEADER1+3
Function Call: WRITE
  • Prompt: !?3,$P(^VA(200,DUZ,0),U,2),?35,$$FMTE^XLFDT(DT),?70,"Page ",BGPGPG,!
  • Line Location: HEADER1+4
Function Call: WRITE
  • Prompt: !,$$CTR("*** IHS 2009 ELDER CARE Clinical Performance Report Patient List ***",80),!
  • Line Location: HEADER1+5
Function Call: WRITE
  • Prompt: $$CTR($P(^DIC(4,DUZ(2),0),U),80),!
  • Line Location: HEADER1+6
Function Call: WRITE
  • Prompt: $$CTR(X,80),!
  • Line Location: HEADER1+7
Function Call: WRITE
  • Prompt: $$CTR($S(BGPLIST="A":"Entire Patient List",BGPLIST="R":"Random Patient List",1:"Patient List by Provider: "_BGPLPROV),80),!
  • Line Location: HEADER1+8
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-")
  • Line Location: HEADER1+9
Function Call: WRITE
  • Prompt: !,"UP=User Pop; AC=Active Clinical; AD=Active Diabetic",!
  • Line Location: H1+1
Function Call: WRITE
  • Prompt: !,"PATIENT NAME",?24,"HRN",?31,"COMMUNITY",?45,"SEX",?49,"AGE",?53,"DENOM",?59,"NUMERATOR"
  • Line Location: H1+2
Function Call: WRITE
  • Prompt: !,$TR($J("",80)," ","-")
  • Line Location: H1+3
Routine Call
  • DIR
  • Line Location:
    • HEADER+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BGPELIN - [#90538.06] GO+1, GO+3, GO+4, GO+5, GO+7, GO+14, GO+15, GO+16, GO+18, GO+23
, GO+25, GO+26, GO+28, GO+29, GO+31, GO+32, GO+34, PRINTL+3
^DIC(4 - [#4] HEADER1+6, LOC+1
^DPT - [#2] PRINTL+6
^VA(200 - [#200] HEADER1+4, USR+1
^XTMP("BGP9D" GO+36, GO+37, GO+38, GO+39, PRINTL+7

Label References

Name Line Occurrences
$$CTR HEADER1+5, HEADER1+6, HEADER1+7, HEADER1+8
GO START+8, START+9, START+10
H1 GO+35, PRINTL+4
HEADER START+6, GO+6, GO+12, GO+17, GO+24, GO+27, GO+30, GO+33, GO+43, PRINTL+2
HEADER1 HEADER+1
PRINTL GO+39

Naked Globals

Name Field # of Occurrence
^(0 USR+1, LOC+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BGPAGE GO+38*, GO+39, PRINTL+6, PRINTL+7
>> BGPAREAA START+1
>> BGPBD HEADER1+7
>> BGPCNT START+7*, START+8*, START+9*, START+10*, START+11*, PRINTL+1
>> BGPCOM GO+36*, GO+37, GO+38, GO+39, PRINTL+6, PRINTL+7
>> BGPCOUNT START+3*, START+5*, GO+39*, PRINTL+1
>> BGPED HEADER1+7
>> BGPGPG START+3*, HEADER+1, HEADER1+1*, HEADER1+4
>> BGPGUI HEADER1+2
>> BGPH GO+36, GO+37, GO+38, GO+39, PRINTL+7
>> BGPIOSL GO+6, GO+12, GO+17, GO+24, GO+27, GO+30, GO+33, GO+43, PRINTL+2
>> BGPJ GO+36, GO+37, GO+38, GO+39, PRINTL+7
>> BGPL START+4*, START+7, GO+1, GO+3, GO+4, GO+5, GO+7, GO+14, GO+15, GO+16
, GO+18, GO+23, GO+25, GO+26, GO+28, GO+29, GO+31, GO+32, GO+34, GO+36
, GO+37, GO+38, GO+39, PRINTL+3, PRINTL+7
>> BGPLIST START+2, START+9, HEADER1+8
>> BGPLIST( START+4, START+7
>> BGPLPROV HEADER1+8
>> BGPPCNT START+5*, GO+44, PRINTL+5*
>> BGPQUIT START+3*, START+4, START+6, GO+3, GO+4, GO+5, GO+6, GO+12, GO+14, GO+15
, GO+16, GO+17, GO+24, GO+27, GO+30, GO+33, GO+36, GO+37, GO+38, GO+39
, GO+43, PRINTL+2, HEADER+2*
>> BGPSEX GO+37*, GO+38, GO+39, PRINTL+6, PRINTL+7
>> BGPX GO+3*, GO+4, GO+14*, GO+15, GO+23*, GO+25, GO+26*, GO+28, GO+29*, GO+31
, GO+32*, GO+34
>> BGPY GO+4*, GO+5, GO+7, GO+15*, GO+16, GO+18
>> BGPZ GO+5*, GO+7, GO+16*, GO+18
>> DFN GO+39*, PRINTL+6, PRINTL+7
DIR HEADER+2!
DIR(0 HEADER+2*
DT HEADER1+4
>> DTOUT HEADER+2
DUZ HEADER1+4, USR+1
DUZ(2 PRINTL+6, HEADER1+6, LOC+1
IO HEADER+2
IO(0 HEADER+2
IOF HEADER1+1
IOM CTR+1
IOST HEADER+2
U GO+1, PRINTL+6, HEADER1+4, HEADER1+6, USR+1, LOC+1
X PRINTL+3*, HEADER1+7*, CTR~, CTR+1
Y HEADER+2, CTR~, CTR+1
>> ZTQUEUED HEADER+2
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All