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

Package: IHS GPRA Information System

Routine: BGP1DNG9


Information

BGP1DNG9 ; IHS/CMI/LAB - NATL COMP EXPORT 13 Nov 2006 12:31 PM 31 Jul 2011 11:21 AM 13 Aug 2011 5:44 PM ;

Source Information

Source file <BGP1DNG9.m>

Call Graph

Call Graph Total: 18

Package Total Call Graph
IHS GPRA Information System 6 ^BGP1D1  ^BGP1DP  PT^BGP1DSL  ($$D,$$LZERO,GS,REPORT)^BGP1UTL  $$GETDIR^BGP1UTL2  TAXCHK^BGP1XTCN  
Kernel 5 ^%ZIS  ^%ZISC  $$OPEN^%ZISH  ^%ZTLOAD  $$FMTE^XLFDT  
IHS VA Utilities 3 ^XBDBQUE  ^XBFMK  EN^XBVK  
VA Fileman 3 ^DIC  ^DIK  ^DIR  
IHS Patient 1 KILL^AUPNPAT  

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 ;
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
NT ;END TEST STUFF
HWSF1 ;EP
EISSEX ;
B ;fiscal year
ZIS ;call to XBDBQUE
ONEF ;
F ;fiscal year
AI ;gather all gpra measures
DRIVER ;
XIT ;
INTRO ;
HWSF ;EP
NODEV1 ;
COMM ;

External References

Name Field # of Occurrence
^%ZIS ZIS+8
^%ZISC DRIVER+5, NODEV1+3, XIT+1, HWSF+20, HWSF1+12
$$OPEN^%ZISH HWSF+11, HWSF1+4
^%ZTLOAD TSKMN+5
KILL^AUPNPAT XIT+5, XIT+10
^BGP1D1 DRIVER+2, NODEV1+1
^BGP1DP DRIVER+4, NODEV1+2
PT^BGP1DSL SUM+11
$$D^BGP1UTL HWSF+10, HWSF1+2
$$LZERO^BGP1UTL HWSF+10
GS^BGP1UTL DRIVER+6, NODEV1+4
REPORT^BGP1UTL ZIS+1
$$GETDIR^BGP1UTL2 EISSEX+2
TAXCHK^BGP1XTCN INTRO+16
^DIC COMM+7, MFIC+11
^DIK ZIS+9, ZIS+10, ZIS+11
^DIR INTRO+14, COM1+16, EXPORT+2, EXPORT+15, ONEF+14, EOP+5, CHKY+2, F+6, B+6
^XBDBQUE NODEV+2
^XBFMK COMM+4, MFIC+8, XIT+11
EN^XBVK XIT+2
$$FMTE^XLFDT NT+2, NT+3, NT+4, SUM+4, SUM+5, SUM+6

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR("IHS 2012 National GPRA & PART Report",80)
  • Line Location: BGP1DNG9+5
Function Call: WRITE
  • Prompt: !!,"This will produce a National GPRA & PART report for the 2012 GPRA year using"
  • Line Location: INTRO+2
Function Call: WRITE
  • Prompt: !,"the same performance measure definitions from CRS Version 10.0."
  • Line Location: INTRO+3
Function Call: WRITE
  • Prompt: !!,"You will be asked to provide the community taxonomy to determine which patients"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"will be included. This report will be run for the Report Period July 1, 2011"
  • Line Location: INTRO+5
Function Call: WRITE
  • Prompt: !,"through June 30, 2012 with a Baseline Year of July 1, 1999 through"
  • Line Location: INTRO+6
Function Call: WRITE
  • Prompt: !,"June 30, 2000. This report will include beneficiary population of "
  • Line Location: INTRO+7
Function Call: WRITE
  • Prompt: !,"American Indian/Alaska Native only.",!
  • Line Location: INTRO+8
Function Call: WRITE
  • Prompt: !!,"You can choose to export this data to the Area office. If you"
  • Line Location: INTRO+9
Function Call: WRITE
  • Prompt: !,"answer yes at the export prompt, a report will be produced in export format"
  • Line Location: INTRO+10
Function Call: WRITE
  • Prompt: !,"for the Area Office to use in Area aggregated data. Depending on site specific"
  • Line Location: INTRO+11
Function Call: WRITE
  • Prompt: !,"configuration, the export file will either be automatically transmitted "
  • Line Location: INTRO+12
Function Call: WRITE
  • Prompt: !,"directly to the Area or the site will have to send the file manually.",!
  • Line Location: INTRO+13
Function Call: WRITE
  • Prompt: !!,"for testing purposes only, please enter a report year",!
  • Line Location: TP+16
