source: FOIAVistA/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGMTXX31.m@ 1397

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

initial load of FOIAVistA 6/30/08 version

File size: 2.0 KB
Line 
1DGMTXX31 ; COMPILED XREF FOR FILE #408.31 ; 11/22/06
2 ;
3 S DIKZK=2
4 S DIKZ(0)=$G(^DGMT(408.31,DA,0))
5 S X=$P(DIKZ(0),U,19)
6 I X'="" K ^DGMT(408.31,"AS",X,+$P(^DGMT(408.31,DA,0),U,3),-$P(^(0),U),+$P(^(0),U,2),DA)
7 S X=$P(DIKZ(0),U,19)
8 I X'="" K ^DGMT(408.31,"AID",X,+$P(^DGMT(408.31,DA,0),U,2),-$P(^(0),U),DA)
9 S X=$P(DIKZ(0),U,19)
10 I X'="" K ^DGMT(408.31,"AD",X,+$P(^DGMT(408.31,DA,0),U,2),$P(^(0),U),DA)
11 S X=$P(DIKZ(0),U,2)
12 I X'="" K ^DGMT(408.31,"AS",+$P(^DGMT(408.31,DA,0),U,19),+$P(^(0),U,3),-$P(^(0),U),X,DA)
13 S X=$P(DIKZ(0),U,2)
14 I X'="" K ^DGMT(408.31,"AID",+$P(^DGMT(408.31,DA,0),U,19),X,-$P(^(0),U),DA)
15 S X=$P(DIKZ(0),U,2)
16 I X'="" K ^DGMT(408.31,"C",$E(X,1,30),DA)
17 S X=$P(DIKZ(0),U,2)
18 I X'="" K ^DGMT(408.31,"AD",+$P(^DGMT(408.31,DA,0),U,19),X,$P(^(0),U),DA)
19 S X=$P(DIKZ(0),U,2)
20 I X'="" K ^DGMT(408.31,"ADFN"_X,+^DGMT(408.31,DA,0),DA)
21 S X=$P(DIKZ(0),U,3)
22 I X'="" K ^DGMT(408.31,"AS",+$P(^DGMT(408.31,DA,0),U,19),X,-$P(^(0),U),+$P(^(0),U,2),DA)
23 S X=$P(DIKZ(0),U,3)
24 I X'="" D CUR^DGMTDD
25 S X=$P(DIKZ(0),U,7)
26 I X'="" K ^DGMT(408.31,"AG",$E(X,1,30),DA)
27 S X=$P(DIKZ(0),U,11)
28 I X'="" D:$G(DGMTYPT)<3 AUTOUPD^DGENA2(+$P(^DGMT(408.31,DA,0),U,2),2)
29 S X=$P(DIKZ(0),U,16)
30 I X'="" K ^DGMT(408.31,"AP",X,$P(^DGMT(408.31,DA,0),U),DA)
31 S X=$P(DIKZ(0),U,20)
32 I X'="" K ^DGMT(408.31,"AE",$E(X,1,30),DA)
33 S X=$P(DIKZ(0),U,20)
34 I X'="" S:'$P(^DGMT(408.31,DA,0),U,20) $P(^DGMT(408.31,DA,0),U,21,22)="^"
35 S DIKZ(2)=$G(^DGMT(408.31,DA,2))
36 S X=$P(DIKZ(2),U,2)
37 I X'="" D E40831^DGRTRIG(DA)
38 S X=$P(DIKZ(2),U,3)
39 I X'="" D STOPAUTO^DGMTDD(DA)
40 S X=$P(DIKZ(2),U,8)
41 I X'="" K ^DGMT(408.31,"AT",$E(X,1,30),DA)
42 S X=$P(DIKZ(0),U,1)
43 I X'="" K ^DGMT(408.31,"B",$E(X,1,30),DA)
44 S X=$P(DIKZ(0),U,1)
45 I X'="" K ^DGMT(408.31,"AS",+$P(^DGMT(408.31,DA,0),U,19),+$P(^(0),U,3),-X,+$P(^(0),U,2),DA)
46 S X=$P(DIKZ(0),U,1)
47 I X'="" K ^DGMT(408.31,"AID",+$P(^DGMT(408.31,DA,0),U,19),+$P(^(0),U,2),-X,DA)
48 S X=$P(DIKZ(0),U,1)
49 I X'="" K ^DGMT(408.31,"AD",+$P(^DGMT(408.31,DA,0),U,19),+$P(^(0),U,2),X,DA)
50 S X=$P(DIKZ(0),U,1)
51 I X'="" K ^DGMT(408.31,"ADFN"_$P(^DGMT(408.31,DA,0),U,2),X,DA)
52END Q
Note: See TracBrowser for help on using the repository browser.