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

Package: IHS GPRA Information System

Routine: BGP0NPL


Information

BGP0NPL ; IHS/CMI/LAB - national patient list 20 Dec 2004 9:24 AM 30 Jun 2009 5:21 PM ;

Source Information

Source file <BGP0NPL.m>

Call Graph

Call Graph Total: 20

Package Total Call Graph
IHS GPRA Information System 8 $$RPTVER^BGP0BAN  ^BGP0D1  ^BGP0DP  EN^BGP0DSI  (PT,RT)^BGP0DSL  REPORT^BGP0UTL  TAXCHK^BGP0XTCN  TAXCHK^BGP0XTCO  
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  
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.
TSKMN ;EP ENTRY POINT FROM TASKMAN
HOME ;
BY ;get baseline year
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
TP1
TPNON ;get time period
MFIC
ENDDATE ;
ZIS ;call to XBDBQUE
F ;calendar year
COMM ;
DRIVER ;
NONNPL ;EP
XIT ;
SI1 ;NOW SELECT ONE OR MORE W/IN THE TOPIC
INTRONON ;
SI ;
INTRO ;
NODEV1 ;

External References

Name Field # of Occurrence
^%ZIS ZIS+5
^%ZISC DRIVER+4, NODEV1+3, XIT+1
^%ZTLOAD TSKMN+5
KILL^AUPNPAT XIT+5, XIT+10
$$RPTVER^BGP0BAN BGP0NPL+7, SUM+4, NONNPL+3
^BGP0D1 DRIVER+1, NODEV1+1
^BGP0DP DRIVER+3, NODEV1+2
EN^BGP0DSI SI+3
PT^BGP0DSL SUM+14
RT^BGP0DSL SI1+20
REPORT^BGP0UTL ZIS+1
TAXCHK^BGP0XTCN INTRO+14
TAXCHK^BGP0XTCO INTRONON+14
^DIC COMM+7, MFIC+11
^DIK ZIS+6, ZIS+7, ZIS+8
^DIR INTRO+11, INTRO+13, SI1+14, TP1+1, TP1+15, BY+5, COM1+16, BEN+3, EOP+5, CHKY+2
, F+6, ENDDATE+8, INTRONON+11, INTRONON+13
TERM^VALM0 SI1+2
^XBDBQUE NODEV+2
^XBFMK COMM+4, MFIC+8, XIT+11
EN^XBVK XIT+2
$$FMADD^XLFDT TP1+11
$$FMTE^XLFDT TP1+13, BY+17, BY+18, BY+19, SUM+6, SUM+7, SUM+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$$CTR("IHS GPRA & PART Performance Report Patient List",80)
  • Line Location: BGP0NPL+6
Function Call: WRITE
  • Prompt: !,$$CTR($$RPTVER^BGP0BAN,80)
  • Line Location: BGP0NPL+7
Function Call: WRITE
  • Prompt: !!,"This will produce a list of patients who either met or did not meet a National"
  • Line Location: INTRO+2
Function Call: WRITE
  • Prompt: !,"GPRA & PART Report performance measure or a list of both those patients"
  • Line Location: INTRO+3
Function Call: WRITE
  • Prompt: !,"who met and those who did not meet a National GPRA & PART Report performance"
  • Line Location: INTRO+4
Function Call: WRITE
  • Prompt: !,"measure. You will be asked to select one or more performance measure"
  • Line Location: INTRO+5
Function Call: WRITE
  • Prompt: !,"topics and then choose which performance measure numerators you "
  • Line Location: INTRO+6
Function Call: WRITE
  • Prompt: !,"would like to report on.",!!
  • Line Location: INTRO+7
Function Call: WRITE
  • Prompt: !,"You will also be asked to provide the community taxonomy to determine"
  • Line Location: INTRO+8
Function Call: WRITE
  • Prompt: !,"which patients will be included, the beneficiary population of the"
  • Line Location: INTRO+9
Function Call: WRITE
  • Prompt: !,"patients, and the Report Period and Baseline Year."
  • Line Location: INTRO+10
Function Call: WRITE
  • Prompt: !!,"You do not have the security access to print patient lists.",!,"Please see your supervisor or program manager if you feel you should have",!,"the BGPZ PATIENT LISTS security key.",!
  • Line Location: INTRO+12
Function Call: WRITE
  • Prompt: !!,"No measures selected."
  • Line Location: SI+4
Function Call: WRITE
  • Prompt: !?5,BGPC,")",?9,$P(^BGPNPLT(X,0),U,3)
  • Line Location: SI1+12
