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

BGP7PARP.m

Go to the documentation of this file.
BGP7PARP ; IHS/CMI/LAB - IHS gpra print ;
 ;;17.1;IHS CLINICAL REPORTING;;MAY 10, 2017;Build 29
 ;
 ;
PRINT ;EP
 I $G(BGPDASH) D AREA^BGP7DBPR Q
 K ^TMP($J)
 S BGPIOSL=$S($G(BGPGUI):55,1:IOSL)
 S BGPGPG=0
 S BGPQUIT=""
 S BGPIFTR=""
 S ^TMP($J,"BGPDEL",0)=0
 S BGPPTYPE="P"
 D SETEXCEL^BGP7DP
 I BGPROT="D" G DEL
 D AREACP^BGP7DH
 S BGPQUIT="",BGPGPG=0,BGPRPT=0
 D PRINT1^BGP7DP
 Q:BGPQUIT
 S BGPIFTR=1
 Q:BGPROT="P"
DEL ;create delimited output file
 S BGPQUIT="",BGPGPG=0,BGPRPT=0,BGPIFTR=""
 D ^%ZISC ;close printer device
 K ^TMP($J)
 ;D ^BGP7PDL ;create ^tmp of delimited report
 S ^TMP($J,"BGPDEL",0)=0
 S BGPPTYPE="D",BGPQUIT=0
 D AREACP^BGP7DH
 S BGPQUIT="",BGPGPG=0,BGPRPT=0
 D PRINT1^BGP7DP
 I '$G(BGPNODEL) D SAVEDEL^BGP7PDL   ;D ^BGP7PDL ;create ^tmp of delimited report
 S BGPIFTR=1
 K ^TMP($J)
 Q
 ;