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

BDPFMC.m

Go to the documentation of this file.
BDPFMC ; IHS/CMI/TMJ - BDP FILEMAN CALLS ;
 ;;2.0;IHS PCC SUITE;;MAY 14, 2009
 ;
DIC ; EP - CALL ^DIC
 NEW BDPRNS
 S BDPRNS=1
 D ^DIC
 K D,DD,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DIPGM,DLAYGO,DO,DQ,DR,DINUM
 Q
 ;
DIE ; EP - CALL ^DIE
 NEW BDPRNS
 S BDPRNS=1
 NEW BDPDA
 S BDPDA=DA
 I DIE S DIE=^DIC(DIE,0,"GL")
 L +@(DIE_BDPDA_")"):5 I '$T W:'$G(BDPQUIET) !,"Sorry, someone else is editing this record.  Try later." Q
 D ^DIE
 L -@(DIE_BDPDA_")")
 K D,D0,D1,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 K:'$G(BDPKPDA) DA
 K BDPKPDA
 Q
DIK ; EP - CALL ^DIK
 NEW BDPRNS
 S BDPRNS=1
 D ^DIK
 K DIK
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
DIQ ; EP - CALL ^DIQ
 D EN^DIQ
 K DIQ,DIQ2
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
DIQ1 ; EP - CALL ^DIQ1
 D EN^DIQ1
 K DIQ,DIQ2
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
FILE ; EP - CALL FILE^DICN
 NEW BDPRNS
 S BDPRNS=1
 K DD,DO
 D FILE^DICN
 K D,D0,D1,DA,DI,DIADD,DIC,DICR,DIE,DLAYGO,DQ,DR,DINUM
 Q
 ;
DDS ; EP - CALL ^DDS (ScreenMan)
 ;D:'$D(IOST(0)) HOME^%ZIS D ENS^%ZISS ;activate if you need IOINHI etc.
 K ^TMP("DDS",$J)
 D ^DDS
 K DDSFILE,DA,DR
 ;D KILL^%ZISS ;                        activate if above line activated
 Q
 ;