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/IBCEF.m

    r628 r636  
    11IBCEF ;ALB/TMP - FORMATTER SPECIFIC BILL FUNCTIONS ;22-JAN-96
    2  ;;2.0;INTEGRATED BILLING;**52,80,51,137,288,296,361,371**;21-MAR-94;Build 57
     2 ;;2.0;INTEGRATED BILLING;**52,80,51,137,288,296,361**;21-MAR-94;Build 9
    33 ;;Per VHA Directive 2004-038, this routine should not be modified.
    44 ;
     
    3939 S:$G(IBCOB)="" IBCOB=""
    4040 I 'IBCOB S IBCOB=$$COBN(IBIFN,$G(IBCOB))
    41  S IBI=+$$POLICY(IBIFN,16,IBCOB)     ; pt relationship to insured
     41 S IBI=+$$POLICY(IBIFN,16,IBCOB)
    4242 S DFN=+$P($G(^DGCR(399,IBIFN,0)),U,2)
    4343 I $S('IBI:1,1:"12"'[IBI) S IBADDR="" G INSADDQ
     
    4848INSADDQ S A=$P($G(^DGCR(399,IBIFN,"M")),U,(11+IBCOB))
    4949 S A=$G(^DPT(DFN,.312,+A,3))
    50  I $TR($P(IBADDR,U)," ")="" D PI3
    51  I IBI=2,$$NOPUNCT($P(A,U,6,10),1)'="" D PI3
     50 I $TR($P(IBADDR,U)," ")="" D
     51 .S $P(IBADDR,U)=$P(A,U,6)_" "_$P(A,U,7),$P(IBADDR,U,5,6)=$P(A,U,6,7)
     52 .F B=2,4 S $P(IBADDR,U,B)=$P(A,U,B+6)
     53 .S $P(IBADDR,U,3)=$P($G(^DIC(5,+$P(A,U,9),0)),U,2)
    5254 Q IBADDR
    53  ;
    54 PI3 ; build IBADDR string from patient insurance 3 node data
    55  S $P(IBADDR,U,1)=$P(A,U,6)_" "_$P(A,U,7)
    56  S $P(IBADDR,U,5,6)=$P(A,U,6,7)
    57  F B=2,4 S $P(IBADDR,U,B)=$P(A,U,B+6)
    58  S $P(IBADDR,U,3)=$P($G(^DIC(5,+$P(A,U,9),0)),U,2)
    59  S $P(IBADDR,U,7)=""   ; no street address 3 in file 2.312
    60  Q
    6155 ;
    6256PTADDR(IBIFN,ELE) ;Return part of patient's permanent address
Note: See TracChangeset for help on using the changeset viewer.