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

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

initial load of FOIAVistA 6/30/08 version

File size: 1.7 KB
Line 
1DGPTXX5 ; COMPILED XREF FOR FILE #45.05 ; 12/12/07
2 ;
3 S DA=0
4A1 ;
5 I $D(DIKILL) K DIKLM S:DIKM1=1 DIKLM=1 G @DIKM1
60 ;
7A S DA=$O(^DGPT(DA(1),"P",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
10 S X=$P(DIKZ(0),U,5)
11 I X'="" K ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)
12 S X=$P(DIKZ(0),U,6)
13 I X'="" K ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)
14 S X=$P(DIKZ(0),U,7)
15 I X'="" K ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)
16 S X=$P(DIKZ(0),U,8)
17 I X'="" K ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)
18 S X=$P(DIKZ(0),U,9)
19 I X'="" K ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)
20CR1 S DIXR=427
21 K X
22 S X(1)=$P(DIKZ(0),U,1)
23 S X(2)=$P(DIKZ(0),U,5)
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 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
28 . D KDGPT0^DGPTDDCR(.X,.DA,"P",1)
29CR2 S DIXR=428
30 K X
31 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
32 S X(1)=$P(DIKZ(0),U,1)
33 S X(2)=$P(DIKZ(0),U,6)
34 S X=$G(X(1))
35 I $G(X(1))]"",$G(X(2))]"" D
36 . K X1,X2 M X1=X,X2=X
37 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
38 . D KDGPT0^DGPTDDCR(.X,.DA,"P",2)
39CR3 S DIXR=429
40 K X
41 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
42 S X(1)=$P(DIKZ(0),U,1)
43 S X(2)=$P(DIKZ(0),U,7)
44 S X=$G(X(1))
45 I $G(X(1))]"",$G(X(2))]"" D
46 . K X1,X2 M X1=X,X2=X
47 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
48 . D KDGPT0^DGPTDDCR(.X,.DA,"P",3)
49CR4 S DIXR=430
50 K X
51 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
52 S X(1)=$P(DIKZ(0),U,1)
53 S X(2)=$P(DIKZ(0),U,8)
54 S X=$G(X(1))
55 I $G(X(1))]"",$G(X(2))]"" D
56 . K X1,X2 M X1=X,X2=X
57 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
58 . D KDGPT0^DGPTDDCR(.X,.DA,"P",4)
59CR5 S DIXR=431
60 K X
61 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
62 S X(1)=$P(DIKZ(0),U,1)
63 S X(2)=$P(DIKZ(0),U,9)
64 S X=$G(X(1))
65 I $G(X(1))]"",$G(X(2))]"" D
66 . K X1,X2 M X1=X,X2=X
67 . S:$D(DIKIL) (X2,X2(1),X2(2))=""
68 . D KDGPT0^DGPTDDCR(.X,.DA,"P",5)
69CR6 K X
70 G:'$D(DIKLM) A Q:$D(DIKILL)
71END G ^DGPTXX6
Note: See TracBrowser for help on using the repository browser.