Function Call: WRITE
  • Prompt: !!,"no year entered..bye"
  • Line Location: TP+18
Function Call: WRITE
  • Prompt: !!,"for testing purposes only, please enter a BASELINE year",!
  • Line Location: TP+22
Function Call: WRITE
  • Prompt: !!,"no year entered..bye"
  • Line Location: TP+24
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: NT+1
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: NT+2
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: NT+3
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: NT+4
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+1
Function Call: WRITE
  • Prompt: !!,"There are no communities in that taxonomy."
  • Line Location: COM1+5
Function Call: WRITE
  • Prompt: !!,"*** Warning: Community ",C," is in the taxonomy but was not",!,"found in the standard community table."
  • Line Location: COM1+9
Function Call: WRITE
  • Prompt: !!!,"Cannot find export or pub directory. Notify your IT staff."
  • Line Location: EISSEX+3
Function Call: WRITE
  • Prompt: !,$$CTR("SUMMARY OF NATIONAL GPRA & PART REPORT TO BE GENERATED")
  • Line Location: SUM+2
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: SUM+3
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: SUM+4
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: SUM+5
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: SUM+6
Function Call: WRITE
  • Prompt: !!,"The COMMUNITY Taxonomy to be used is: ",$P(^ATXAX(BGPTAXI,0),U)
  • Line Location: SUM+7
Function Call: WRITE
  • Prompt: !!,"The MFI Location Taxonomy to be used is: ",$P(^ATXAX(BGPMFITI,0),U)
  • Line Location: SUM+8
Function Call: WRITE
  • Prompt: !,"The HOME location is: ",$P(^DIC(4,BGPHOME,0),U)," ",$P(^AUTTLOC(BGPHOME,0),U,10)
  • Line Location: SUM+9
Function Call: WRITE
  • Prompt: !,"No HOME Location selected."
  • Line Location: SUM+10
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+9
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+10
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+11
Function Call: WRITE
  • Prompt: !!!,"A Height/Weight Export file will be created. You can choose"
  • Line Location: ONEF+2
Function Call: WRITE
  • Prompt: !,"to create one file of data or multiple files of data. If you are"
  • Line Location: ONEF+3
Function Call: WRITE
  • Prompt: !,"planning to review this data using Microsoft Excel please keep in"
  • Line Location: ONEF+4
Function Call: WRITE
  • Prompt: !,"mind that Excel can only handle 65,536 records per file. If you"
  • Line Location: ONEF+5
Function Call: WRITE
  • Prompt: !,"expect that your site has more than 65,536 records you will need"
  • Line Location: ONEF+6
Function Call: WRITE
  • Prompt: !,"to create multiple files in order to use this data in Excel. If"
  • Line Location: ONEF+7
Function Call: WRITE
  • Prompt: !,"you choose to create one file it will be called:"
  • Line Location: ONEF+8
Function Call: WRITE
  • Prompt: !?5,BGPFN,!?5,"and will reside in the ",BGPUF," directory."
  • Line Location: ONEF+9
Function Call: WRITE
  • Prompt: !,"If you have multiple files generated they will all have the"
  • Line Location: ONEF+10
Function Call: WRITE
  • Prompt: !,"same name with the last 10 characters of the filename being"
  • Line Location: ONEF+11
Function Call: WRITE
  • Prompt: !,"the number of files (e.g. 001_of_003)."
  • Line Location: ONEF+12
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 year for the report. Use a 4 digit ",!,"year, e.g. 2011"
  • Line Location: F+2
Function Call: WRITE
  • Prompt: !!,"Please enter a year only!",!
  • Line Location: F+10
Function Call: WRITE
  • Prompt: !!,"Enter the BASELINE year for the report. Use a 4 digit ",!,"year, e.g. 2000"
  • Line Location: B+2
Function Call: WRITE
  • Prompt: !!,"Please enter a year only!",!
  • Line Location: B+10
Function Call: WRITE
  • Prompt: !!,"Writing out Ht/Wt file...."
  • Line Location: HWSF+1
Function Call: WRITE
  • Prompt: !?10,BGPFN
  • Line Location: HWSF1+3
Function Call: WRITE
  • Prompt: "SERVICE UNIT^ASUFAC^UNIQUE DB ID^DATE RUN^BEG DATE^END DATE^PATIENT UID^DOB^TRIBE CODE^GENDER^STATE OF RESIDENCE^UNIQUE VISIT ID^DATE OF VISIT^TIME OF VISIT^HT CM^WT KG",!
  • Line Location: HWSF1+7
Routine Call
  • DIC
  • Line Location:
    • COMM+7
    • MFIC+11
