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

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

initial load of WorldVistAEHR

File size: 1.6 KB
Line 
1DGPTXX12 ; COMPILED XREF FOR FILE #45.05 ; 12/27/07
2 ;
3 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),"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'="" S ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(0),U,6)
13 I X'="" S ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)=""
14 S X=$P(DIKZ(0),U,7)
15 I X'="" S ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)=""
16 S X=$P(DIKZ(0),U,8)
17 I X'="" S ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)=""
18 S X=$P(DIKZ(0),U,9)
19 I X'="" S ^DGPT(DA(1),"P","AP6",$E(X,1,30),DA)=""
20CR1 S DIXR=442
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 . D SDGPT0^DGPTDDCR(.X,.DA,"P",1)
28CR2 S DIXR=443
29 K X
30 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
31 S X(1)=$P(DIKZ(0),U,1)
32 S X(2)=$P(DIKZ(0),U,6)
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,"P",2)
37CR3 S DIXR=444
38 K X
39 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
40 S X(1)=$P(DIKZ(0),U,1)
41 S X(2)=$P(DIKZ(0),U,7)
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,"P",3)
46CR4 S DIXR=445
47 K X
48 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
49 S X(1)=$P(DIKZ(0),U,1)
50 S X(2)=$P(DIKZ(0),U,8)
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,"P",4)
55CR5 S DIXR=446
56 K X
57 S DIKZ(0)=$G(^DGPT(DA(1),"P",DA,0))
58 S X(1)=$P(DIKZ(0),U,1)
59 S X(2)=$P(DIKZ(0),U,9)
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,"P",5)
64CR6 K X
65 G:'$D(DIKLM) A Q:$D(DISET)
66END G ^DGPTXX13
Note: See TracBrowser for help on using the repository browser.