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

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

initial load of WorldVistAEHR

File size: 1.4 KB
Line 
1IBYPSC ;ALB/ARH - IB*2.0*287 POST INIT: REASONABLE CHARGES V2.2 ; 12/01/04
2 ;;2.0;INTEGRATED BILLING;**287**;21-MAR-94
3 ;
4 Q
5 ;
6POST ; post-init routine for IB*2*287 Reasonable Charges v2.2
7 N IBA
8 S IBA(1)="",IBA(2)=" IB*2*287 Post-Install .....",IBA(3)="" D MES^XPDUTL(.IBA) K IBA
9 ;
10 D RVA ; activate Revenue Codes (399.2,2)
11 ;
12 D RVD^IBYPSC1 ; delete existing Revenue Code - CPT Links (#363.33)
13 D RVL^IBYPSC1 ; add new/updated Revenue Code - CPT Links (#363.33)
14 ;
15 S IBA(1)="",IBA(2)=" IB*2*287 Post-Install Complete",IBA(3)="" D MES^XPDUTL(.IBA) K IBA
16 Q
17 ;
18 ;
19 ;
20RVA ; activate Revenue Codes exported in RV-CPT links (399.2,2), if currently inactive
21 N IBA,IBLN,IBI,IBRV,IBRVFN,IBRVLN,IBACT,IBCNT,IBJ,DD,DO,DIC,DIE,DA,DR,X,Y S IBCNT=0,IBACT=""
22 ;
23 S IBLN=$P($T(FRVA+1),";;",2)
24 ;
25 F IBI=1:1 S IBRV=$P(IBLN,",",IBI) Q:IBRV'?3N D
26 . ;
27 . S IBRVFN=$O(^DGCR(399.2,"B",IBRV,0)) Q:'IBRVFN
28 . S IBRVLN=$G(^DGCR(399.2,+IBRVFN,0)) Q:IBRVLN=""
29 . I +$P(IBRVLN,U,3) Q
30 . ;
31 . S IBCNT=IBCNT+1,IBACT=IBACT_IBRV_","
32 . S DR="2////1",DIE="^DGCR(399.2,",DA=+IBRVFN D ^DIE K DIE,DIC,DA,DR,X,Y
33 ;
34 I IBCNT>0 S IBJ=0 F IBI=1:15 S IBJ=IBJ+15 S IBLN=$P(IBACT,",",IBI,IBJ) Q:IBLN="" D MSG(" "_IBLN)
35 ;
36RVAQ S IBA(1)=" >> "_IBCNT_" Revenue Codes activated (399.2)..." D MSG(" ")
37 D MES^XPDUTL(.IBA)
38 Q
39 ;
40 ;
41MSG(X) ;
42 N IBX S IBX=$O(IBA(999999),-1) S:'IBX IBX=1 S IBX=IBX+1
43 S IBA(IBX)=$G(X)
44 Q
45 ;
46FRVA ; Revenue Codes to Activate (399.2,2)
47 ;;900,
48 ;;
Note: See TracBrowser for help on using the repository browser.