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

BMCFACE.m

Go to the documentation of this file.
BMCFACE ; IHS/PHXAO/TMJ - print face sheet ffrom screenman ;
 ;;4.0;REFERRED CARE INFO SYSTEM;;JAN 09, 2006
 ;
START ;
 K BMCQUIT
 W:$D(IOF) @IOF
 D DIR
 G:$D(BMCQUIT) XIT
 S DFN=BMCDFN
 D ZIS
 D XIT
 D REFRESH
 Q
DIR ;call to XBDBQUE
 NEW DDS,DIR0,DA,DIE
 K BMCOPT
 W ! S DIR(0)="S^P:PRINT Output;B:BROWSE Output on Screen",DIR("A")="Do you wish to",DIR("B")="P" K DA D ^DIR K DIR
 I $D(DIRUT) S BMCQUIT="" Q
 S BMCOPT=Y
 Q
ZIS ;
 NEW DDS,DIR0,DA,DIE
 I $G(BMCOPT)="B" D BROWSE Q
 S XBRP="START^AGFACE",XBRC="PROC^BMCFACE",XBRX="XIT^BMCFACE",XBNS="DFN"
 D ^XBDBQUE
 Q
BROWSE ;
 S XBRP="VIEWR^XBLM(""START^AGFACE"")"
 S XBRC="PROC^BMCFACE",XBRX="XIT^BMCFACE",XBIOP=0 D ^XBDBQUE
 Q
XIT ;
 K AGOPT
 Q
REFRESH ;
 S X=0 X ^%ZOSF("RM")
 W $P(DDGLVID,DDGLDEL,8)
 D REFRESH^DDSUTL
PROC ;
 Q