Function Call: WRITE
  • Prompt: !,"No REPORTS selected for this topic."
  • Line Location: SI1+15
Function Call: WRITE
  • Prompt: !,"No REPORTs selected for this topic."
  • Line Location: SI1+16
Function Call: WRITE
  • Prompt: !,"Year not entered.",!
  • Line Location: TP1+6
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+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: !,$$CTR("SUMMARY OF "_$S(BGPRTYPE=7:"OTHER ",1:"")_"NATIONAL GPRA REPORT TO BE GENERATED")
  • Line Location: SUM+2
Function Call: WRITE
  • Prompt: !,$$CTR("SUMMARY OF NATIONAL GPRA & PART REPORT TO BE GENERATED")
  • Line Location: SUM+3
Function Call: WRITE
  • Prompt: !,$$CTR($$RPTVER^BGP0BAN,80)
  • Line Location: SUM+4
Function Call: WRITE
  • Prompt: !!,"The date ranges for this report are:"
  • Line Location: SUM+5
Function Call: WRITE
  • Prompt: !?5,"Report Period: ",?31,$$FMTE^XLFDT(BGPBD)," to ",?31,$$FMTE^XLFDT(BGPED)
  • Line Location: SUM+6
Function Call: WRITE
  • Prompt: !?5,"Previous Year Period: ",?31,$$FMTE^XLFDT(BGPPBD)," to ",?31,$$FMTE^XLFDT(BGPPED)
  • Line Location: SUM+7
Function Call: WRITE
  • Prompt: !?5,"Baseline Period: ",?31,$$FMTE^XLFDT(BGPBBD)," to ",?31,$$FMTE^XLFDT(BGPBED)
  • Line Location: SUM+8
Function Call: WRITE
  • Prompt: !!,"The COMMUNITY Taxonomy to be used is: ",$P(^ATXAX(BGPTAXI,0),U)
  • Line Location: SUM+9
Function Call: WRITE
  • Prompt: !!,"The MFI Location Taxonomy to be used is: ",$P(^ATXAX(BGPMFITI,0),U)
  • 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+6
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+7
Function Call: WRITE
  • Prompt: !,"Report Aborted"
  • Line Location: ZIS+8
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. 2010"
  • 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. 2010)"
  • 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, 2009 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/2008 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
Function Call: WRITE
  • Prompt: !,$$CTR("IHS Other National Measures Performance Report Patient List",80)
  • Line Location: NONNPL+2
Function Call: WRITE
  • Prompt: !,$$CTR($$RPTVER^BGP0BAN,80)
  • Line Location: NONNPL+3
Function Call: WRITE
  • Prompt: !!,"This will produce a list of patients who either met or did not meet"
  • Line Location: INTRONON+2
Function Call: WRITE
  • Prompt: !,"an Other National Measures Report performance measure or a list of"
  • Line Location: INTRONON+3
Function Call: WRITE
  • Prompt: !,"both those patients who met and those who did not meet an Other National "
  • Line Location: INTRONON+4
Function Call: WRITE
  • Prompt: !,"Measures Report performance measure. You will be asked to select one or "
  • Line Location: INTRONON+5
Function Call: WRITE
  • Prompt: !,"more performance measure topics and then choose which performance "
  • Line Location: INTRONON+6
Function Call: WRITE
  • Prompt: !,"measure numerators you would like to report on."
  • Line Location: INTRONON+7
Function Call: WRITE
  • Prompt: !!,"You will also be asked to provide the community taxonomy to determine"
  • Line Location: INTRONON+8
Function Call: WRITE
  • Prompt: !,"which patients will be included, the beneficiary population of the"
  • Line Location: INTRONON+9
Function Call: WRITE
  • Prompt: !,"patients, and the Report Period and Baseline Year."
  • Line Location: INTRONON+10
Function Call: WRITE
  • Prompt: !!,"You do not have the security access to print patient lists.",!,"Please see your supervisor or program manager if you feel you should have",!,"the BGPZ PATIENT LISTS security key.",!
  • Line Location: INTRONON+12
Routine Call
  • DIC
  • Line Location:
    • COMM+7
    • MFIC+11
Routine Call
  • DIR
  • Line Location:
    • INTRO+11
    • INTRO+13
    • SI1+14
    • TP1+1
    • TP1+15
    • BY+5
    • COM1+16
    • BEN+3
    • EOP+5
    • CHKY+2
    • F+6
    • ENDDATE+8
    • INTRONON+11
    • INTRONON+13
