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

Package: IHS GPRA Information System

Routine: BGP4DGPU


Information

BGP4DGPU ; IHS/CMI/LAB - IHS AREA CLIN 05 REPORT DRIVER ;

Source Information

Source file <BGP4DGPU.m>

Call Graph

Call Graph Total: 20

Package Total Call Graph
IHS GPRA Information System 9 $$RPTVER^BGP4BAN  ^BGP4D1  ^BGP4D10  ^BGP4DP  (PT,TEXT)^BGP4DSL  PAUSE^BGP4DU  (GS,REPORT)^BGP4UTL  ($$DEMOCHK,$$GETDIR)^BGP4UTL2  
TAXCHK^BGP4XTCN  
Kernel 4 ^%ZIS  ^%ZISC  ^%ZTLOAD  ($$FMADD,$$FMTE)^XLFDT  
IHS VA Utilities 3 ^XBDBQUE  ^XBFMK  EN^XBVK  
VA Fileman 3 ^DIC  ^DIK  ^DIR  
IHS Patient 1 KILL^AUPNPAT  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS GPRA Information System 3 BGP4DAP  BGP4DL  BGP4DPP  

Entry Points

Name Comments DBIA/ICR reference
BEN ;
CHKY ;
SUM ;display summary of this report
USR() ;EP - Return name of current user from ^VA(200.
EOP ;EP - End of page.
EXPORT ;export to area or not?
TSKMN ;EP ENTRY POINT FROM TASKMAN
HOME ;
BY ;get baseline year
DP ;
NODEV ;
LOC() ;EP - Return location name from file 4 based on DUZ(2).
COM1
CTR(X,Y) ;EP - Center X in a field Y wide.
TP ;get time period
MFIC
EISSEX ;
ENDDATE ;EP
ZIS ;call to XBDBQUE
F ;calendar year
AI ;gather all gpra measures
DRIVER ;
XIT ;
ST ;
INTRO ;
NODEV1 ;
COMM ;

External References

Name Field # of Occurrence
^%ZIS ZIS+10
^%ZISC DRIVER+5, NODEV1+4, XIT+1
^%ZTLOAD TSKMN+5
KILL^AUPNPAT XIT+5, XIT+10
$$RPTVER^BGP4BAN SUM+3
^BGP4D1 DRIVER+1, NODEV1+1
^BGP4D10 DRIVER+2, NODEV1+2
^BGP4DP DRIVER+4, NODEV1+3
PT^BGP4DSL SUM+15
TEXT^BGP4DSL SUM+13
PAUSE^BGP4DU INTRO+16, EISSEX+5
GS^BGP4UTL DRIVER+6, NODEV1+5
REPORT^BGP4UTL ZIS+1
$$DEMOCHK^BGP4UTL2 INTRO+15
$$GETDIR^BGP4UTL2 EISSEX+2
TAXCHK^BGP4XTCN INTRO+14
^DIC ST+7, DP+7, COMM+8, MFIC+11
^DIK ZIS+11, ZIS+12, ZIS+13
^DIR INTRO+12, ST+2, DP+3, TP+4, TP+18, BY+5, COM1+12, BEN+7, EXPORT+4, EOP+5
, CHKY+2, F+6, ENDDATE+8
^XBDBQUE NODEV+2
^XBFMK COMM+5, MFIC+8, XIT+11
EN^XBVK XIT+2
$$FMADD^XLFDT TP+14
$$FMTE^XLFDT TP+16, BY+17, BY+18, BY+19, SUM+5, SUM+6, SUM+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR("IHS GPRA/GPRAMA Performance Report for a User Selected Date Range",80)
  • Line Location: BGP4DGPU+5
Function Call: WRITE
  • Prompt: !!,"This will produce a National GPRA/GPRAMA report for a year period you specify."
  • Line Location: INTRO+2
Function Call: WRITE
  • Prompt: !!,"You will be asked to provide: 1) the reporting period, 2) the baseline"
  • Line Location: INTRO+3
Function Call: WRITE
  • Prompt: !,"period to compare data to, 3) the Community taxonomy and 4) the patient"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"population (i.e. AI/AN only, non AI/AN, or both) to determine which"
  • Line Location: INTRO+5
Function Call: WRITE
  • Prompt: !,"patients will be included."
  • Line Location: INTRO+6
Function Call: WRITE
  • Prompt: !!,"You can choose to export this data to the Area office. If you"
  • Line Location: INTRO+7
Function Call: WRITE
  • Prompt: !,"answer yes at the export prompt, a report will be produced in export format"
  • Line Location: INTRO+8
Function Call: WRITE
  • Prompt: !,"for the Area Office to use in Area aggregated data. Depending on site specific"
  • Line Location: INTRO+9
Function Call: WRITE
  • Prompt: !,"configuration, the export file will either be automatically transmitted "
  • Line Location: INTRO+10
Function Call: WRITE
  • Prompt: !,"directly to the Area or the site will have to send the file manually.",!
  • Line Location: INTRO+11
Function Call: WRITE
  • Prompt: !!,"Exiting Report....."
  • Line Location: INTRO+16
Function Call: WRITE
  • Prompt: !!
  • Line Location: ST+1
Function Call: WRITE
  • Prompt: !!,"Please enter the search template name. The template will contain a",!,"panel of patients defined by the user.",!
  • Line Location: ST+6
Function Call: WRITE
  • Prompt: !!
  • Line Location: DP+6
Function Call: WRITE
  • Prompt: !!,"provider is required, use an '^' to exit."
  • Line Location: DP+9
Function Call: WRITE
  • Prompt: !,"Year not entered.",!
  • Line Location: TP+9
Function Call: WRITE
  • Prompt: !!,"Enter the Baseline Year to compare data to.",!,"Use a 4 digit year, e.g. 1999, 2000"
  • Line Location: BY+2
Function Call: WRITE
  • Prompt: !!,"Please enter a year only!",!
  • Line Location: BY+9
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: BY+16
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: BY+17
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: BY+18
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: BY+19
Function Call: WRITE
  • Prompt: !!,"Specify the community taxonomy to determine which patients will be",!,"included in the report. You should have created this taxonomy using QMAN.",!
  • Line Location: COMM+2
Function Call: WRITE
  • Prompt: !!,"There are no communities in that taxonomy."
  • Line Location: COM1+4
Function Call: WRITE
  • Prompt: !!,"*** Warning: Community ",C," is in the taxonomy but does not",!,"exist in the community table. Please recreate your community taxonomy."
  • Line Location: COM1+8
Function Call: WRITE
  • Prompt: !!,"The community taxonomy may not be accurate."
  • Line Location: COM1+10
Function Call: WRITE
  • Prompt: !!,"Home Location not found in Site File!!",!,"PHN Visits counts to Home will be calculated using clinic 11 only!!"
  • Line Location: HOME+2
Function Call: WRITE
  • Prompt: !,"Your HOME location is defined as: ",$P(^DIC(4,BGPHOME,0),U)," asufac: ",$P(^AUTTLOC(BGPHOME,0),U,10)
  • Line Location: HOME+3
Function Call: WRITE
  • Prompt: !
  • Line Location: EXPORT+4
Function Call: WRITE
  • Prompt: !,$$CTR("SUMMARY OF IHS GPRA/GPRAMA PERFORMANCE REPORT TO BE GENERATED")
  • Line Location: SUM+2
Function Call: WRITE
  • Prompt: !,$$CTR($$RPTVER^BGP4BAN,80)
  • Line Location: SUM+3
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: SUM+4
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: SUM+5
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: SUM+6
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: SUM+7
Function Call: WRITE
  • Prompt: !!,"The COMMUNITY Taxonomy to be used is: ",$P(^ATXAX(BGPTAXI,0),U)
  • Line Location: SUM+8
Function Call: WRITE
  • Prompt: !,"The Beneficiary Population is: ",BGPBENF
  • Line Location: SUM+9
Function Call: WRITE
  • Prompt: !!,"The Patient Population is: ",$P(^DIBT(BGPSEAT,0),U,1)
  • Line Location: SUM+10
Function Call: WRITE
  • Prompt: !,"The HOME location is: ",$P(^DIC(4,BGPHOME,0),U)," ",$P(^AUTTLOC(BGPHOME,0),U,10)
  • Line Location: SUM+11
Function Call: WRITE
  • Prompt: !,"No HOME Location selected."
  • Line Location: SUM+12
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+11
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+12
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+13
Function Call: WRITE
  • Prompt: !!,"The baseline year and the previous year time periods are the same.",!!
  • Line Location: CHKY+1
Function Call: WRITE
  • Prompt: !!,"Enter the Calendar Year for the report END date. Use a 4 digit",!,"year, e.g. 2014"
  • Line Location: F+2
Function Call: WRITE
  • Prompt: !!,"Please enter a year only!",!
  • Line Location: F+10
Function Call: WRITE
  • Prompt: !!,"When entering dates, if you do not enter a full 4 digit year (e.g. 2014)"
  • Line Location: ENDDATE+1
Function Call: WRITE
  • Prompt: !,"will assume a year in the past, if you want to put in a future date,"
  • Line Location: ENDDATE+2
Function Call: WRITE
  • Prompt: !,"remember to enter the full 4 digit year. For example, if today is"
  • Line Location: ENDDATE+3
Function Call: WRITE
  • Prompt: !,"January 4, 2010 and you type in 6/30/05 the system will assume the year"
  • Line Location: ENDDATE+4
Function Call: WRITE
  • Prompt: !,"as 1905 since that is a date in the past. You must type 6/30/2010 if you"
  • Line Location: ENDDATE+5
Function Call: WRITE
  • Prompt: !,"want a date in the future."
  • Line Location: ENDDATE+6
Function Call: WRITE
  • Prompt: !
  • Line Location: ENDDATE+8
Routine Call
  • DIC
  • Line Location:
    • ST+7
    • DP+7
    • COMM+8
    • MFIC+11
Routine Call
  • DIR
  • Line Location:
    • INTRO+12
    • ST+2
    • DP+3
    • TP+4
    • TP+18
    • BY+5
    • COM1+12
    • BEN+7
    • EXPORT+4
    • EOP+5
    • CHKY+2
    • F+6
    • ENDDATE+8
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] Classic Fileman Calls
^ATXAX - [#9002226] Classic Fileman Calls
^BGPGPDCJ - [#90552.03] Classic Fileman Calls
^BGPGPDPJ - [#90552.04] Classic Fileman Calls
^BGPGPDBJ - [#90552.05] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] COMM+7, COM1+1, COM1+2, COM1+6, COM1+7, MFIC+10, SUM+8
^AUTTCOM("B" COM1+8
^AUTTLOC - [#9999999.06] HOME+3, SUM+11, ZIS+5
^BGPINDJ("GPRA" BEN+1, AI+1
^BGPSITE - [#90241.02] COMM+7, MFIC+1, MFIC+10, HOME+1
^DIBT( SUM+10
^DIC(4 - [#4] HOME+3, SUM+11, LOC+1
^VA(200 - [#200] USR+1

Label References

Name Line Occurrences
$$CTR BGP4DGPU+5, SUM+2, SUM+3
AI HOME+2
BEN EXPORT+5, SUM+14, SUM+16
BY BY+9, BY+20
CHKY BY+20
COMM COM1+4, MFIC+1, BEN+8
DP ST+4, DP+9
EISSEX EXPORT+2, EXPORT+3
ENDDATE TP+7
F TP+8, F+10
HOME BEN+3
MFIC COMM+1
NODEV ZIS+9
ST DP+4
TP DP+5, TP+9, TP+15, BY+6, BY+7
TSKMN ZIS+14
XIT INTRO+1, INTRO+16, INTRO+17, ST+3, ST+8, DP+8, TP+5, COM1+10, EISSEX+5, ZIS+2
, ZIS+3, ZIS+9, ZIS+11, ZIS+12, ZIS+13, DRIVER+7, NODEV1+6, TSKMN+5

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS ZIS+9!, ZIS+10!*
A XIT+7!
B COMM+7*, MFIC+10*, XIT+7!
BD XIT+9!
BGPBBD BY+12*, BY+19, BY+20!, SUM+7
>> BGPBD TP+3*, TP+10*, TP+11*, TP+12*, TP+13*, TP+14*, TP+16, BY+12, BY+14, BY+17
, SUM+5
BGPBED BY+13*, BY+19, BY+20!, SUM+7
>> BGPBEN ST+9*, BEN+4*, BEN+9*
>> BGPBENF BEN+9*, SUM+9
>> BGPDELT ZIS+9, ZIS+10
>> BGPDESGP DP+2*, DP+10*, EXPORT+2
>> BGPDO TP+15, TP+18*, TP+19*, TP+20*
>> BGPED TP+3*, TP+10*, TP+11*, TP+12*, TP+13*, TP+14*, TP+15, TP+16, BY+13, BY+15
, BY+17, SUM+5
>> BGPEXCEL EISSEX+1*, ZIS+7
>> BGPEXPT EXPORT+1*, EXPORT+6*, EISSEX+5, ZIS+4, ZIS+7, DRIVER+6, NODEV1+5
>> BGPFN ZIS+8
>> BGPHOME HOME+1*, HOME+2, HOME+3, SUM+11, SUM+12
>> BGPIND( BEN+1*, AI+1*
>> BGPINDJ BEN+2*, AI+2*
BGPMFIT MFIC+6!
>> BGPMFITI MFIC+1, MFIC+2*, MFIC+7*, MFIC+13*
BGPPBD BY+14*, BY+18, BY+20!, SUM+6
BGPPED BY+15*, BY+18, BY+20!, SUM+6
>> BGPPER TP+9, TP+10, TP+11, TP+12, TP+13, TP+14*, BY+10, F+1*, F+11*, ENDDATE+7*
, ENDDATE+10*
>> BGPQTR TP+6*, TP+7, TP+8, TP+10, TP+11, TP+12, TP+13, TP+14
BGPQUIT COM1+10, COM1+11*, COM1+13*, COM1+14*, MFIC!, ZIS+2
>> BGPROT SUM+16, ZIS+9
>> BGPRPT ZIS+3, ZIS+5, ZIS+11, ZIS+12, ZIS+13
>> BGPRTYPE TP+1*
>> BGPSEAT ST+9*, COMM+1, BEN+3, EXPORT+3, SUM+8, SUM+9, SUM+10, DRIVER+1, DRIVER+2, NODEV1+1
, NODEV1+2
BGPTAX COMM+3!, COM1+4
BGPTAX( COM1+2*
>> BGPTAXI COMM+4*, COMM+10*, COM1+1, COM1+2, COM1+6, COM1+7, SUM+8
>> BGPTP TP+3*
>> BGPUF EISSEX+2*, EISSEX+5, ZIS+5, ZIS+8
>> BGPVDT BY+1*, BY+8*, BY+10, F+1*, F+9*, F+11, ENDDATE+7*, ENDDATE+10*
>> BGPYGPU INTRO+13*, TP+1*
>> BGPYRPTH TP+1*
C COM1+7*, COM1+8, XIT+7!
D XIT+7!
DA ST+2!, ST+7!, DP+3!, DP+7!, TP+4!, TP+18!, COM1+12!, BEN+7!, EXPORT+4!, ZIS+11*
, ZIS+12*, ZIS+13*, CHKY+2!
DFOUT EOP+4!
DIADD XIT+4!
DIC ST+7*!, DP+7*!, COMM+6*, MFIC+9*
DIC("A" ST+7*, DP+7*, COMM+6*, MFIC+9*
DIC("B" COMM+7*, MFIC+10*
DIC("S" ST+7*, COMM+6*, MFIC+9*
DIC(0 ST+7*, DP+7*, COMM+6*, MFIC+9*
DICR ST+7!
DIK ZIS+11*!, ZIS+12*!, ZIS+13*!
DIR INTRO+12!, ST+2!, DP+1!, DP+3!, TP+4!, TP+18!, BY+5!, COM1+12!, BEN+7!, EXPORT+4!
, XIT+3!, EOP+3~, EOP+4!, EOP+5!, CHKY+2!, F+6!, ENDDATE+8!
DIR("?" F+5*
DIR("A" INTRO+12*, ST+2*, DP+3*, TP+4*, TP+18*, BY+4*, COM1+12*, BEN+6*, EXPORT+4*, CHKY+2*
, F+4*, ENDDATE+8*
DIR("B" ST+2*, DP+3*, TP+18*, BEN+7*, CHKY+2*
DIR(0 INTRO+12*, ST+2*, DP+3*, TP+4*, TP+18*, BY+3*, COM1+12*, BEN+5*, EXPORT+4*, EOP+5*
, CHKY+2*, F+3*, ENDDATE+8*
DIRUT ST+3, DP+4, TP+5, TP+19, BY+6, BY+7*, COM1+13, BEN+8, EXPORT+5, SUM+14
, XIT+3!, EOP+4!, CHKY+3, F+7, F+8*, ENDDATE+8*, ENDDATE+9
DLAYGO XIT+4!
DLOUT EOP+4!
DOD XIT+3!
DR ST+7!
DT TP+15
DTOUT EOP+4!
DUOUT BY+7, XIT+3!, EOP+4!, F+8, ENDDATE+8
DUZ USR+1
DUZ(2 COMM+7, MFIC+1, MFIC+10, HOME+1, ZIS+5, LOC+1
E XIT+7!
ED XIT+9!
F XIT+7!
G COM1+5*, COM1+8*, COM1+10, XIT+7!
H XIT+7!
I XIT+7!
IO DRIVER+3, TSKMN+1
IO("DOC" TSKMN+2
IO("Q" ZIS+14
IO("S" EOP+2
>> IOCPU TSKMN+5
IOF BGP4DGPU+4, SUM+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+9!, ZIS+10!
IOSL TSKMN+3
IOST TSKMN+1, EOP+1
>> IOT EOP+2
J XIT+7!
K XIT+7!
L XIT+7!
M XIT+7!
N XIT+7!, XIT+8!
N1 XIT+8!
N2 XIT+8!
N3 XIT+8!
N4 XIT+8!
N5 XIT+8!
N6 XIT+8!
O XIT+7!
P XIT+7!
>> POP ZIS+11, ZIS+12, ZIS+13
Q XIT+7!
R XIT+7!
S XIT+7!
T XIT+7!
U COMM+7, COM1+2, COM1+7, MFIC+1, MFIC+10, HOME+1, HOME+3, SUM+8, SUM+10, SUM+11
, ZIS+5, USR+1, LOC+1
V XIT+7!
W XIT+7!
X INTRO+15*, INTRO+16, DP+8, BY+10*, BY+11*, BY+12, BY+13, COM1*, COM1+1*, COM1+2
, COM1+5*, COM1+6*, COM1+7, BEN+1*, AI+1*, XIT+6!, XIT+7!, CTR~, CTR+1, ENDDATE+8!
X1 XIT+6!
X2 XIT+6!
X3 XIT+6!
X4 XIT+6!
X5 XIT+6!
X6 XIT+6!
>> XBNS NODEV+1*
>> XBRC NODEV+1*
>> XBRP NODEV+1*
>> XBRX NODEV+1*
Y ST+4, ST+8, ST+9, DP+5, DP+9, DP+10, TP+6, TP+20, BY+8, BY+9
, BY+20!, COMM+9, COMM+10, COM1+14, MFIC+12, MFIC+13, BEN+9, EXPORT+6, XIT+7!, CTR~
, CTR+1, CHKY+3*, F+9, F+10, ENDDATE+8!, ENDDATE+10
Y(0 BEN+9
Z XIT+7!
>> ZTCPU TSKMN+5*
>> ZTDESC TSKMN+5*
>> ZTDTH TSKMN+5*
>> ZTIO TSKMN+1*, TSKMN+2*, TSKMN+3*
>> ZTQUEUED EISSEX+5, XIT+2, EOP+2
>> ZTREQ XIT+2*
>> ZTRTN TSKMN+5*
ZTSAVE TSKMN+4!
ZTSAVE("BGP*" TSKMN+4*
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 |  Naked Globals |  Local Variables |  All