Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: IBARXEC4

IBARXEC4.m

Go to the documentation of this file.
  1. IBARXEC4 ;ALB/AAS - RX COPAY EXEMPTION CONVERSION REPORT BUILD ; 14-JAN-93
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. % ;
  1. BUILD ; -- Build report
  1. ;
  1. S (IBOK,IBN)=0
  1. F S IBN=$O(^IB("AC",11,IBN)) Q:'IBN D CHK,SET:IBOK
  1. Q
  1. ;
  1. CHK ; -- is entry in date range
  1. S IBOK=0
  1. S X=$G(^IB(IBN,0)),X1=$G(^IB(IBN,1))
  1. I X=""!(X1="") G CHK Q
  1. I (IBBDT-.00001)<$P(X1,"^",2),(IBEDT+.9)>$P(X1,"^",2) S IBOK=1
  1. CHKQ Q
  1. ;
  1. SET ; -- set entry in ^tmp
  1. S DFN=$P(X,"^",2)
  1. S IBP=$$PT^IBEFUNC(DFN) ; name^bid^pid
  1. S ^TMP("IBCONV",$J,$P(IBP,"^"),DFN,IBN)=IBP
  1. Q