source: WorldVistAEHR/trunk/r/INTEGRATED_BILLING-IB-PRQ--IBD--IBQ--PRQS/IBATLM2.m@ 762

Last change on this file since 762 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 825 bytes
Line 
1IBATLM2 ;LL/ELZ - TRANSFER PRICING PT TRANSACTION DETAIL ; 15-SEP-1998
2 ;;2.0;INTEGRATED BILLING;**115**;21-MAR-94
3 ;;Per VHA Directive 10-93-142, this routine should not be modified.
4 ;
5EN ; -- main entry point for IBAT PT TRANS DET
6 N IBVAL,IBIEN
7 D LMOPT^IBATUTL,EN^VALM2($G(XQORNOD(0)))
8 S (IBVAL,IBIEN)=0,IBVAL=$O(VALMY(IBVAL)) Q:'IBVAL
9 S IBIEN=$O(@VALMAR@("INDEX",IBVAL,IBIEN))
10 D EN^VALM("IBAT PT TRANS DET")
11 Q
12 ;
13HDR ; -- header code
14 S DFN(0)=^DPT(DFN,0)
15 S VALMHDR(1)="Patient: "_$P(DFN(0),"^")_" ("_$P(DFN(0),"^",9)_")"
16 S VALMHDR(1)=$$SETSTR^VALM1("Transaction Ref #: "_$P(^IBAT(351.61,IBIEN,0),"^"),VALMHDR(1),50,29)
17 Q
18 ;
19INIT ; -- init variables and list array
20 S VALMCNT=0
21 D ^IBATLM2A
22 Q
23 ;
24HELP ; -- help code
25 S X="?" D DISP^XQORM1 W !!
26 Q
27 ;
28EXIT ; -- exit code
29 D LMOPT^IBATUTL
30 K ^TMP("IBATEE",$J)
31 Q
Note: See TracBrowser for help on using the repository browser.