source: WorldVistAEHR/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBXX21.m@ 1261

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

revised back to 6/30/08 version

File size: 1.2 KB
Line 
1IBXX21 ; COMPILED XREF FOR FILE #399.042 ; 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(^DGCR(399,DA(1),"RC",DA)) I DA'>0 S DA=0 G END
81 ;
9 S DIKZ(0)=$G(^DGCR(399,DA(1),"RC",DA,0))
10 S X=$P(DIKZ(0),U,1)
11 I X'="" S ^DGCR(399,DA(1),"RC","B",$E(X,1,30),DA)=""
12 S X=$P(DIKZ(0),U,1)
13 I X'="" I $P(^DGCR(399,DA(1),"RC",DA,0),U,5) S ^DGCR(399,DA(1),"RC","ABS",$P(^DGCR(399,DA(1),"RC",DA,0),U,5),$E(X,1,30),DA)=""
14 S X=$P(DIKZ(0),U,2)
15 I X'="" D 21^IBCU2
16 S X=$P(DIKZ(0),U,3)
17 I X'="" D 31^IBCU2
18 S X=$P(DIKZ(0),U,4)
19 I X'="" S DGXRF=1 D TC^IBCU2 K DGXRF
20 S X=$P(DIKZ(0),U,5)
21 I X'="" S ^DGCR(399,DA(1),"RC","ABS",$E(X,1,30),+^DGCR(399,DA(1),"RC",DA,0),DA)=""
22 S X=$P(DIKZ(0),U,6)
23 I X'="" I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC1",$E(X,1,30),DA(1),DA)=""
24 S X=$P(DIKZ(0),U,6)
25 I X'="" I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC2",DA(1),$E(X,1,30),DA)=""
26 S X=$P(DIKZ(0),U,7)
27 I X'="" I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC1",$P(^DGCR(399,DA(1),"RC",DA,0),U,6),DA(1),DA)=""
28 S X=$P(DIKZ(0),U,7)
29 I X'="" I $$RC^IBEFUNC1(DA(1),DA) S ^DGCR(399,"ASC2",DA(1),$P(^DGCR(399,DA(1),"RC",DA,0),U,6),DA)=""
30 S X=$P(DIKZ(0),U,15)
31 I X'="" S ^DGCR(399,DA(1),"RC","ACP",$E(X,1,30),DA)=""
32 G:'$D(DIKLM) A Q:$D(DISET)
33END G ^IBXX22
Note: See TracBrowser for help on using the repository browser.