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

Package: IHS GPRA Information System

Routine: BGP7DNG8


Information

BGP7DNG8 ; IHS/CMI/LAB - NATL COMP EXPORT 13 Nov 2006 12:31 PM ; [ 02/21/2007 1:35 PM ]

Source Information

Source file <BGP7DNG8.m>

Call Graph

Call Graph Total: 18

Package Total Call Graph
IHS GPRA Information System 5 ^BGP7D1  ^BGP7DP  PT^BGP7DSL  ($$D,$$LZERO,$$RZERO,EXCELGS,GS,REPORT)^BGP7UTL  TAXCHK^BGP7XTCN  
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  
Registration 1 TERM^VALM0  

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

External References

Name Field # of Occurrence
^%ZIS ZIS+15
^%ZISC DRIVER+4, NODEV1+3, XIT+1, HWSF+20, HWSF1+12
$$OPEN^%ZISH HWSF+11, HWSF1+4
^%ZTLOAD TSKMN+5
KILL^AUPNPAT XIT+5, XIT+10
^BGP7D1 DRIVER+1, NODEV1+1
^BGP7DP DRIVER+3, NODEV1+2
PT^BGP7DSL SUM+11
$$D^BGP7UTL CHW+13, HWSF+10, HWSF1+2
$$LZERO^BGP7UTL HWSF+10
$$RZERO^BGP7UTL CHW+11
EXCELGS^BGP7UTL DRIVER+6, NODEV1+5
GS^BGP7UTL DRIVER+5, NODEV1+4
REPORT^BGP7UTL ZIS+1
TAXCHK^BGP7XTCN INTRO+14
^DIC COMM+7, MFIC+11
^DIK ZIS+16, ZIS+17, ZIS+18
^DIR INTRO+13, COM1+16, EXPORT+2, CHW+8, ONEF+14, EOP+5, CHKY+2, F+6, B+6
TERM^VALM0 BGP7DNG8+5
^XBDBQUE NODEV+2
^XBFMK COMM+4, MFIC+8, XIT+11
EN^XBVK XIT+2
$$FMTE^XLFDT TP+20, TP+21, TP+22, SUM+4, SUM+5, SUM+6
$$NOW^XLFDT CHW+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR("IHS 2007 National GPRA Report",80)
  • Line Location: BGP7DNG8+7
Function Call: WRITE
  • Prompt: !,$$CTR(X,80)
  • Line Location: BGP7DNG8+8
Function Call: WRITE
  • Prompt: !!,"This will produce a National GPRA 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 time period July 1, 2007"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"through June 30, 2008 with a baseline period 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: !!,"no year entered..bye"
  • Line Location: TP+6
