source: FOIAVistA/tag/r/ENGINEERING-EN/ENEQPMR.m@ 1383

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

initial load of FOIAVistA 6/30/08 version

File size: 1.2 KB
Line 
1ENEQPMR ;(WASH ISC)/DH-Driver for Recording of PMI ;9-27-90
2V ;;7.0;ENGINEERING;;Aug 17, 1993
3 D:'$D(DT) DT^DICRW S U="^",S=";",O=$T(OPT) I $D(^DOPT($P(O,S,5),"VERSION")),($P($T(V),S,3)=^DOPT($P(O,S,5),"VERSION")) G IN
4 K ^DOPT($P(O,S,5))
5 F I=1:1 Q:$T(OPT+I)="" S ^DOPT($P(O,S,5),I,0)=$P($T(OPT+I),S,3),^DOPT($P(O,S,5),"B",$P($P($T(OPT+I),S,3),"^",1),I)=""
6 S K=I-1,^DOPT($P(O,S,5),0)=$P(O,S,4)_U_1_U_K_U_K K I,K,X S ^DOPT($P(O,S,5),"VERSION")=$P($T(V),S,3)
7IN I $P(O,S,6)'="" D @($P(O,S,6))
8PR S O=$T(OPT),S=";" S IOP="HOME" D ^%ZIS W:IOST'["PK-" @IOF K IOP
9 D HDR F J=1:1 Q:'$D(^DOPT($P(O,S,5),J,0)) W !,?15,J,". ",$P(^DOPT($P(O,S,5),J,0),U,1)
10RE W ! S DIC("A")="Select "_$P($T(OPT),S,4)_": EXIT// ",DIC="^DOPT("_""""_$P($T(OPT),S,5)_""""_",",DIC(0)="AEQMN" D ^DIC G:X=""!(X=U) EXIT G:Y<0 RE K DIC,J,O D @($P($T(OPT+Y),S,4)) G PR
11HDR W @IOF,!!,"RECORD EQUIPMENT PREVENTIVE MAINTENANCE INSPECTIONS",!,"Version ",^ENG("VERSION"),! Q
12 Q
13EXIT K DIC,I,J,K,O,S,X,Y
14OPT ;;ENGINEERING EQUIPMENT MANAGEMENT MODULE;EQUIPMENT PMI RECORD;ENEQPMR;
15 ;;CLOSE OUT PM WORK ORDER(S);CO^ENEQPMR1
16 ;;RAPID CLOSE OUT OF PM WORK ORDERS;RCO^ENEQPMR2
17 ;;RECORD SINGLE DEVICE PMI;SDPM^ENEQPMR4
18 ;;BAR CODE BASED PREVENTIVE MAINTENANCE;^ENBCPM
19 ;;RAPID DEFERRAL OF PM WORKLIST;^ENEQPMR6
Note: See TracBrowser for help on using the repository browser.