source: WorldVistAEHR/trunk/r/INPATIENT_MEDICATIONS-PSJ-PSIV-PSG--PSGW/PSJXR512.m@ 1147

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

initial load of WorldVistAEHR

File size: 1.6 KB
Line 
1PSJXR512 ; COMPILED XREF FOR FILE #55.01 ; 10/28/97
2 ;
3 S DA(1)=DA S DA=0
4A1 ;
5 I $D(DISET) 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'="" S ^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,1)
14 S X=$P(DIKZ(0),U,2)
15 I X'="" S ^PS(55,"AIVS",$E(X,1,30),DA(1),DA)=""
16 S X=$P(DIKZ(0),U,3)
17 I X'="" S ^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,1)
20 S X=$P(DIKZ(0),U,3)
21 I X'="" S ^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)]"" S ^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,1)
26 S X=$P(DIKZ(0),U,6)
27 I X'="" X ^DD(55.01,.06,1,1,1)
28 S X=$P(DIKZ(0),U,6)
29 I X'="" I '$D(DIU(0)),$S($D(^PS(55,DA(1),5.1)):$P(^(5.1),"^",2)'=X,1:1) S $P(^(5.1),"^",2)=X
30 S X=$P(DIKZ(0),U,8)
31 I X'="" X ^DD(55.01,.08,1,1,1)
32 S X=$P(DIKZ(0),U,9)
33 I X'="" X ^DD(55.01,.09,1,1,1)
34 S DIKZ(1)=$G(^PS(55,DA(1),"IV",DA,1))
35 S X=$P(DIKZ(1),U,1)
36 I X'="" X ^DD(55.01,.1,1,1,1)
37 S X=$P(DIKZ(0),U,11)
38 I X'="" X ^DD(55.01,.12,1,1,1)
39 S DIKZ(3)=$G(^PS(55,DA(1),"IV",DA,3))
40 S X=$P(DIKZ(3),U,1)
41 I X'="" X ^DD(55.01,31,1,1,1)
42 S X=$P(DIKZ(0),U,17)
43 I X'="" X ^DD(55.01,100,1,1,1)
44 S X=$P(DIKZ(0),U,17)
45 I X'="" I $D(DIU(0)) S:X="N" ^PS(55,"ANVO",DA(1),DA)=""
46 S X=$P(DIKZ(0),U,17)
47 I X'="" S:X="D"&($D(^PS(55,DA(1),"IV",DA,"ADC"))) ^PS(55,"ADC",^PS(55,DA(1),"IV",DA,"ADC"),DA(1),DA)=""
48 G:'$D(DIKLM) A Q:$D(DISET)
49END G ^PSJXR513
Note: See TracBrowser for help on using the repository browser.