source: FOIAVistA/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBATLM2B.m@ 1203

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

initial load of FOIAVistA 6/30/08 version

File size: 1.8 KB
Line 
1IBATLM2B ;LL/ELZ - TRANSFER PRICING PT TRANSACTION DETAIL ; 15-SEP-1998
2 ;;2.0;INTEGRATED BILLING;**115,266**;21-MAR-94
3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
4 ;
5FE ; -- editing of facility
6 N DA,DIE,DR,DTOUT
7 D LMOPT^IBATUTL
8 S DA=IBIEN,DIE="^IBAT(351.61,",DR=".11"
9 I $P(^IBAT(351.61,DA,0),U,5)="X" W !!,"Transaction cancelled!" D H Q
10 L +^IBAT(351.61,IBIEN):0
11 I $T D ^DIE L -^IBAT(351.61,IBIEN) D INIT^IBATLM2 Q
12 W !?5,"Another user is editing this entry."
13 D H,INIT^IBATLM2
14 Q
15H ; call hang call
16 D H^IBATLM1B
17 Q
18PI ; -- editing of pricing information
19 N DA,DIE,DR,DTOUT,ICDVDT,ICPTVDT
20 D LMOPT^IBATUTL
21 L +^IBAT(351.61,IBIEN):0
22 I '$T W !?5,"Another user is editing this entry." D H Q
23 S (ICDVDT,ICPTVDT)=$P(IBDATA(0),U,4) ; Code Text Versioning
24 S DR=$S($P(IBDATA(0),U,12)["DGPM":"1.01;D DRGDSP^IBATLM2B(X);1.02:1.06",$P(IBDATA(0),"^",12)["SCE":"[IBAT OUT PRICING EDIT]",$P(IBDATA(0),"^",12)["RMPR":"4.05",1:"4.02;4.03")
25 S DIE="^IBAT(351.61,",DA=IBIEN
26 I $P(^IBAT(351.61,DA,0),U,5)="X" W !!,"Transaction cancelled!" D H Q
27 D ^DIE,TOTAL^IBATCM(IBIEN)
28 L -^IBAT(351.61,IBIEN)
29 D INIT^IBATLM2
30 Q
31DRGDSP(DRG) ; called from editing pricing info to display DRG pricing
32 N IB0,X,Y,IBCHRG Q:'DRG
33 S IB0=^IBAT(351.61,DA,0)
34 S IBCHRG=$$INPT^IBATCM(DRG,$P(IB0,"^",4),$P(IB0,"^",11))
35 S X=$P(IBCHRG,"^",2) D COMMA^%DTC
36 W !!,?8,"Default Price $",X,! Q:'$P(IBCHRG,"^",3)
37 S X=$P(IBCHRG,"^",3) D COMMA^%DTC
38 W ?5,"Negotiated Price $",X,!
39 Q
40CPTDSP(CPT) ; called from editing pricing info to display CPT pricing
41 N IB0,X,Y,IBCHRG Q:'CPT
42 S IB0=^IBAT(351.61,DA(1),0)
43 S IBCHRG=$$OPT^IBATCM(CPT,$P(IB0,"^",4),$P(IB0,"^",11))
44 S X=$P(IBCHRG,"^",2) D COMMA^%DTC
45 W !!,?8,"Default Price $",X,! Q:'$P(IBCHRG,"^",3)
46 S X=$P(IBCHRG,"^",3) D COMMA^%DTC
47 W ?5,"Negotiated Price $",X,!
48 Q
Note: See TracBrowser for help on using the repository browser.