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

BGP2PPEL.m

Go to the documentation of this file.
  1. BGP2PPEL ; IHS/CMI/LAB - IHS gpra print ;
  1. ;;12.1;IHS CLINICAL REPORTING;;MAY 17, 2012;Build 66
  1. ;
  1. ;
  1. PRINT ;EP
  1. S BGPGPG=0
  1. S BGPIOSL=$S($G(BGPGUI):55,1:IOSL)
  1. S BGPQUIT=""
  1. S ^TMP($J,"BGPDEL",0)=0
  1. I BGPROT="D" G DEL
  1. S BGPPTYPE="P"
  1. D AREACP^BGP2DH
  1. S BGPQUIT="",BGPGPG=0,BGPRPT=0
  1. D PRINT1^BGP2DPEP
  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 BGPPTYPE="D"
  1. D ^BGP2DPED ;create ^tmp of delimited report
  1. Q
  1. ;