IBINI0D4 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,"FUN",156,1)
;;=S IBCDX=X,IBDTX=X1 D FCC^IBEFUNC1 S X=IBCHGX K IBCDX,IBDTX,IBCHGX
;;^UTILITY(U,$J,"FUN",156,3)
;;=2
;;^UTILITY(U,$J,"FUN",156,9)
;;=Returns the charge for procedure (X) on date (X1).
;;^UTILITY(U,$J,"FUN",157,0)
;;=IB CPT BILLING STATUS
;;^UTILITY(U,$J,"FUN",157,1)
;;=S IBCDX=X,IBDTX=X1 D FCBS^IBEFUNC1 S X=$P(IBSTX,"^",2) K IBCDX,IBDTX,IBSTX
;;^UTILITY(U,$J,"FUN",157,3)
;;=2
;;^UTILITY(U,$J,"FUN",157,9)
;;=Returns the billing status for procedure (X) on date (X1).
;;^UTILITY(U,$J,"FUN",169,0)
;;=IBNEXTAPPT
;;^UTILITY(U,$J,"FUN",169,1)
;;=S X=$$DAT1^IBOUTL($O(^DPT(D0,"S",DT)))
;;^UTILITY(U,$J,"FUN",169,2)
;;=X
;;^UTILITY(U,$J,"FUN",169,3)
;;=1
;;^UTILITY(U,$J,"FUN",169,9)
;;=Determines next appointment date from today. Use only on files where D0 = dfn
;;^UTILITY(U,$J,"KEY",133,0)
;;=IB AUTHORIZE^^^n
;;^UTILITY(U,$J,"KEY",134,0)
;;=IB SUPERVISOR
;;^UTILITY(U,$J,"KEY",135,0)
;;=IB EDIT
;;^UTILITY(U,$J,"KEY",151,0)
;;=IB CLAIMS SUPERVISOR^SUPERVISOR FUNCTIONS FOR C.T.^^n
;;^UTILITY(U,$J,"KEY",151,1,0)
;;=^^3^3^2940210^^^
;;^UTILITY(U,$J,"KEY",151,1,1,0)
;;=This key should be allocated to individuals who may perform certain
;;^UTILITY(U,$J,"KEY",151,1,2,0)
;;=supervisory functions in Claims Tracking such as deleting claims tracking
;;^UTILITY(U,$J,"KEY",151,1,3,0)
;;=entries and reviews.
;;^UTILITY(U,$J,"KEY",152,0)
;;=IB INSURANCE SUPERVISOR^INSURANCE SUPERVISOR KEY^^n
;;^UTILITY(U,$J,"KEY",152,1,0)
;;=^^3^3^2940107^^^^
;;^UTILITY(U,$J,"KEY",152,1,1,0)
;;=This key should only be given to those individuals who may perform
;;^UTILITY(U,$J,"KEY",152,1,2,0)
;;=supervisory insurance functions such as deleting insurance companies,
;;^UTILITY(U,$J,"KEY",152,1,3,0)
;;=deleting policies, and inactivating and merging insurance information.
;;^UTILITY(U,$J,"KEY",154,0)
;;=IBDF IRM
;;^UTILITY(U,$J,"KEY",154,1,0)
;;=^^3^3^2930929^
;;^UTILITY(U,$J,"KEY",154,1,1,0)
;;=
;;^UTILITY(U,$J,"KEY",154,1,2,0)
;;=Used to prevent access to Encounter Form Utility options that are for IRM
;;^UTILITY(U,$J,"KEY",154,1,3,0)
;;=staffs only.
;;^UTILITY(U,$J,"OPT",1208,0)
;;=IB EDIT BILLING INFO^Enter/Edit Billing Information^^R^^IB EDIT^^^^^^INTEGRATED BILLING^^^1
;;^UTILITY(U,$J,"OPT",1208,1,0)
;;=^^3^3^2940120^^^^
;;^UTILITY(U,$J,"OPT",1208,1,1,0)
;;=This option allows the user to enter the information required to
;;^UTILITY(U,$J,"OPT",1208,1,2,0)
;;=generate a third party bill and to edit existing billing
;;^UTILITY(U,$J,"OPT",1208,1,3,0)
;;=information.
;;^UTILITY(U,$J,"OPT",1208,15)
;;=D KILL^IBCMENU
;;^UTILITY(U,$J,"OPT",1208,20)
;;=
;;^UTILITY(U,$J,"OPT",1208,25)
;;=EDI^IBCB
;;^UTILITY(U,$J,"OPT",1208,"U")
;;=ENTER/EDIT BILLING INFORMATION
;;^UTILITY(U,$J,"OPT",1213,0)
;;=IB AUTHORIZE BILL GENERATION^Authorize Bill Generation^^R^^IB AUTHORIZE^^^^^^INTEGRATED BILLING
;;^UTILITY(U,$J,"OPT",1213,1,0)
;;=^^4^4^2880629^^^^
;;^UTILITY(U,$J,"OPT",1213,1,1,0)
;;=This option allows the user to perform final review of
;;^UTILITY(U,$J,"OPT",1213,1,2,0)
;;=information contained in a billing record. The user is
;;^UTILITY(U,$J,"OPT",1213,1,3,0)
;;=then able to authorize the generation of the bill and
;;^UTILITY(U,$J,"OPT",1213,1,4,0)
;;=the release of the information to Fiscal.
;;^UTILITY(U,$J,"OPT",1213,20)
;;=
;;^UTILITY(U,$J,"OPT",1213,25)
;;=2^IBCMENU
;;^UTILITY(U,$J,"OPT",1213,"U")
;;=AUTHORIZE BILL GENERATION
;;^UTILITY(U,$J,"OPT",1214,0)
;;=IB PRINT BILL^Print Bill^^R^^^^^^^^INTEGRATED BILLING
IBINI0D4 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 FOR I=1:2
SET X=$TEXT(Q+I)
IF X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
IF $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,"FUN",156,1)
+2 ;;=S IBCDX=X,IBDTX=X1 D FCC^IBEFUNC1 S X=IBCHGX K IBCDX,IBDTX,IBCHGX
+3 ;;^UTILITY(U,$J,"FUN",156,3)
+4 ;;=2
+5 ;;^UTILITY(U,$J,"FUN",156,9)
+6 ;;=Returns the charge for procedure (X) on date (X1).
+7 ;;^UTILITY(U,$J,"FUN",157,0)
+8 ;;=IB CPT BILLING STATUS
+9 ;;^UTILITY(U,$J,"FUN",157,1)
+10 ;;=S IBCDX=X,IBDTX=X1 D FCBS^IBEFUNC1 S X=$P(IBSTX,"^",2) K IBCDX,IBDTX,IBSTX
+11 ;;^UTILITY(U,$J,"FUN",157,3)
+12 ;;=2
+13 ;;^UTILITY(U,$J,"FUN",157,9)
+14 ;;=Returns the billing status for procedure (X) on date (X1).
+15 ;;^UTILITY(U,$J,"FUN",169,0)
+16 ;;=IBNEXTAPPT
+17 ;;^UTILITY(U,$J,"FUN",169,1)
+18 ;;=S X=$$DAT1^IBOUTL($O(^DPT(D0,"S",DT)))
+19 ;;^UTILITY(U,$J,"FUN",169,2)
+20 ;;=X
+21 ;;^UTILITY(U,$J,"FUN",169,3)
+22 ;;=1
+23 ;;^UTILITY(U,$J,"FUN",169,9)
+24 ;;=Determines next appointment date from today. Use only on files where D0 = dfn
+25 ;;^UTILITY(U,$J,"KEY",133,0)
+26 ;;=IB AUTHORIZE^^^n
+27 ;;^UTILITY(U,$J,"KEY",134,0)
+28 ;;=IB SUPERVISOR
+29 ;;^UTILITY(U,$J,"KEY",135,0)
+30 ;;=IB EDIT
+31 ;;^UTILITY(U,$J,"KEY",151,0)
+32 ;;=IB CLAIMS SUPERVISOR^SUPERVISOR FUNCTIONS FOR C.T.^^n
+33 ;;^UTILITY(U,$J,"KEY",151,1,0)
+34 ;;=^^3^3^2940210^^^
+35 ;;^UTILITY(U,$J,"KEY",151,1,1,0)
+36 ;;=This key should be allocated to individuals who may perform certain
+37 ;;^UTILITY(U,$J,"KEY",151,1,2,0)
+38 ;;=supervisory functions in Claims Tracking such as deleting claims tracking
+39 ;;^UTILITY(U,$J,"KEY",151,1,3,0)
+40 ;;=entries and reviews.
+41 ;;^UTILITY(U,$J,"KEY",152,0)
+42 ;;=IB INSURANCE SUPERVISOR^INSURANCE SUPERVISOR KEY^^n
+43 ;;^UTILITY(U,$J,"KEY",152,1,0)
+44 ;;=^^3^3^2940107^^^^
+45 ;;^UTILITY(U,$J,"KEY",152,1,1,0)
+46 ;;=This key should only be given to those individuals who may perform
+47 ;;^UTILITY(U,$J,"KEY",152,1,2,0)
+48 ;;=supervisory insurance functions such as deleting insurance companies,
+49 ;;^UTILITY(U,$J,"KEY",152,1,3,0)
+50 ;;=deleting policies, and inactivating and merging insurance information.
+51 ;;^UTILITY(U,$J,"KEY",154,0)
+52 ;;=IBDF IRM
+53 ;;^UTILITY(U,$J,"KEY",154,1,0)
+54 ;;=^^3^3^2930929^
+55 ;;^UTILITY(U,$J,"KEY",154,1,1,0)
+56 ;;=
+57 ;;^UTILITY(U,$J,"KEY",154,1,2,0)
+58 ;;=Used to prevent access to Encounter Form Utility options that are for IRM
+59 ;;^UTILITY(U,$J,"KEY",154,1,3,0)
+60 ;;=staffs only.
+61 ;;^UTILITY(U,$J,"OPT",1208,0)
+62 ;;=IB EDIT BILLING INFO^Enter/Edit Billing Information^^R^^IB EDIT^^^^^^INTEGRATED BILLING^^^1
+63 ;;^UTILITY(U,$J,"OPT",1208,1,0)
+64 ;;=^^3^3^2940120^^^^
+65 ;;^UTILITY(U,$J,"OPT",1208,1,1,0)
+66 ;;=This option allows the user to enter the information required to
+67 ;;^UTILITY(U,$J,"OPT",1208,1,2,0)
+68 ;;=generate a third party bill and to edit existing billing
+69 ;;^UTILITY(U,$J,"OPT",1208,1,3,0)
+70 ;;=information.
+71 ;;^UTILITY(U,$J,"OPT",1208,15)
+72 ;;=D KILL^IBCMENU
+73 ;;^UTILITY(U,$J,"OPT",1208,20)
+74 ;;=
+75 ;;^UTILITY(U,$J,"OPT",1208,25)
+76 ;;=EDI^IBCB
+77 ;;^UTILITY(U,$J,"OPT",1208,"U")
+78 ;;=ENTER/EDIT BILLING INFORMATION
+79 ;;^UTILITY(U,$J,"OPT",1213,0)
+80 ;;=IB AUTHORIZE BILL GENERATION^Authorize Bill Generation^^R^^IB AUTHORIZE^^^^^^INTEGRATED BILLING
+81 ;;^UTILITY(U,$J,"OPT",1213,1,0)
+82 ;;=^^4^4^2880629^^^^
+83 ;;^UTILITY(U,$J,"OPT",1213,1,1,0)
+84 ;;=This option allows the user to perform final review of
+85 ;;^UTILITY(U,$J,"OPT",1213,1,2,0)
+86 ;;=information contained in a billing record. The user is
+87 ;;^UTILITY(U,$J,"OPT",1213,1,3,0)
+88 ;;=then able to authorize the generation of the bill and
+89 ;;^UTILITY(U,$J,"OPT",1213,1,4,0)
+90 ;;=the release of the information to Fiscal.
+91 ;;^UTILITY(U,$J,"OPT",1213,20)
+92 ;;=
+93 ;;^UTILITY(U,$J,"OPT",1213,25)
+94 ;;=2^IBCMENU
+95 ;;^UTILITY(U,$J,"OPT",1213,"U")
+96 ;;=AUTHORIZE BILL GENERATION
+97 ;;^UTILITY(U,$J,"OPT",1214,0)
+98 ;;=IB PRINT BILL^Print Bill^^R^^^^^^^^INTEGRATED BILLING