Routine Call
  • %ZIS
  • Line Location:
    • ZIS+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ATXAX - [#9002226] Classic Fileman Calls
^BGPGPDCT - [#90377.03] Classic Fileman Calls
^BGPGPDPT - [#90377.04] Classic Fileman Calls
^BGPGPDBT - [#90377.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+9, SUM+10
^AUTTCOM("B" COM1+9
^BGPINDT - [#90377.01] SI1+11
^BGPNPLT - [#90377.06] SI1+5, SI1+6, SI1+12
^BGPSITE - [#90241.02] COMM+6, MFIC+1, MFIC+10, HOME+1
^DIC(4 - [#4] LOC+1
^VA(200 - [#200] USR+1
^XUSEC("BGPZ PATIENT LISTS" INTRO+12, INTRONON+12

Label References

Name Line Occurrences
$$CTR BGP0NPL+6, BGP0NPL+7, SUM+2, SUM+3, SUM+4, NONNPL+2, NONNPL+3
BY BY+9, BY+20, COMM+8
CHKY BY+20
COMM COM1+5, MFIC+1, MFIC+12, BEN+4, SUM+15
ENDDATE TP1+4
F TP1+5, F+10
NODEV ZIS+4
SI SI1+19, SI1+20, TP1+2, TPNON+3
TP1 TP1+6, TP1+12, BY+6, BY+7
TSKMN ZIS+9
XIT INTRO+1, TP+1, SI+4, COM1+11, ZIS+2, ZIS+3, ZIS+4, ZIS+6, ZIS+7, ZIS+8
, DRIVER+5, NODEV1+4, TSKMN+5, INTRONON+1, TPNON+1

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+4!, ZIS+5!*
A XIT+7!
B COMM+6*, MFIC+10*, XIT+7!
BD XIT+9!
>> BGP0GPU TP+2*, TPNON+2*
>> BGP0RPTH TP+2*, TPNON+2*
>> BGPANS SI1+17*
BGPBBD BY+12*, BY+19, BY+20!, SUM+8
>> BGPBD TP1*, TP1+7*, TP1+8*, TP1+9*, TP1+10*, TP1+11*, TP1+13, BY+12, BY+14, BY+17
, SUM+6
BGPBED BY+13*, BY+19, BY+20!, SUM+8
>> BGPBEN BEN+1*, BEN+5*
>> BGPBENF BEN+5*
>> BGPC SI1+5*, SI1+9*, SI1+12*, SI1+13, SI1+17*
>> BGPCR SI1+4*, SI1+5, SI1+6
>> BGPDELT ZIS+4, ZIS+5
>> BGPDO TP1+12, TP1+15*, TP1+16*, TP1+17*
>> BGPED TP1*, TP1+7*, TP1+8*, TP1+9*, TP1+10*, TP1+11*, TP1+12, TP1+13, BY+13, BY+15
, BY+17, SUM+6
>> BGPHOME HOME+1*
>> BGPI SI1+17*
BGPIND SI+2!, SI+4, SI1+3*, SI1+5, SI1+6, SI1+11, SI1+17
BGPIND( SI1+3
BGPINDL SI1+1!
BGPINDL( SI1+17*
>> BGPINDT TP+2*, TPNON+2*
BGPLIST SI1+1!, SI1+20
BGPMFIT MFIC+6!
>> BGPMFITI MFIC+1, MFIC+2*, MFIC+7*, MFIC+13*, SUM+10
>> BGPNPL TP+2*, TPNON+2*
>> BGPO SI1+5*, SI1+6, SI1+9, SI1+12*
>> BGPONMR TPNON+2*
BGPPBD BY+14*, BY+18, BY+20!, SUM+7
BGPPED BY+15*, BY+18, BY+20!, SUM+7
>> BGPPER TP1+6, TP1+7, TP1+8, TP1+9, TP1+10, TP1+11*, BY+10, F+1*, F+11*, ENDDATE+7*
, ENDDATE+10*
>> BGPQ SI1+1*, SI1+3
>> BGPQTR TP1+3*, TP1+4, TP1+5, TP1+7, TP1+8, TP1+9, TP1+10, TP1+11
BGPQUIT SI1+20!, COM1+11, COM1+15*, COM1+17*, COM1+18*, MFIC!, ZIS+2
>> BGPROT SUM+15, ZIS+4
>> BGPRPT ZIS+3, ZIS+6, ZIS+7, ZIS+8
>> BGPRTC TPNON+2*
>> BGPRTYPE TP+2*, SI1+4, SUM+2, SUM+3, TPNON+2*
BGPTAX COMM+2!, COM1+5
BGPTAX( COM1+3*
>> BGPTAXI COMM+3*, COMM+9*, COM1+2, COM1+3, COM1+7, COM1+8, SUM+9
>> BGPTP TP1*
>> BGPVDT BY+1*, BY+8*, BY+10, F+1*, F+9*, F+11, ENDDATE+7*, ENDDATE+10*
BGPX SI1+1!, SI1+5!
BGPX( SI1+9*, SI1+12
BGPY SI1+1!, SI1+12!
BGPY( SI1+12*, SI1+17
C COM1+8*, COM1+9, XIT+7!
D XIT+7!
DA TP1+1!, TP1+15!, COM1+16!, BEN+3!, ZIS+6*, ZIS+7*, ZIS+8*, CHKY+2!
DFOUT EOP+4!
DIADD XIT+4!
>> DIC COMM+5*, 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+6*!, ZIS+7*!, ZIS+8*!
DIR INTRO+11!, INTRO+13!, SI1+14!, TP1+1!, TP1+15!, BY+5!, COM1+16!, BEN+3!, XIT+3!, EOP+3~
, EOP+4!, EOP+5!, CHKY+2!, F+6!, ENDDATE+8!, INTRONON+11!, INTRONON+13!
DIR("?" F+5*
DIR("A" INTRO+11*, INTRO+13*, SI1+13*, TP1+1*, TP1+15*, BY+4*, COM1+16*, BEN+2*, CHKY+2*, F+4*
, ENDDATE+8*, INTRONON+11*, INTRONON+13*
DIR("B" TP1+15*, BEN+3*, CHKY+2*
DIR(0 INTRO+11*, INTRO+13*, SI1+13*, TP1+1*, TP1+15*, BY+3*, COM1+16*, BEN+2*, EOP+5*, CHKY+2*
, F+3*, ENDDATE+8*, INTRONON+11*, INTRONON+13*
DIRUT SI+1!, SI1+3, SI1+5, SI1+12, SI1+14*, SI1+16, SI1+19, TP1+2, TP1+16, BY+6
, BY+7*, COM1+17, BEN+4, XIT+3!, EOP+4!, CHKY+3, F+7, F+8*, ENDDATE+8*, ENDDATE+9
DLAYGO XIT+4!
DLOUT EOP+4!
DOD XIT+3!
DT TP1+12
DTOUT EOP+4!
DUOUT SI1+14, BY+7, XIT+3!, EOP+4!, F+8, ENDDATE+8
DUZ INTRO+12, USR+1, INTRONON+12
DUZ(2 COMM+6, MFIC+1, MFIC+10, HOME+1, LOC+1
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
IO("DOC" TSKMN+2
IO("Q" ZIS+9
IO("S" EOP+2
>> IOCPU TSKMN+5
IOF BGP0NPL+5, SUM+1, NONNPL+1
IOM TSKMN+3, CTR+1
ION TSKMN+1
IOP ZIS+4!, ZIS+5!
>> IORVOFF SI1+11
>> IORVON SI1+11
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+6, ZIS+7, ZIS+8
Q XIT+7!
R XIT+7!
S XIT+7!
T XIT+7!
U SI1+11, SI1+12, COMM+6, COM1+3, COM1+8, MFIC+1, MFIC+10, HOME+1, SUM+9, SUM+10
, USR+1, LOC+1
V XIT+7!
W XIT+7!
X SI1+5*, SI1+6*, SI1+9, SI1+12*, BY+10*, BY+11*, BY+12, BY+13, COM1+1*, COM1+2*
, COM1+3, COM1+6*, COM1+7*, COM1+8, 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 SI1+15, SI1+17, TP1+3, TP1+17, BY+8, BY+9, BY+20!, COMM+8, COMM+9, COM1+18
, MFIC+12, MFIC+13, BEN+5, XIT+7!, CTR~, CTR+1, CHKY+3*, F+9, F+10, ENDDATE+8!
, ENDDATE+10
Y(0 BEN+5
Z XIT+7!
>> ZTCPU TSKMN+5*
>> ZTDESC TSKMN+5*
>> ZTDTH TSKMN+5*
>> ZTIO TSKMN+1*, TSKMN+2*, TSKMN+3*
>> ZTQUEUED EOP+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