Function Call: WRITE
  • Prompt: !!,"no year entered..bye"
  • Line Location: TP+12
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: TP+19
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: TP+20
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: TP+21
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: TP+22
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: !!,"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: !!,"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
Function Call: WRITE
  • Prompt: !,$$CTR("SUMMARY OF NATIONAL GPRA 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. 2007"
  • 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+13
    • COM1+16
    • EXPORT+2
    • CHW+8
    • ONEF+14
    • EOP+5
    • CHKY+2
    • F+6
    • B+6
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+15

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ATXAX - [#9002226] Classic Fileman Calls
^BGPGPDCA - [#90530.03] Classic Fileman Calls
^BGPGPDPA - [#90530.04] Classic Fileman Calls
^BGPGPDBA - [#90530.05] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("OS" EISSEX+3
^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] HOME+3, CHW+13, SUM+9, ZIS+5, HWSF+10, HWSF1+2
^AUTTSITE(1 EISSEX+3, EISSEX+4
^BGPGPDCA - [#90530.03] HWSF+4, HWSF+16, HWSF+17, HWSF1+9, HWSF1+10
^BGPINDA("GPRA" AI+1
^BGPSITE - [#90241.02] COMM+6, MFIC+1, MFIC+10, HOME+1, EXPORT+4
^DIC(4 - [#4] HOME+3, SUM+9, LOC+1
^VA(200 - [#200] USR+1

Label References

Name Line Occurrences
$$CTR BGP7DNG8+7, BGP7DNG8+8, SUM+2
AI HOME+2
BEN SUM+12
CHW CHW+10
COMM COM1+5, MFIC+1, EXPORT+3
F F+10, B+10
HWSF DRIVER+7, NODEV1+6
HWSF1 HWSF+3
NODEV ZIS+14
ONEF CHW+14
SUM CHW+9
TSKMN ZIS+19
XIT INTRO+1, TP+1, COM1+11, 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!
>> BGP7RPTH TP+2*
>> BGPBBD TP+16*, TP+22, SUM+6
>> BGPBD TP+15*, TP+20, CHW+13, SUM+4, HWSF+10, HWSF1+2
>> BGPBED TP+16*, TP+22, SUM+6
>> BGPBEN BEN+1*
>> BGPBPER B+1*, B+11*
>> BGPC HWSF+15*, HWSF+16, HWSF+18*, HWSF1+8*, HWSF1+11*
>> BGPDELT ZIS+14, ZIS+15
>> BGPED TP+15*, TP+20, CHW+13, SUM+4, HWSF+10, HWSF1+2
>> BGPEXCEL EISSEX+1*, DRIVER+6, NODEV1+5
>> BGPEXPT EXPORT+1*, EXPORT+4*, ZIS+4, DRIVER+5, NODEV1+4
>> BGPFN CHW+13*, ONEF+9, HWSF+10*, HWSF+11, HWSF1+2*, HWSF1+3, HWSF1+4
>> BGPHOME HOME+1*, HOME+2, HOME+3, SUM+9, SUM+10
>> BGPHWNOW CHW+11*, CHW+13, HWSF+10, HWSF1+2
>> 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 CHW+10, ONEF+1*, ONEF+16*, HWSF+3
>> BGPPBD TP+17*, TP+21, SUM+5
>> BGPPED TP+17*, TP+21, SUM+5
>> BGPPER TP+18*, F+1*, F+11*
>> BGPQTR TP+18*
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*, EISSEX+4*, CHW+12, 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*, CHW+10*, DRIVER+7, NODEV1+6
>> BGPZ HWSF+9*, HWSF+10, HWSF1+2*
C COM1+8*, COM1+9, XIT+7!
D XIT+7!
DA COM1+16!, EXPORT+2!, CHW+8!, ZIS+16*, ZIS+17*, ZIS+18*, 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+16*!, ZIS+17*!, ZIS+18*!
DIR INTRO+13!, COM1+16!, EXPORT+2!, CHW+8!, ONEF+14!, XIT+3!, EOP+3~, EOP+4!, EOP+5!, CHKY+2!
, F+6!, B+6!
DIR("?" F+5*, B+5*
DIR("A" INTRO+13*, COM1+16*, EXPORT+2*, CHW+8*, ONEF+14*, CHKY+2*, F+4*, B+4*
DIR("B" CHW+8*, ONEF+14*, CHKY+2*
DIR(0 INTRO+13*, COM1+16*, EXPORT+2*, CHW+8*, ONEF+14*, EOP+5*, CHKY+2*, F+3*, B+3*
DIRUT COM1+17, EXPORT+3, CHW+9, 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, CHW+13, 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+2, TSKMN+1, HWSF+13, HWSF1+3, HWSF1+6
IO("DOC" TSKMN+2
IO("Q" ZIS+19
IO("S" EOP+2
>> IOCPU TSKMN+5
IOF BGP7DNG8+4, SUM+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+14!, ZIS+15!
>> IORVOFF BGP7DNG8+6
>> IORVON BGP7DNG8+6
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 COMM+6, COM1+3, COM1+8, MFIC+1, MFIC+10, HOME+1, HOME+3, EXPORT+4, EISSEX+3, EISSEX+4
, CHW+13, SUM+7, SUM+8, SUM+9, ZIS+5, USR+1, LOC+1, HWSF+10, HWSF1+2
V XIT+7!
W XIT+7!
X BGP7DNG8+6*, BGP7DNG8+8, 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 COMM+8, COMM+9, COM1+18, MFIC+12, MFIC+13, EXPORT+4, CHW+10, 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 CHW+12, EOP+2, HWSF+1, HWSF+12, HWSF1+3, HWSF1+5
>> 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