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

BGP6PARQ.m

Go to the documentation of this file.
  1. BGP6PARQ ; IHS/CMI/LAB - IHS gpra print ;
  1. ;;16.1;IHS CLINICAL REPORTING;;MAR 22, 2016;Build 170
  1. ;
  1. ;
  1. PRINT ;EP
  1. K ^TMP($J)
  1. S BGPIOSL=$S($G(BGPGUI):55,1:IOSL)
  1. S BGPGPG=0
  1. S BGPPTYPE="P"
  1. S ^TMP($J,"BGPDEL",0)=0
  1. S BGPQUIT=""
  1. D SETEXCEL^BGP6DP
  1. I BGPROT="D" G DEL
  1. D AREACP^BGP6DH
  1. S BGPQUIT="",BGPGPG=0,BGPRPT=0
  1. D PRINT1^BGP6DP
  1. Q:BGPQUIT
  1. Q:BGPROT="P"
  1. DEL ;create delimited output file
  1. S BGPQUIT="",BGPGPG=0,BGPRPT=0
  1. D ^%ZISC ;close printer device
  1. K ^TMP($J)
  1. S ^TMP($J,"BGPDEL",0)=0
  1. S BGPPTYPE="D"
  1. ;D ^BGP6PDL ;create ^tmp of delimited report
  1. D AREACP^BGP6DH
  1. S BGPQUIT="",BGPGPG=0,BGPRPT=0
  1. D PRINT1^BGP6DP
  1. D SAVEDEL^BGP6PDL ;D ^BGP6PDL ;create ^tmp of delimited report
  1. K ^TMP($J)
  1. Q
  1. ;