Routine Call
  • DIR
  • Line Location:
    • INTRO+14
    • COM1+16
    • EXPORT+2
    • EXPORT+15
    • ONEF+14
    • EOP+5
    • CHKY+2
    • F+6
    • B+6
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+8

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ATXAX - [#9002226] Classic Fileman Calls
^BGPGPDCB - [#90545.03] Classic Fileman Calls
^BGPGPDPB - [#90545.04] Classic Fileman Calls
^BGPGPDBB - [#90545.05] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] COMM+6, COM1+2, COM1+3, COM1+7, COM1+8, MFIC+10, SUM+7, SUM+8
^AUTTCOM("B" COM1+9
^AUTTLOC - [#9999999.06] ZIS+5, HWSF+10, HWSF1+2
^BGPCTRL - [#90241.01] TP+4
^BGPCTRL("B" TP+3
^BGPGPDCB - [#90545.03] HWSF+4, HWSF+16, HWSF+17, HWSF1+9, HWSF1+10
^BGPINDB("GPRA" AI+1
^BGPSITE - [#90241.02] COMM+6, MFIC+1, MFIC+10, HOME+1, EXPORT+4
^DIC(4 - [#4] LOC+1
^VA(200 - [#200] USR+1

Label References

Name Line Occurrences
$$CTR BGP1DNG9+5, SUM+2
B TP+23
BEN SUM+12
COMM COM1+5, MFIC+1, EXPORT+3
F TP+17, F+10, B+10
HWSF DRIVER+8, NODEV1+6
HWSF1 HWSF+3
NODEV ZIS+7
NT TP+15
TSKMN ZIS+12
XIT INTRO+1, TP+1, TP+18, TP+24, COMM+8, COM1+11, EXPORT+4, EISSEX+3, ZIS+2, ZIS+3
, ZIS+7, ZIS+9, ZIS+10, ZIS+11, NODEV1+7, 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+7!, ZIS+8!*
A XIT+7!
B COMM+6*, MFIC+10*, XIT+7!
BD XIT+9!
>> BGP1RPTH TP+2*
>> BGPBBD TP+7*, TP+25*, NT+4, SUM+6
>> BGPBD TP+5*, TP+10*, TP+20*, NT+2, SUM+4, HWSF+10, HWSF1+2
>> BGPBED TP+7*, TP+25*, NT+4, SUM+6
>> BGPBEN BEN+1*
>> BGPBPER TP+24, TP+25, B+1*, B+11*
>> BGPC HWSF+15*, HWSF+16, HWSF+18*, HWSF1+8*, HWSF1+11*
>> BGPDELT ZIS+7, ZIS+8
>> BGPED TP+5*, TP+10*, TP+20*, NT+2, SUM+4, HWSF+10, HWSF1+2
>> BGPEXCEL EISSEX+1*
>> BGPEXPT EXPORT+1*, EXPORT+4*, ZIS+4, DRIVER+6, NODEV1+4
>> BGPFN ONEF+9, HWSF+10*, HWSF+11, HWSF1+2*, HWSF1+3, HWSF1+4
>> BGPHOME HOME+1*
>> BGPHWNOW HWSF+10, HWSF1+2
>> BGPIND( AI+1*
>> BGPINDB AI+2*
>> BGPLX HWSF+8*, HWSF+15, HWSF+19*
BGPMFIT MFIC+6!
>> BGPMFITI MFIC+1, MFIC+2*, MFIC+7*, MFIC+13*, SUM+8
>> BGPNF HWSF+6*, HWSF+7*, HWSF+9, HWSF+10
>> BGPNF1 HWSF+5*, HWSF+6
>> BGPNGR09 TP+13*
>> BGPONEF ONEF+1*, ONEF+16*, HWSF+3
>> BGPPBD TP+6*, TP+11*, TP+21*, NT+3, SUM+5
>> BGPPED TP+6*, TP+11*, TP+21*, NT+3, SUM+5
>> BGPPER TP+8*, TP+12*, TP+18, TP+20, TP+21, F+1*, F+11*
>> BGPQTR TP+8*, TP+19*
BGPQUIT COM1+11, COM1+15*, COM1+17*, COM1+18*, MFIC!, ZIS+2
>> BGPROT SUM+12, ZIS+7
>> BGPRPT ZIS+3, ZIS+5, ZIS+9, ZIS+10, ZIS+11, HWSF+4, HWSF+16, HWSF+17, HWSF1+9, HWSF1+10
>> BGPRTYPE TP+2*
BGPTAX COMM+2!, COM1+5
BGPTAX( COM1+3*
>> BGPTAXI COMM+3*, COMM+9*, COM1+2, COM1+3, COM1+7, COM1+8, SUM+7
>> BGPTOT HWSF+4*, HWSF+5
>> BGPUF EISSEX+2*, EISSEX+3, ZIS+5, ONEF+9, HWSF+11, HWSF1+4
>> BGPVDT F+1*, F+9*, F+11, B+1*, B+9*, B+11
>> BGPX HWSF+4*, HWSF+8*, HWSF+15*, HWSF+16*, HWSF+17, HWSF+19, HWSF1+8*, HWSF1+9*, HWSF1+10
>> BGPYWCHW EXPORT+1*, EXPORT+4*, DRIVER+8, NODEV1+6
>> BGPZ HWSF+9*, HWSF+10, HWSF1+2*
C COM1+8*, COM1+9, XIT+7!
D XIT+7!
DA COM1+16!, EXPORT+2!, EXPORT+15!, ZIS+9*, ZIS+10*, ZIS+11*, ONEF+14!, CHKY+2!
DFOUT EOP+4!
DIADD XIT+4!
DIC COMM+5*, COMM+7!, MFIC+9*
DIC("A" COMM+5*, MFIC+9*
DIC("B" COMM+6*, MFIC+10*
DIC("S" COMM+5*, MFIC+9*
DIC(0 COMM+5*, MFIC+9*
DIK ZIS+9*!, ZIS+10*!, ZIS+11*!
DIR INTRO+14!, COM1+16!, EXPORT+2!, EXPORT+15!, ONEF+14!, XIT+3!, EOP+3~, EOP+4!, EOP+5!, CHKY+2!
, F+6!, B+6!
DIR("?" F+5*, B+5*
DIR("A" INTRO+14*, COM1+16*, EXPORT+2*, EXPORT+15*, ONEF+14*, CHKY+2*, F+4*, B+4*
DIR("B" EXPORT+15*, ONEF+14*, CHKY+2*
DIR(0 INTRO+14*, COM1+16*, EXPORT+2*, EXPORT+15*, ONEF+14*, EOP+5*, CHKY+2*, F+3*, B+3*
DIRUT COM1+17, EXPORT+3, ONEF+15, XIT+3!, EOP+4!, CHKY+3, F+7, F+8*, B+7, B+8*
DLAYGO XIT+4!
DLOUT EOP+4!
DOD XIT+3!
DTOUT EOP+4!
DUOUT XIT+3!, EOP+4!, F+8, B+8
DUZ USR+1
DUZ(2 COMM+6, MFIC+1, MFIC+10, HOME+1, EXPORT+4, ZIS+5, LOC+1, HWSF+10, HWSF1+2
E XIT+7!
ED XIT+9!
F XIT+7!
G COM1+6*, COM1+9*, COM1+11, XIT+7!
H XIT+7!
I XIT+7!
IO DRIVER+3, TSKMN+1, HWSF+13, HWSF1+3, HWSF1+6
IO("DOC" TSKMN+2
IO("Q" ZIS+12
IO("S" EOP+2
>> IOCPU TSKMN+5
IOF BGP1DNG9+4, SUM+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+7!, ZIS+8!
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+9, ZIS+10, ZIS+11
Q XIT+7!
R XIT+7!
S XIT+7!
T XIT+7!
U TP+5, TP+6, TP+7, TP+8, COMM+6, COM1+3, COM1+8, MFIC+1, MFIC+10, HOME+1
, EXPORT+4, SUM+7, SUM+8, ZIS+5, USR+1, LOC+1, HWSF+10, HWSF1+2
V XIT+7!
W XIT+7!
X TP+3*, TP+4, COM1+1*, COM1+2*, COM1+3, COM1+6*, COM1+7*, COM1+8, AI+1*, XIT+6!
, XIT+7!, CTR~, CTR+1
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 TP+4*, TP+5, TP+6, TP+7, TP+8, COMM+8, COMM+9, COM1+18, MFIC+12, MFIC+13
, EXPORT+4, ONEF+16, XIT+7!, CTR~, CTR+1, CHKY+3*, F+9, F+10, B+9, B+10
, HWSF+11*, HWSF+12, HWSF1+4*, HWSF1+5
Z XIT+7!
>> ZTCPU TSKMN+5*
>> ZTDESC TSKMN+5*
>> ZTDTH TSKMN+5*
>> ZTIO TSKMN+1*, TSKMN+2*, TSKMN+3*
>> ZTQUEUED DRIVER+1, XIT+2, EOP+2, HWSF+1, HWSF+12, HWSF1+3, HWSF1+5
>> ZTREQ DRIVER+1*, XIT+2*
>> ZTRTN TSKMN+5*
ZTSAVE TSKMN+4!
ZTSAVE("BGP*" TSKMN+4*
Info |  Source |  Call 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