source: WorldVistAEHR/trunk/r/INPATIENT_MEDICATIONS-PSJ-PSIV-PSG--PSGW/PSJXR52.m@ 1365

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

initial load of WorldVistAEHR

File size: 1.5 KB
Line 
1PSJXR52 ; COMPILED XREF FOR FILE #55.01 ; 10/28/97
2 ;
3 S DA(1)=DA S DA=0
4A1 ;
5 I $D(DIKILL) K DIKLM S:$D(DA(1)) DIKLM=1 G:$D(DA(1)) 1 S DA(1)=DA,DA=0 G @DIKM1
60 ;
7A S DA=$O(^PS(55,DA(1),"IV",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^PS(55,DA(1),"IV",DA,0))
10 S X=$P(DIKZ(0),U,1)
11 I X'="" K ^PS(55,DA(1),"IV","B",$E(X,1,30),DA)
12 S X=$P(DIKZ(0),U,2)
13 I X'="" X ^DD(55.01,.02,1,1,2)
14 S X=$P(DIKZ(0),U,2)
15 I X'="" K ^PS(55,"AIVS",$E(X,1,30),DA(1),DA)
16 S X=$P(DIKZ(0),U,3)
17 I X'="" K ^PS(55,"AIV",+$E(X,1,30),DA(1),DA)
18 S X=$P(DIKZ(0),U,3)
19 I X'="" X ^DD(55.01,.03,1,2,2)
20 S X=$P(DIKZ(0),U,3)
21 I X'="" K ^PS(55,DA(1),"IV","AIS",$E(X,1,30),DA)
22 S X=$P(DIKZ(0),U,3)
23 I X'="" I $P($G(^PS(55,DA(1),"IV",DA,0)),U,4)]"" K ^PS(55,DA(1),"IV","AIT",$P(^(0),U,4),+X,DA)
24 S X=$P(DIKZ(0),U,4)
25 I X'="" X ^DD(55.01,.04,1,1,2)
26 S X=$P(DIKZ(0),U,6)
27 I X'="" X ^DD(55.01,.06,1,1,2)
28 S X=$P(DIKZ(0),U,8)
29 I X'="" X ^DD(55.01,.08,1,1,2)
30 S X=$P(DIKZ(0),U,9)
31 I X'="" X ^DD(55.01,.09,1,1,2)
32 S DIKZ(1)=$G(^PS(55,DA(1),"IV",DA,1))
33 S X=$P(DIKZ(1),U,1)
34 I X'="" X ^DD(55.01,.1,1,1,2)
35 S X=$P(DIKZ(0),U,11)
36 I X'="" X ^DD(55.01,.12,1,1,2)
37 S DIKZ(3)=$G(^PS(55,DA(1),"IV",DA,3))
38 S X=$P(DIKZ(3),U,1)
39 I X'="" X ^DD(55.01,31,1,1,2)
40 S X=$P(DIKZ(0),U,17)
41 I X'="" X ^DD(55.01,100,1,1,2)
42 S X=$P(DIKZ(0),U,17)
43 I X'="" K:X'="N" ^PS(55,"ANVO",DA(1),DA)
44 S X=$P(DIKZ(0),U,17)
45 I X'="" K:X'="D"&($D(^PS(55,DA(1),"IV",DA,"ADC"))) ^PS(55,"ADC",^PS(55,DA(1),"IV",DA,"ADC"),DA(1),DA)
46 G:'$D(DIKLM) A Q:$D(DIKILL)
47END G ^PSJXR53
Note: See TracBrowser for help on using the repository browser.