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

Package: IHS GPRA Information System

Routine: BGP9DNG


Information

BGP9DNG ; IHS/CMI/LAB - NATL COMP EXPORT 13 Nov 2006 12:31 PM ;

Source Information

Source file <BGP9DNG.m>

Call Graph

Call Graph Total: 18

Package Total Call Graph
IHS GPRA Information System 6 ^BGP9D1  ^BGP9DP  PT^BGP9DSL  ($$D,$$LZERO,$$RZERO,GS,REPORT)^BGP9UTL  $$GETDIR^BGP9UTL2  TAXCHK^BGP9XTCN  
Kernel 5 ^%ZIS  ^%ZISC  $$OPEN^%ZISH  ^%ZTLOAD  ($$FMTE,$$NOW)^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: 1

Package Total Caller Graph
IHS GPRA Information System 1 BGP9GNTL  

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 ;
CHW ;
INTRO ;
HWSF ;EP
NODEV1 ;
COMM ;

External References

Name Field # of Occurrence
^%ZIS ZIS+15
^%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
^BGP9D1 DRIVER+2, NODEV1+1
^BGP9DP DRIVER+4, NODEV1+2
PT^BGP9DSL SUM+11
$$D^BGP9UTL HWSF+10, HWSF1+2, CHW+13
$$LZERO^BGP9UTL HWSF+10
$$RZERO^BGP9UTL CHW+11
GS^BGP9UTL DRIVER+6, NODEV1+4
REPORT^BGP9UTL ZIS+1
$$GETDIR^BGP9UTL2 EISSEX+2
TAXCHK^BGP9XTCN INTRO+16
^DIC COMM+7, MFIC+11
^DIK ZIS+16, ZIS+17, ZIS+18
^DIR INTRO+13, COM1+16, EXPORT+2, EXPORT+15, ONEF+14, EOP+5, CHKY+2, F+6, B+6, CHW+8
^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
$$NOW^XLFDT CHW+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR("IHS 2009 National GPRA & PART Report",80)
  • Line Location: BGP9DNG+5
Function Call: WRITE
  • Prompt: !!,"This will produce a National GPRA & PART report."
  • Line Location: INTRO+2
Function Call: WRITE
  • Prompt: !,"You will be asked to provide the community taxonomy to determine which patients"
  • Line Location: INTRO+3
Function Call: WRITE
  • Prompt: !,"will be included. This report will be run for the Report Period July 1, 2008"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"through June 30, 2009 with a Baseline Year of July 1, 1999 through"
  • Line Location: INTRO+5
Function Call: WRITE
  • Prompt: !,"June 30, 2000. This report will include beneficiary population of "
  • Line Location: INTRO+6
Function Call: WRITE
  • Prompt: !,"American Indian/Alaska Native only.",!
  • Line Location: INTRO+7
Function Call: WRITE
  • Prompt: !!,"You can choose to export this data to the Area office. If you"
  • Line Location: INTRO+8
Function Call: WRITE
  • Prompt: !,"answer yes at the export prompt, a report will be produced in export format"
  • Line Location: INTRO+9
Function Call: WRITE
  • Prompt: !,"for the Area Office to use in Area aggregated data. Depending on site specific"
  • Line Location: INTRO+10
Function Call: WRITE
  • Prompt: !,"configuration, the export file will either be automatically transmitted "
  • Line Location: INTRO+11
Function Call: WRITE
  • Prompt: !,"directly to the Area or the site will have to send the file manually.",!
  • Line Location: INTRO+12
Function Call: WRITE
  • Prompt: !!,"for testing purposes only, please enter a report year",!
  • Line Location: TP+11
Function Call: WRITE
  • Prompt: !!,"no year entered..bye"
  • Line Location: TP+13
Function Call: WRITE
  • Prompt: !!,"for testing purposes only, please enter a BASELINE year",!
  • Line Location: TP+17
Function Call: WRITE
  • Prompt: !!,"no year entered..bye"
  • Line Location: TP+19
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+16
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+17
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+18
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. 2009"
  • 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
Function Call: WRITE
  • Prompt: !!,"Height and Weight data is contained in this report. Do you wish to create"
  • Line Location: CHW+1
Function Call: WRITE
  • Prompt: !,"a file of all the heights and weights in this file? You can use this file"
  • Line Location: CHW+2
Function Call: WRITE
  • Prompt: !,"to upload to another system like SAS or Microsoft ACCESS."
  • Line Location: CHW+3
Function Call: WRITE
  • Prompt: !,"WARNING: This file can be very large as it contains 1 record for each"
  • Line Location: CHW+4
Function Call: WRITE
  • Prompt: !,"height and weight taken on the patients in the active clinical population."
  • Line Location: CHW+5
Function Call: WRITE
  • Prompt: !,"This file may be too large for EXCEL. If you don't plan on using this"
  • Line Location: CHW+6
