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

BGP9DP1E.m

Go to the documentation of this file.
  1. BGP9DP1E ; IHS/CMI/LAB - print ind 1 21 Mar 2008 12:55 PM 01 Jul 2008 11:40 AM ;
  1. ;;9.0;IHS CLINICAL REPORTING;;JUL 1, 2009
  1. ;
  1. SETDEV ;EP
  1. I $P($G(^BGPINDNC(BGPPC,22)),U),'$G(BGPNOSUM) D
  1. .S ^TMP($J,"SUMMARY DEVEL",$P(^BGPSCAT($P(^BGPINDNC(BGPPC,22),U,5),0),U,2),$P(^BGPINDNC(BGPPC,22),U,6),BGPPC)=BGPCYP_U_BGPPRP_U_BGPBLP
  1. .I $G(BGPAREAA) D ;SDPX
  1. ..S X=0 F S X=$O(BGPSDPD(X)) Q:X'=+X D ;SDPX
  1. ...S A=$P(^BGPSCAT($P(^BGPINDNC(BGPPC,22),U,5),0),U,2)
  1. ...S B=$P(^BGPINDNC(BGPPC,22),U,6)
  1. ...S ^TMP($J,"SUMMARY DETAIL PAGE DEVEL",$P(^BGPSCAT($P(^BGPINDNC(BGPPC,22),U,5),0),U,2),$P(^BGPINDNC(BGPPC,22),U,6),BGPPC,X)=$P($G(BGPSDPD(X,1)),U,3)_U_$P($G(BGPSDPD(X,2)),U,3)_U_$P($G(BGPSDPD(X,3)),U,3)_U_$J(BGPCYP,5,1)
  1. I $P($G(^BGPINDNC(BGPPC,22)),U),'$G(BGPNOSUM) D
  1. .S ^TMP($J,"SUMMARYDEL DEVEL",$P(^BGPSCAT($P(^BGPINDNC(BGPPC,22),U,5),0),U,2),$P(^BGPINDNC(BGPPC,22),U,6),BGPPC)=$$SB^BGP9DP1C($J(BGPCYP,5,1))_U_$$SB^BGP9DP1C($J(BGPPRP,5,1))_U_$$SB^BGP9DP1C($J(BGPBLP,5,1))
  1. .I $G(BGPAREAA) D ;SDPX
  1. ..S X=0 F S X=$O(BGPSDPD(X)) Q:X'=+X D ;SDPX
  1. ...S A=$P(^BGPSCAT($P(^BGPINDNC(BGPPC,22),U,5),0),U,2)
  1. ...S B=$P(^BGPINDNC(BGPPC,22),U,6)
  1. ...S ^TMP($J,"SUMMARYDEL DETAIL PAGE DEVEL",A,B,BGPPC,X)=$$SB^BGP9DP1C($J($P($G(BGPSDPD(X,1)),U,3),5,1))_U_$$SB^BGP9DP1C($J($P($G(BGPSDPD(X,2)),U,3),5,1))_U_$$SB^BGP9DP1C($J($P($G(BGPSDPD(X,3)),U,3),5,1))_U_$$SB^BGP9DP1C($J(BGPCYP,5,1))
  1. Q