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

IBATLM2.m

Go to the documentation of this file.
  1. IBATLM2 ;LL/ELZ - TRANSFER PRICING PT TRANSACTION DETAIL ; 15-SEP-1998
  1. ;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
  1. ;;Per VHA Directive 10-93-142, this routine should not be modified.
  1. ;
  1. EN ; -- main entry point for IBAT PT TRANS DET
  1. N IBVAL,IBIEN
  1. D LMOPT^IBATUTL,EN^VALM2($G(XQORNOD(0)))
  1. S (IBVAL,IBIEN)=0,IBVAL=$O(VALMY(IBVAL)) Q:'IBVAL
  1. S IBIEN=$O(@VALMAR@("INDEX",IBVAL,IBIEN))
  1. D EN^VALM("IBAT PT TRANS DET")
  1. Q
  1. ;
  1. HDR ; -- header code
  1. S DFN(0)=^DPT(DFN,0)
  1. S VALMHDR(1)="Patient: "_$P(DFN(0),"^")_" ("_$P(DFN(0),"^",9)_")"
  1. S VALMHDR(1)=$$SETSTR^VALM1("Transaction Ref #: "_$P(^IBAT(351.61,IBIEN,0),"^"),VALMHDR(1),50,29)
  1. Q
  1. ;
  1. INIT ; -- init variables and list array
  1. S VALMCNT=0
  1. D ^IBATLM2A
  1. Q
  1. ;
  1. HELP ; -- help code
  1. S X="?" D DISP^XQORM1 W !!
  1. Q
  1. ;
  1. EXIT ; -- exit code
  1. D LMOPT^IBATUTL
  1. K ^TMP("IBATEE",$J)
  1. Q