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

BGP4PARQ.m

Go to the documentation of this file.
BGP4PARQ ; IHS/CMI/LAB - IHS gpra print ;
 ;;14.1;IHS CLINICAL REPORTING;;MAY 29, 2014;Build 114
 ;
 ;
PRINT ;EP
 K ^TMP($J)
 S BGPIOSL=$S($G(BGPGUI):55,1:IOSL)
 S BGPGPG=0
 S BGPPTYPE="P"
 S ^TMP($J,"BGPDEL",0)=0
 S BGPQUIT=""
 D SETEXCEL^BGP4DP
 I BGPROT="D" G DEL
 D AREACP^BGP4DH
 S BGPQUIT="",BGPGPG=0,BGPRPT=0
 D PRINT1^BGP4DP
 Q:BGPQUIT
 Q:BGPROT="P"
DEL ;create delimited output file
 S BGPQUIT="",BGPGPG=0,BGPRPT=0
 D ^%ZISC ;close printer device
 K ^TMP($J)
 S ^TMP($J,"BGPDEL",0)=0
 S BGPPTYPE="D"
 ;D ^BGP4PDL ;create ^tmp of delimited report
 D AREACP^BGP4DH
 S BGPQUIT="",BGPGPG=0,BGPRPT=0
 D PRINT1^BGP4DP
 D SAVEDEL^BGP4PDL   ;D ^BGP4PDL ;create ^tmp of delimited report
 K ^TMP($J)
 Q
 ;