source: FOIAVistA/trunk/r/REGISTRATION-DGQE-DG-DPT-GRPX-VAD-VAF-VAS-VAT-VAU--VA-VIC--DGBT--DGJ--DGYA--VALM/DGPTXX10.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: 1.6 KB
Line 
1DGPTXX10 ; COMPILED XREF FOR FILE #45.01 ; 12/12/07
2 ;
3 S DA(1)=DA S DA=0
4A1 ;
5 I $D(DISET) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
60 ;
7A S DA=$O(^DGPT(DA(1),"S",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
10 S X=$P(DIKZ(0),U,8)
11 I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(0),U,9)
13 I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
14 S X=$P(DIKZ(0),U,10)
15 I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
16 S X=$P(DIKZ(0),U,11)
17 I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
18 S X=$P(DIKZ(0),U,12)
19 I X'="" S ^DGPT(DA(1),"S","AO",$E(X,1,30),DA)=""
20CR1 S DIXR=422
21 K X
22 S X(1)=$P(DIKZ(0),U,1)
23 S X(2)=$P(DIKZ(0),U,8)
24 S X=$G(X(1))
25 I $G(X(1))]"",$G(X(2))]"" D
26 . K X1,X2 M X1=X,X2=X
27 . D SDGPT0^DGPTDDCR(.X,.DA,"S",1)
28CR2 S DIXR=423
29 K X
30 S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
31 S X(1)=$P(DIKZ(0),U,1)
32 S X(2)=$P(DIKZ(0),U,9)
33 S X=$G(X(1))
34 I $G(X(1))]"",$G(X(2))]"" D
35 . K X1,X2 M X1=X,X2=X
36 . D SDGPT0^DGPTDDCR(.X,.DA,"S",2)
37CR3 S DIXR=424
38 K X
39 S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
40 S X(1)=$P(DIKZ(0),U,1)
41 S X(2)=$P(DIKZ(0),U,10)
42 S X=$G(X(1))
43 I $G(X(1))]"",$G(X(2))]"" D
44 . K X1,X2 M X1=X,X2=X
45 . D SDGPT0^DGPTDDCR(.X,.DA,"S",3)
46CR4 S DIXR=425
47 K X
48 S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
49 S X(1)=$P(DIKZ(0),U,1)
50 S X(2)=$P(DIKZ(0),U,11)
51 S X=$G(X(1))
52 I $G(X(1))]"",$G(X(2))]"" D
53 . K X1,X2 M X1=X,X2=X
54 . D SDGPT0^DGPTDDCR(.X,.DA,"S",4)
55CR5 S DIXR=426
56 K X
57 S DIKZ(0)=$G(^DGPT(DA(1),"S",DA,0))
58 S X(1)=$P(DIKZ(0),U,1)
59 S X(2)=$P(DIKZ(0),U,12)
60 S X=$G(X(1))
61 I $G(X(1))]"",$G(X(2))]"" D
62 . K X1,X2 M X1=X,X2=X
63 . D SDGPT0^DGPTDDCR(.X,.DA,"S",5)
64CR6 K X
65 G:'$D(DIKLM) A Q:$D(DISET)
66END G ^DGPTXX11
Note: See TracBrowser for help on using the repository browser.