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

IBCMENU.m

Go to the documentation of this file.
IBCMENU	;ALB/MRL,MJB - UB-82 BILLING MENU  ;01 JUN 88 12:00
	;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
	;;Per VHA Directive 10-93-142, this routine should not be modified.
	;
	;MAP TO DGCRMENU
	;
	D DT^DICRW S DIK="^DOPT(""IBCMENU"","
	G:$D(^DOPT("IBCMENU",16)) A S ^DOPT("IBCMENU",0)="Billing Option^1N^" F I=1:1 S X=$T(@I) Q:X=""  S ^DOPT("IBCMENU",I,0)=$P(X,";;",2,99)
	D IXALL^DIK
A	W ! S DIC="^DOPT(""IBCMENU"",",DIC(0)="QEAM" D ^DIC Q:Y'>0  D @+Y G A
1	;;ACTIVATE/INACTIVATE REVENUE CODES
	W ! S DIC="^DGCR(399.2,",DIC(0)="AEQM" D ^DIC G KILL:Y'>0 S DA=+Y,DIE=DIC,DR="[IB ACTIVATE]" D ^DIE K DR G 1
	;
2	;;AUTHORIZE BILL GENERATION
	D KILL S IBAC=3 D AUT^IBCB,KILL Q
	;
3	;;BILL STATUS REPORT
	D ^IBOSTUS,KILL
	I $D(ZTQUEUED) S ZTREQ="@"
	Q
	;
4	;;CANCEL BILL
	D KILL S IBCAN=1 D ^IBCC,KILL Q
	;
5	;;ENTER/EDIT BILLING INFORMATION
	D KILL S IBAC=1 D EDI^IBCB,KILL Q
	;
6	;;PRINT BILL
	D KILL S IBAC=4 D GEN^IBCB,KILL
	I $D(ZTQUEUED) S ZTREQ="@"
	Q
	;
7	;;INPATIENTS WITH INSURANCE (NSC)
	D KILL S IBINPT=1 D INP^IBCONSC,KILL Q
	;
8	;;MAS BILLING LOG
	D ^IBOMBL,KILL Q
	;
9	;;OUTPATIENTS WITH INSURANCE (NSC)
	D KILL S IBOPT=1 D EN^IBCONSC,KILL Q
	;
10	;;PARAMETER ENTRY/EDIT
	D ^IBEPAR,KILL Q
	;
11	;;PATIENT BILLING INQUIRY
	D ^IBCNQ,KILL Q
	;
12	;;REOPEN BILLING RECORD
	W !,"NOT AVAILABLE",! Q  ;D ^IBCREO,KILL Q
	;
13	;;REPORT OF RATE TYPE TOTALS
	D ^IBORT,KILL
	I $D(ZTQUEUED) S ZTREQ="@"
	Q
	;
14	;;REVIEW BILL
	D KILL S IBAC=2 D REV^IBCB,KILL Q
	;
15	;;UPDATE RATE TYPE FILE
	W ! S DIC="^DGCR(399.3,",DIC(0)="AEQMZL" D ^DIC G KILL:Y'>0 S DA=+Y,DIE=DIC,DR="[IB RATE EDIT]" D ^DIE
	D KILL Q
16	;;CLONE A BILL (COPY AND CANCEL)
	D KILL,^IBCCC,KILL Q
	;
KILL	S IBKILL=1 D Q5^IBCVA K IBADI,IB00,DGCT1,IBPAR,IB,IBEDIT,IBK,IBPRNT,IBN,IBNEW,IBTAG,IBAUT,IBCAN,IBZ,IBZ,IBOUT,IBKILL,IBAC,IBDPT,IBDG,DGS,IBCCC,IBCCCC,IBIFN,DFN
	K IB1,IBA,IBA2,IBAC1,IBAD,IBADD1,IBDATA,IBU,IBUN,IBV1,IBVI,IBVO,IBW,IBWW,DGDRS1,IBX1,IBX2,X3,IBX3,DIC,G,%H,J1,X,X1,X2,XZ,Y,Z0,PRCASV,IBPNT,IBIFN2
	K IBYN,IBUB,IBU1,IBOPT,IBDR,IBABRT,IB6,IB7,IB8,IB9,IBCT,IBDIA,IBDX,IBDXC,IBHCN,IBNC,IBOPC,IBP,IBSP,IBUC,IBWE,IBWO,DGMTLL,DGPCM,DGPT,F,VAERR,VA,IBQUIT,PRCAPAYR,PTF,DGPTUPDT Q
	K IBEPAR
	;IBCMENU