source: WorldVistAEHR/trunk/r/ENGINEERING-EN/ENEQPMP2.m@ 699

Last change on this file since 699 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 826 bytes
Line 
1ENEQPMP2 ;(WASH ISC)/DH-PMI Procedures ;4.21.97
2 ;;7.0;ENGINEERING;**35**;Aug 17, 1993
3PROCE ;Edit PM PROCEDURE
4 I '$D(^XUSEC("ENEDPM",DUZ)) W !!,"Sorry, you need Security Key 'ENEDPM'." D HLD G EXIT
5 N DIC,DIE,DA,DR,FLDS,BY,L,DHD,DIOEND,X
6PROCE1 W @IOF,! S DIC="^ENG(6914.2,",DIC(0)="AQELM",DLAYGO=6914.2 D ^DIC K DLAYGO G:Y'>0 EXIT S DA=+Y
7 L +^ENG(6914.2,DA):1 I '$T W !!,*7,"Someone else is editing this entry." G EXIT
8 S ENLOCK=DA
9 S DIE="^ENG(6914.2,",DR=".01:99" D ^DIE
10 L -^ENG(6914.2,ENLOCK)
11 G PROCE1
12 ;
13PROCD ;Print PM PROCEDURE
14 S L=0,DIC="^ENG(6914.2,",BY="#PM REFERENCE",FLDS=".01,1,2,3;C2",DHD="PMI Procedure(s)",DIOEND="I IO=IO(0),$E(IOST,1,2)=""C-"" R !,""Press <RETURN> to continue..."",X:DTIME"
15 D EN1^DIP
16EXIT K ENLOCK
17 Q
18HLD I $E(IOST,1,2)="C-" W !,"Press <RETURN> to continue..." R X:DTIME
19 Q
20 ;ENEQPMP2
Note: See TracBrowser for help on using the repository browser.