Ignore:
Timestamp:
Dec 4, 2009, 8:26:01 PM (14 years ago)
Author:
George Lilly
Message:

WorldVistAEHR overlayed on FOIAVistA

Location:
FOIAVistA/tag/r
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • FOIAVistA/tag/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBATER.m

    r628 r636  
    11IBATER ;LL/ELZ - TRANSFER PRICING PROSTHETICS DRIVER ; 7-APR-2000
    2  ;;2.0;INTEGRATED BILLING;**115,389**;21-MAR-94;Build 6
    3  ;;Per VHA Directive 2004-038, this routine should not be modified.
     2 ;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
     3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
    44 ;
    55 ; This routine is called by the nightly back ground job.  It will go
     
    2222CHECK ; check if transfer pricing and not already added
    2323 ;
    24  N IBDATA,IBDATA1,IBDFN
     24 N IBDATA,IBDFN
    2525 ;
    2626 ; already in file
     
    2828 ;
    2929 ; valid tp patient
    30  S IBDATA=$G(^RMPR(660,+IBDA,0)) Q:IBDATA=""  S IBDATA1=$G(^RMPR(660,+IBDA,1))
     30 S IBDATA=$G(^RMPR(660,+IBDA,0)) Q:IBDATA=""
    3131 S IBDFN=$P(IBDATA,"^",2) Q:'IBDFN  Q:'$$TPP^IBATUTL(IBDFN)
    3232 ;
    3333 ; checks from RMPRBIL copied 4/7/2000 with mod for patient type removed
    34  I $S('$D(^RMPR(660,IBDA,"AM")):1,$P(IBDATA,"^",9)="":1,$P(IBDATA,"^",12)="":1,$P(IBDATA1,"^",4)="":1,$P(IBDATA,"^",14)="V":1,$P(IBDATA,"^",15)="*":1,1:0) Q
     34 I $S('$D(^RMPR(660,IBDA,"AM")):1,$P(IBDATA,"^",9)="":1,$P(IBDATA,"^",12)="":1,$P(IBDATA,"^",6)="":1,$P(IBDATA,"^",14)="V":1,$P(IBDATA,"^",15)="*":1,1:0) Q
    3535 ;
    3636 ; now if inpt, must be in 351.67
    37  I $P(^RMPR(660,IBDA,"AM"),"^",3)'=1,$P(^("AM"),"^",3)'=4,'$D(^IBAT(351.67,"B",$P(IBDATA1,"^",4))) Q
     37 I $P(^RMPR(660,IBDA,"AM"),"^",3)'=1,$P(^("AM"),"^",3)'=4,'$D(^IBAT(351.67,"B",$P(IBDATA,"^",6))) Q
    3838 ;
    3939 Q:'$P(IBDATA,"^",16)  ; no total cost, at least yet
     
    4141FILE ; ok transaction needs to be filled in tp files
    4242 ;
    43  S IBDATA=$$RMPR^IBATFILE(IBDFN,IBDT,$$PPF^IBATUTL(IBDFN),(IBDA_";RMPR(660,"),,$P(IBDATA,"^",16))
     43 S IBDATA=$$RMPR^IBATFILE(IBDFN,IBDT,$$PPF^IBATUTL(IBDFN),(IBDA_";RMPR(660,"),$P(IBDATA,"^",6),$P(IBDATA,"^",16))
    4444 ;
    4545 Q
Note: See TracChangeset for help on using the changeset viewer.