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

BGP1DPEF.m

Go to the documentation of this file.
BGP1DPEF ; IHS/CMI/LAB - IHS gpra print ;
 ;;11.1;IHS CLINICAL REPORTING SYSTEM;;JUN 27, 2011;Build 33
 ;
 ;
7 ;EP
 S X=""
 D S^BGP1DPED(" ",1,1) D S^BGP1DPED(" ",1,1) ;S X=$P(^BGPPEIB(BGPIC,0),U,2) D S^BGP1DPED(X,1,1)
 D H1^BGP1PDL1
 D S^BGP1DPED(" ",1,1)
 S BGPCYD=$$V^BGP1DPED(1,BGPRPT,11,19)
 S BGPPRD=$$V^BGP1DPED(2,BGPRPT,11,19)
 S BGPBLD=$$V^BGP1DPED(3,BGPRPT,11,19)
 I $G(BGPSEAT) S X=$P(^DIBT(BGPSEAT,0),U,1)_" Population w/ Pat Ed" D S^BGP1DPED(X,1,1)
 I '$G(BGPSEAT) S X="# User Pop w/ Pat Ed" D S^BGP1DPED(X,1,1)
 S Y=BGPCYD_"^^"_BGPPRD_"^^^"_BGPBLD D S^BGP1DPED(Y,,2)
 D S^BGP1DPED(" ",1,1)
 S X="Goal Setting" D S^BGP1DPED(X,1,1)
 S N=11,P=20 D SETN^BGP1DPED
 S X="# w/goal set" D S^BGP1DPED(X,1,1)
 D H2^BGP1PDL1
 S N=11,P=21 D SETN^BGP1DPED
 S X="# w/goal not set" D S^BGP1DPED(X,1,1)
 D H2^BGP1PDL1
 S N=11,P=22 D SETN^BGP1DPED
 S X="# w/goal met" D S^BGP1DPED(X,1,1)
 D H2^BGP1PDL1
 S N=11,P=23 D SETN^BGP1DPED
 S X="# w/goal not met" D S^BGP1DPED(X,1,1)
 D H2^BGP1PDL1
 Q