Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: BGP1DPEQ

BGP1DPEQ.m

Go to the documentation of this file.
BGP1DPEQ ; IHS/CMI/LAB - IHS gpra print ;
 ;;11.1;IHS CLINICAL REPORTING SYSTEM;;JUN 27, 2011;Build 33
 ;
7 ;EP
 I $Y>(BGPIOSL-6) D HEADER^BGP1DPEP Q:BGPQUIT  W !,$P(^BGPPEIB(BGPIC,0),U,2)
 D H1^BGP1DPH
 S BGPCYD=$$V^BGP1DPEP(1,BGPRPT,11,19)
 S BGPPRD=$$V^BGP1DPEP(2,BGPRPT,11,19)
 S BGPBLD=$$V^BGP1DPEP(3,BGPRPT,11,19)
 I '$G(BGPSEAT) W !!,"# User Pop w/ Pat Ed"
 I $G(BGPSEAT) W !!,$P(^DIBT(BGPSEAT,0),U,1)," Population",!," w/ Pat Ed"
 W ?20,$$C^BGP1DPEP(BGPCYD,0,8),?35,$$C^BGP1DPEP(BGPPRD,0,8),?58,$$C^BGP1DPEP(BGPBLD,0,8),!
 W !,"Goal Setting"
 S N=11,P=20 D SETN^BGP1DPEP
 W !,"# w/goal set"
 D H2^BGP1DPH
 S N=11,P=21 D SETN^BGP1DPEP
 W !,"# w/goal not set"
 D H2^BGP1DPH
 S N=11,P=22 D SETN^BGP1DPEP
 W !,"# w/goal met"
 D H2^BGP1DPH
 S N=11,P=23 D SETN^BGP1DPEP
 W !,"# w/goal not met"
 D H2^BGP1DPH
 Q