source: WorldVistAEHR/trunk/r/HINQ-DVB--DVBA--DVBE--DVBC/DVBHCE35.m@ 724

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

initial load of WorldVistAEHR

File size: 1.9 KB
Line 
1DVBHCE35 ; ;04/21/06
2 ;;
31 N X,X1,X2 S DIXR=303 D X1(U) K X2 M X2=X D X1("F") K X1 M X1=X
4 K X M X=X2 D
5 . N DIEZCOND,DIEXARR M DIEXARR=X S DIEZCOND=1
6 . I '$P($G(^DPT(DA,.52)),"^",15) S X=$$CVELIG^DGCV(DA)
7 . S DIEZCOND=$G(X) K X M X=DIEXARR Q:'DIEZCOND
8 . D SETCV^DGCV(DA,X2(1))
9 Q
10X1(DION) K X
11 S X(1)=$G(@DIEZTMP@("V",2,DIIENS,.327,DION),$P($G(^DPT(DA,.32)),U,7))
12 S X(2)=$G(@DIEZTMP@("V",2,DIIENS,.5294,DION),$P($G(^DPT(DA,.52)),U,14))
13 S X(3)=$G(@DIEZTMP@("V",2,DIIENS,.322021,DION),$P($G(^DPT(DA,.322)),U,21))
14 S X(4)=$G(@DIEZTMP@("V",2,DIIENS,.322018,DION),$P($G(^DPT(DA,.322)),U,18))
15 S X(5)=$G(@DIEZTMP@("V",2,DIIENS,.322012,DION),$P($G(^DPT(DA,.322)),U,12))
16 S X(6)=$G(@DIEZTMP@("V",2,DIIENS,.5291,DION),$P($G(^DPT(DA,.52)),U,11))
17 S X(7)=$G(@DIEZTMP@("V",2,DIIENS,.322019,DION),$P($G(^DPT(DA,.322)),U,19))
18 S X(8)=$G(@DIEZTMP@("V",2,DIIENS,.322016,DION),$P($G(^DPT(DA,.322)),U,16))
19 S X(9)=$G(@DIEZTMP@("V",2,DIIENS,.32201,DION),$P($G(^DPT(DA,.322)),U,10))
20 S X=$G(X(1))
21 Q
222 N X,X1,X2 S DIXR=648 D X2(U) K X2 M X2=X D X2("F") K X1 M X1=X
23 D
24 . D KSERV^DGSRVICE(.X,.DA,"LAST")
25 K X M X=X2 D
26 . D SSERV^DGSRVICE(.X,.DA,"LAST")
27 Q
28X2(DION) K X
29 S X(1)=$G(@DIEZTMP@("V",2,DIIENS,.326,DION),$P($G(^DPT(DA,.32)),U,6))
30 S X(2)=$G(@DIEZTMP@("V",2,DIIENS,.327,DION),$P($G(^DPT(DA,.32)),U,7))
31 S X=$G(X(1))
32 Q
333 N X,X1,X2 S DIXR=649 D X3(U) K X2 M X2=X D X3("F") K X1 M X1=X
34 D
35 . D KSERV^DGSRVICE(.X,.DA,"NTL")
36 K X M X=X2 D
37 . D SSERV^DGSRVICE(.X,.DA,"NTL")
38 Q
39X3(DION) K X
40 S X(1)=$G(@DIEZTMP@("V",2,DIIENS,.3292,DION),$P($G(^DPT(DA,.32)),U,11))
41 S X(2)=$G(@DIEZTMP@("V",2,DIIENS,.3293,DION),$P($G(^DPT(DA,.32)),U,12))
42 S X=$G(X(1))
43 Q
444 N X,X1,X2 S DIXR=663 D X4(U) K X2 M X2=X D X4("F") K X1 M X1=X
45 D
46 . D KSERV^DGSRVICE(.X,.DA,"NNTL")
47 K X M X=X2 D
48 . D SSERV^DGSRVICE(.X,.DA,"NNTL")
49 Q
50X4(DION) K X
51 S X(1)=$G(@DIEZTMP@("V",2,DIIENS,.3297,DION),$P($G(^DPT(DA,.32)),U,16))
52 S X(2)=$G(@DIEZTMP@("V",2,DIIENS,.3298,DION),$P($G(^DPT(DA,.32)),U,17))
53 S X=$G(X(1))
54 Q
Note: See TracBrowser for help on using the repository browser.