source: WorldVistAEHR/trunk/r/INPATIENT_MEDICATIONS-PSJ-PSIV-PSG--PSGW/PSJXR55.m@ 1211

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

initial load of WorldVistAEHR

File size: 3.9 KB
RevLine 
[613]1PSJXR55 ; COMPILED XREF FOR FILE #55.06 ; 10/28/97
2 ;
3 I X'="" K ^PS(55,"AUD",$E(X,1,30),DA(1),DA)
4 S X=$P(DIKZ(5),U,4)
5 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(61)=X,PSGAL("C")=6000,PSGALFF=35 D ^PSGAL5
6 S X=$P(DIKZ(5),U,3)
7 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(54)=X,PSGAL("C")=6000,PSGALFF=36 D ^PSGAL5
8 S X=$P(DIKZ(2),U,5)
9 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(56)=X,PSGAL("C")=6000,PSGALFF=41 D ^PSGAL5
10 S X=$P(DIKZ(2),U,6)
11 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(57)=X,PSGAL("C")=6000,PSGALFF=42 D ^PSGAL5
12 S X=$P(DIKZ(4),U,15)
13 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(58)=X,PSGAL("C")=6000,PSGALFF=43 D ^PSGAL5
14 S X=$P(DIKZ(4),U,16)
15 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(59)=X,PSGAL("C")=6000,PSGALFF=44 D ^PSGAL5
16 S X=$P(DIKZ(4),U,17)
17 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(60)=X,PSGAL("C")=6000,PSGALFF=45 D ^PSGAL5
18 S X=$P(DIKZ(4),U,12)
19 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(63)=X,PSGAL("C")=6000,PSGALFF=46 D ^PSGAL5
20 S X=$P(DIKZ(4),U,13)
21 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(64)=X,PSGAL("C")=6000,PSGALFF=47 D ^PSGAL5
22 S X=$P(DIKZ(4),U,14)
23 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(65)=X,PSGAL("C")=6000,PSGALFF=48 D ^PSGAL5
24 S X=$P(DIKZ(4),U,11)
25 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(62)=X,PSGAL("C")=6000,PSGALFF=49 D ^PSGAL5
26 S X=$P(DIKZ(4),U,9)
27 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(66)=X,PSGAL("C")=6000,PSGALFF=50 D ^PSGAL5
28 S X=$P(DIKZ(4),U,10)
29 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(67)=X,PSGAL("C")=6000,PSGALFF=51 D ^PSGAL5
30 S DIKZ(7)=$G(^PS(55,DA(1),5,DA,7))
31 S X=$P(DIKZ(7),U,1)
32 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(68)=X,PSGAL("C")=6000,PSGALFF=52 D ^PSGAL5
33 S X=$P(DIKZ(7),U,2)
34 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(69)=X,PSGAL("C")=6000,PSGALFF=53 D ^PSGAL5
35 S X=$P(DIKZ(5),U,7)
36 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(70)=X,PSGAL("C")=6000,PSGALFF=54 D ^PSGAL5
37 S X=$P(DIKZ(4),U,18)
38 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(71)=X,PSGAL("C")=6000,PSGALFF=56 D ^PSGAL5
39 S X=$P(DIKZ(4),U,19)
40 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(72)=X,PSGAL("C")=6000,PSGALFF=57 D ^PSGAL5
41 S X=$P(DIKZ(4),U,20)
42 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(73)=X,PSGAL("C")=6000,PSGALFF=58 D ^PSGAL5
43 S X=$P(DIKZ(4),U,21)
44 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(74)=X,PSGAL("C")=6000,PSGALFF=59 D ^PSGAL5
45 S X=$P(DIKZ(4),U,22)
46 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(75)=X,PSGAL("C")=6000,PSGALFF=60 D ^PSGAL5
47 S X=$P(DIKZ(4),U,23)
48 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(76)=X,PSGAL("C")=6000,PSGALFF=61 D ^PSGAL5
49 S X=$P(DIKZ(4),U,24)
50 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(77)=X,PSGAL("C")=6000,PSGALFF=62 D ^PSGAL5
51 S X=$P(DIKZ(0),U,20)
52 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(79)=X,PSGAL("C")=6000,PSGALFF=64 D ^PSGAL5
53 S X=$P(DIKZ(0),U,20)
54 I X'="" K ^PS(55,"AUDDD",$E(X,1,30),DA(1),DA)
55 S DIKZ(6.5)=$G(^PS(55,DA(1),5,DA,6.5))
56 S X=$P(DIKZ(6.5),U,1)
57 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(78)=X,PSGAL("C")=6000,PSGALFF=65 D ^PSGAL5
58 S X=$P(DIKZ(0),U,21)
59 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(80)=X,PSGAL("C")=6000,PSGALFF=66 D ^PSGAL5
60 S DIKZ(.1)=$G(^PS(55,DA(1),5,DA,.1))
61 S X=$P(DIKZ(.1),U,1)
62 I X'="" K ^PS(55,DA(1),5,"C",$E(X,1,30),DA)
63 S X=$P(DIKZ(.1),U,1)
64 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(101)=X,PSGAL("C")=6000,PSGALFF=101,PSGALFN=55.06 D ^PSGAL5
65 S X=$P(DIKZ(.1),U,2)
66 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(102)=X,PSGAL("C")=6000,PSGALFF=102,PSGALFN=55.06 D ^PSGAL5
67 S X=$P(DIKZ(0),U,24)
68 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(103)=X,PSGAL("C")=6000,PSGALFF=103,PSGALFN=55.06 D ^PSGAL5
69 S X=$P(DIKZ(0),U,25)
70 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(104)=X,PSGAL("C")=6000,PSGALFF=104,PSGALFN=55.06 D ^PSGAL5
71 S X=$P(DIKZ(0),U,26)
72 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(105)=X,PSGAL("C")=6000,PSGALFF=105,PSGALFN=55.06 D ^PSGAL5
73 S X=$P(DIKZ(.1),U,3)
74 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(106)=X,PSGAL("C")=6000,PSGALFF=106,PSGALFN=55.06 D ^PSGAL5
75 S X=$P(DIKZ(0),U,27)
76 I X'="" I '$D(DIU(0)),'$D(PSGPO) S PSGAL(107)=X,PSGAL("C")=6000,PSGALFF=107,PSGALFN=55.06 D ^PSGAL5
77 G:'$D(DIKLM) A^PSJXR54 Q:$D(DIKILL)
78END G ^PSJXR56
Note: See TracBrowser for help on using the repository browser.