IBATLM2 ;LL/ELZ - TRANSFER PRICING PT TRANSACTION DETAIL ; 15-SEP-1998
;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
;;Per VHA Directive 10-93-142, this routine should not be modified.
;
EN ; -- main entry point for IBAT PT TRANS DET
N IBVAL,IBIEN
D LMOPT^IBATUTL,EN^VALM2($G(XQORNOD(0)))
S (IBVAL,IBIEN)=0,IBVAL=$O(VALMY(IBVAL)) Q:'IBVAL
S IBIEN=$O(@VALMAR@("INDEX",IBVAL,IBIEN))
D EN^VALM("IBAT PT TRANS DET")
Q
;
HDR ; -- header code
S DFN(0)=^DPT(DFN,0)
S VALMHDR(1)="Patient: "_$P(DFN(0),"^")_" ("_$P(DFN(0),"^",9)_")"
S VALMHDR(1)=$$SETSTR^VALM1("Transaction Ref #: "_$P(^IBAT(351.61,IBIEN,0),"^"),VALMHDR(1),50,29)
Q
;
INIT ; -- init variables and list array
S VALMCNT=0
D ^IBATLM2A
Q
;
HELP ; -- help code
S X="?" D DISP^XQORM1 W !!
Q
;
EXIT ; -- exit code
D LMOPT^IBATUTL
K ^TMP("IBATEE",$J)
Q
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBATLM2 856 printed Nov 22, 2024@17:17:59 Page 2
IBATLM2 ;LL/ELZ - TRANSFER PRICING PT TRANSACTION DETAIL ; 15-SEP-1998
+1 ;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
+2 ;;Per VHA Directive 10-93-142, this routine should not be modified.
+3 ;
EN ; -- main entry point for IBAT PT TRANS DET
+1 NEW IBVAL,IBIEN
+2 DO LMOPT^IBATUTL
DO EN^VALM2($GET(XQORNOD(0)))
+3 SET (IBVAL,IBIEN)=0
SET IBVAL=$ORDER(VALMY(IBVAL))
if 'IBVAL
QUIT
+4 SET IBIEN=$ORDER(@VALMAR@("INDEX",IBVAL,IBIEN))
+5 DO EN^VALM("IBAT PT TRANS DET")
+6 QUIT
+7 ;
HDR ; -- header code
+1 SET DFN(0)=^DPT(DFN,0)
+2 SET VALMHDR(1)="Patient: "_$PIECE(DFN(0),"^")_" ("_$PIECE(DFN(0),"^",9)_")"
+3 SET VALMHDR(1)=$$SETSTR^VALM1("Transaction Ref #: "_$PIECE(^IBAT(351.61,IBIEN,0),"^"),VALMHDR(1),50,29)
+4 QUIT
+5 ;
INIT ; -- init variables and list array
+1 SET VALMCNT=0
+2 DO ^IBATLM2A
+3 QUIT
+4 ;
HELP ; -- help code
+1 SET X="?"
DO DISP^XQORM1
WRITE !!
+2 QUIT
+3 ;
EXIT ; -- exit code
+1 DO LMOPT^IBATUTL
+2 KILL ^TMP("IBATEE",$JOB)
+3 QUIT