Function Call: WRITE
  • Prompt: !,"data for a study some kind, please answer NO to the next question.",!
  • Line Location: CHW+7
Routine Call
  • DIC
  • Line Location:
    • COMM+7
    • MFIC+11
Routine Call
  • DIR
  • Line Location:
    • INTRO+13
    • COM1+16
    • EXPORT+2
    • EXPORT+15
    • ONEF+14
    • EOP+5
    • CHKY+2
    • F+6
    • B+6
    • CHW+8
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ATXAX - [#9002226] Classic Fileman Calls
^BGPGPDCN - [#90536.03] Classic Fileman Calls
^BGPGPDPN - [#90536.04] Classic Fileman Calls
^BGPGPDBN - [#90536.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, CHW+13
^BGPCTRL - [#90241.01] TP+4
^BGPCTRL("B" TP+3
^BGPGPDCN - [#90536.03] HWSF+4, HWSF+16, HWSF+17, HWSF1+9, HWSF1+10
^BGPINDN("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 BGP9DNG+5, SUM+2
B TP+18
BEN SUM+12
CHW CHW+10
COMM COM1+5, MFIC+1, EXPORT+3
EXPORT CHW+9
F TP+12, F+10, B+10
HWSF DRIVER+8, NODEV1+6
HWSF1 HWSF+3
NODEV ZIS+14
NT TP+10
ONEF CHW+14
TSKMN ZIS+19
XIT INTRO+1, TP+1, TP+13, TP+19, COMM+8, COM1+11, EXPORT+4, EISSEX+3, ZIS+2, ZIS+3
, ZIS+14, ZIS+16, ZIS+17, ZIS+18, 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+14!, ZIS+15!*
A XIT+7!
B COMM+6*, MFIC+10*, XIT+7!
BD XIT+9!
>> BGP9RPTH TP+2*
>> BGPBBD TP+7*, TP+20*, NT+4, SUM+6
>> BGPBD TP+5*, TP+15*, NT+2, SUM+4, HWSF+10, HWSF1+2, CHW+13
>> BGPBED TP+7*, TP+20*, NT+4, SUM+6
>> BGPBEN BEN+1*
>> BGPBPER TP+19, TP+20, B+1*, B+11*
>> BGPC HWSF+15*, HWSF+16, HWSF+18*, HWSF1+8*, HWSF1+11*
>> BGPDELT ZIS+14, ZIS+15
>> BGPED TP+5*, TP+15*, NT+2, SUM+4, HWSF+10, HWSF1+2, CHW+13
>> 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, CHW+13*
>> BGPHOME HOME+1*
>> BGPHWNOW HWSF+10, HWSF1+2, CHW+11*, CHW+13
>> BGPIND( AI+1*
>> BGPINDT 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
>> BGPONEF ONEF+1*, ONEF+16*, HWSF+3, CHW+10
>> BGPPBD TP+6*, TP+16*, NT+3, SUM+5
>> BGPPED TP+6*, TP+16*, NT+3, SUM+5
>> BGPPER TP+8*, TP+13, TP+15, TP+16, F+1*, F+11*
>> BGPQTR TP+8*, TP+14*
BGPQUIT COM1+11, COM1+15*, COM1+17*, COM1+18*, MFIC!, ZIS+2
>> BGPROT SUM+12, ZIS+14
>> BGPRPT ZIS+3, ZIS+5, ZIS+16, ZIS+17, ZIS+18, 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, CHW+12
>> 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, CHW+10*
>> 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+16*, ZIS+17*, ZIS+18*, ONEF+14!, CHKY+2!, CHW+8!
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+16*!, ZIS+17*!, ZIS+18*!
DIR INTRO+13!, COM1+16!, EXPORT+2!, EXPORT+15!, ONEF+14!, XIT+3!, EOP+3~, EOP+4!, EOP+5!, CHKY+2!
, F+6!, B+6!, CHW+8!
DIR("?" F+5*, B+5*
DIR("A" INTRO+13*, COM1+16*, EXPORT+2*, EXPORT+15*, ONEF+14*, CHKY+2*, F+4*, B+4*, CHW+8*
DIR("B" EXPORT+15*, ONEF+14*, CHKY+2*, CHW+8*
DIR(0 INTRO+13*, COM1+16*, EXPORT+2*, EXPORT+15*, ONEF+14*, EOP+5*, CHKY+2*, F+3*, B+3*, CHW+8*
DIRUT COM1+17, EXPORT+3, ONEF+15, XIT+3!, EOP+4!, CHKY+3, F+7, F+8*, B+7, B+8*
, CHW+9
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, CHW+13
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+19
IO("S" EOP+2
>> IOCPU TSKMN+5
IOF BGP9DNG+4, SUM+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+14!, ZIS+15!
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+16, ZIS+17, ZIS+18
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, CHW+13
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, CHW+10
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, CHW+12
>> ZTREQ DRIVER+1*, 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