IBINI0AZ ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(399) 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
;;^DD(399.046,.02,0)
;;=USER^P200'^VA(200,^0;2^Q
;;^DD(399.046,.02,1,0)
;;=^.1^^0
;;^DD(399.046,.02,21,0)
;;=^^1^1^2911025^
;;^DD(399.046,.02,21,1,0)
;;=This is the user who edited or returned the bill.
;;^DD(399.046,.02,"DT")
;;=2901004
;;^DD(399.046,.03,0)
;;=RETURNED COMMENTS^F^^0;3^K:$L(X)>80!($L(X)<3) X
;;^DD(399.046,.03,3)
;;=Answer must be 3-80 characters in length.
;;^DD(399.046,.03,21,0)
;;=^^2^2^2940214^^
;;^DD(399.046,.03,21,1,0)
;;=Enter any comments that you would like stored with this bill. This may
;;^DD(399.046,.03,21,2,0)
;;=include documentation of any changes and why they occured.
;;^DD(399.046,.03,"DT")
;;=2900606
;;^DD(399.046,.04,0)
;;=RETURN TO A/R?^FXO^^0;4^I $D(X) D YN^IBCU
;;^DD(399.046,.04,1,0)
;;=^.1
;;^DD(399.046,.04,1,1,0)
;;=399.046^AC
;;^DD(399.046,.04,1,1,1)
;;=S ^DGCR(399,DA(1),"R","AC",$E(X,1,30),DA)=""
;;^DD(399.046,.04,1,1,2)
;;=K ^DGCR(399,DA(1),"R","AC",$E(X,1,30),DA)
;;^DD(399.046,.04,2)
;;=S Y(0)=Y S Y=$S(Y:"YES",Y=0:"NO",1:"")
;;^DD(399.046,.04,2.1)
;;=S Y=$S(Y:"YES",Y=0:"NO",1:"")
;;^DD(399.046,.04,3)
;;=Answer must be 1 character in length.
;;^DD(399.046,.04,21,0)
;;=^^2^2^2911025^^
;;^DD(399.046,.04,21,1,0)
;;=Enter 'Yes' if you are returning this bill to Accounts Receivable at
;;^DD(399.046,.04,21,2,0)
;;=this time. Enter 'No' if you do not wish to return this bill at this time.
;;^DD(399.046,.04,"DT")
;;=2920921
;;^DD(399.047,0)
;;=VALUE CODE SUB-FIELD^^.02^2
;;^DD(399.047,0,"DIK")
;;=IBXX
;;^DD(399.047,0,"DT")
;;=2931222
;;^DD(399.047,0,"IX","B",399.047,.01)
;;=
;;^DD(399.047,0,"NM","VALUE CODE")
;;=
;;^DD(399.047,0,"UP")
;;=399
;;^DD(399.047,.01,0)
;;=VALUE CODE^M*P399.1'^DGCR(399.1,^0;1^S DIC("S")="I +$P($G(^DGCR(399.1,+Y,0)),U,11)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(399.047,.01,1,0)
;;=^.1
;;^DD(399.047,.01,1,1,0)
;;=399.047^B
;;^DD(399.047,.01,1,1,1)
;;=S ^DGCR(399,DA(1),"CV","B",$E(X,1,30),DA)=""
;;^DD(399.047,.01,1,1,2)
;;=K ^DGCR(399,DA(1),"CV","B",$E(X,1,30),DA)
;;^DD(399.047,.01,3)
;;=Enter a Value Code that applies to this bill.
;;^DD(399.047,.01,12)
;;=Value Codes Only!
;;^DD(399.047,.01,12.1)
;;=S DIC("S")="I +$P($G(^DGCR(399.1,+Y,0)),U,11)"
;;^DD(399.047,.01,21,0)
;;=^^2^2^2931230^^
;;^DD(399.047,.01,21,1,0)
;;=This code relates amounts or values to identified data elements necessary
;;^DD(399.047,.01,21,2,0)
;;=to process this claim as qualified by the payer.
;;^DD(399.047,.01,"DT")
;;=2931222
;;^DD(399.047,.02,0)
;;=VALUE^F^^0;2^K:$L(X)>9!($L(X)<1) X
;;^DD(399.047,.02,3)
;;=Answer must be 1-9 characters in length.
;;^DD(399.047,.02,21,0)
;;=^^1^1^2931222^^
;;^DD(399.047,.02,21,1,0)
;;=Enter the amount or value that corresponds to this value code.
;;^DD(399.047,.02,"DT")
;;=2931222
IBINI0AZ ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(399)
QUIT
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 ;;^DD(399.046,.02,0)
+2 ;;=USER^P200'^VA(200,^0;2^Q
+3 ;;^DD(399.046,.02,1,0)
+4 ;;=^.1^^0
+5 ;;^DD(399.046,.02,21,0)
+6 ;;=^^1^1^2911025^
+7 ;;^DD(399.046,.02,21,1,0)
+8 ;;=This is the user who edited or returned the bill.
+9 ;;^DD(399.046,.02,"DT")
+10 ;;=2901004
+11 ;;^DD(399.046,.03,0)
+12 ;;=RETURNED COMMENTS^F^^0;3^K:$L(X)>80!($L(X)<3) X
+13 ;;^DD(399.046,.03,3)
+14 ;;=Answer must be 3-80 characters in length.
+15 ;;^DD(399.046,.03,21,0)
+16 ;;=^^2^2^2940214^^
+17 ;;^DD(399.046,.03,21,1,0)
+18 ;;=Enter any comments that you would like stored with this bill. This may
+19 ;;^DD(399.046,.03,21,2,0)
+20 ;;=include documentation of any changes and why they occured.
+21 ;;^DD(399.046,.03,"DT")
+22 ;;=2900606
+23 ;;^DD(399.046,.04,0)
+24 ;;=RETURN TO A/R?^FXO^^0;4^I $D(X) D YN^IBCU
+25 ;;^DD(399.046,.04,1,0)
+26 ;;=^.1
+27 ;;^DD(399.046,.04,1,1,0)
+28 ;;=399.046^AC
+29 ;;^DD(399.046,.04,1,1,1)
+30 ;;=S ^DGCR(399,DA(1),"R","AC",$E(X,1,30),DA)=""
+31 ;;^DD(399.046,.04,1,1,2)
+32 ;;=K ^DGCR(399,DA(1),"R","AC",$E(X,1,30),DA)
+33 ;;^DD(399.046,.04,2)
+34 ;;=S Y(0)=Y S Y=$S(Y:"YES",Y=0:"NO",1:"")
+35 ;;^DD(399.046,.04,2.1)
+36 ;;=S Y=$S(Y:"YES",Y=0:"NO",1:"")
+37 ;;^DD(399.046,.04,3)
+38 ;;=Answer must be 1 character in length.
+39 ;;^DD(399.046,.04,21,0)
+40 ;;=^^2^2^2911025^^
+41 ;;^DD(399.046,.04,21,1,0)
+42 ;;=Enter 'Yes' if you are returning this bill to Accounts Receivable at
+43 ;;^DD(399.046,.04,21,2,0)
+44 ;;=this time. Enter 'No' if you do not wish to return this bill at this time.
+45 ;;^DD(399.046,.04,"DT")
+46 ;;=2920921
+47 ;;^DD(399.047,0)
+48 ;;=VALUE CODE SUB-FIELD^^.02^2
+49 ;;^DD(399.047,0,"DIK")
+50 ;;=IBXX
+51 ;;^DD(399.047,0,"DT")
+52 ;;=2931222
+53 ;;^DD(399.047,0,"IX","B",399.047,.01)
+54 ;;=
+55 ;;^DD(399.047,0,"NM","VALUE CODE")
+56 ;;=
+57 ;;^DD(399.047,0,"UP")
+58 ;;=399
+59 ;;^DD(399.047,.01,0)
+60 ;;=VALUE CODE^M*P399.1'^DGCR(399.1,^0;1^S DIC("S")="I +$P($G(^DGCR(399.1,+Y,0)),U,11)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+61 ;;^DD(399.047,.01,1,0)
+62 ;;=^.1
+63 ;;^DD(399.047,.01,1,1,0)
+64 ;;=399.047^B
+65 ;;^DD(399.047,.01,1,1,1)
+66 ;;=S ^DGCR(399,DA(1),"CV","B",$E(X,1,30),DA)=""
+67 ;;^DD(399.047,.01,1,1,2)
+68 ;;=K ^DGCR(399,DA(1),"CV","B",$E(X,1,30),DA)
+69 ;;^DD(399.047,.01,3)
+70 ;;=Enter a Value Code that applies to this bill.
+71 ;;^DD(399.047,.01,12)
+72 ;;=Value Codes Only!
+73 ;;^DD(399.047,.01,12.1)
+74 ;;=S DIC("S")="I +$P($G(^DGCR(399.1,+Y,0)),U,11)"
+75 ;;^DD(399.047,.01,21,0)
+76 ;;=^^2^2^2931230^^
+77 ;;^DD(399.047,.01,21,1,0)
+78 ;;=This code relates amounts or values to identified data elements necessary
+79 ;;^DD(399.047,.01,21,2,0)
+80 ;;=to process this claim as qualified by the payer.
+81 ;;^DD(399.047,.01,"DT")
+82 ;;=2931222
+83 ;;^DD(399.047,.02,0)
+84 ;;=VALUE^F^^0;2^K:$L(X)>9!($L(X)<1) X
+85 ;;^DD(399.047,.02,3)
+86 ;;=Answer must be 1-9 characters in length.
+87 ;;^DD(399.047,.02,21,0)
+88 ;;=^^1^1^2931222^^
+89 ;;^DD(399.047,.02,21,1,0)
+90 ;;=Enter the amount or value that corresponds to this value code.
+91 ;;^DD(399.047,.02,"DT")
+92 ;;=2931222