IBINI052 ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(355.5) 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(355.5,.03,21,1,0)
;;=This is the first day of the year in which the health insurance policy's
;;^DD(355.5,.03,21,2,0)
;;=benefits apply. Exact date (with month and day) is required.
;;^DD(355.5,.03,23,0)
;;=^^3^3^2931217^
;;^DD(355.5,.03,23,1,0)
;;=This field must match the year for an entry for this patient and policy
;;^DD(355.5,.03,23,2,0)
;;=in the annual benefits field. It is automatically stored by the system
;;^DD(355.5,.03,23,3,0)
;;=when creating an entry. It is not editable.
;;^DD(355.5,.03,"DT")
;;=2931217
;;^DD(355.5,.04,0)
;;=DEDUCTIBLE MET?^S^0:NO;1:YES;^0;4^Q
;;^DD(355.5,.04,21,0)
;;=^^3^3^2930713^^^
;;^DD(355.5,.04,21,1,0)
;;=If the dollar amount of claims against this policy is less than the
;;^DD(355.5,.04,21,2,0)
;;=the policy's annual deductible, enter "NO". If it is equal to or
;;^DD(355.5,.04,21,3,0)
;;=greater than the annual deductible, enter "YES".
;;^DD(355.5,.04,"DT")
;;=2930513
;;^DD(355.5,.05,0)
;;=AMOUNT OF DEDUCTIBLE MET^NJ9,2^^0;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
;;^DD(355.5,.05,3)
;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
;;^DD(355.5,.05,21,0)
;;=^^1^1^2930713^
;;^DD(355.5,.05,21,1,0)
;;=Enter the dollar amount of claims against this policy.
;;^DD(355.5,.05,"DT")
;;=2930513
;;^DD(355.5,.06,0)
;;=DEDUCTIBLE (INPT) MET?^S^1:YES;0:NO;^0;6^Q
;;^DD(355.5,.06,21,0)
;;=^^4^4^2930713^
;;^DD(355.5,.06,21,1,0)
;;=If the dollar amount of claims for inpatient services is less than
;;^DD(355.5,.06,21,2,0)
;;=the policy's annual deductible for inpatient services, enter "NO".
;;^DD(355.5,.06,21,3,0)
;;=If it is equal to or greater than the annual deductible for such
;;^DD(355.5,.06,21,4,0)
;;=services, enter "YES".
;;^DD(355.5,.06,"DT")
;;=2930513
;;^DD(355.5,.07,0)
;;=AMOUNT OF DEDUCTIBLE (INP) MET^NJ9,2^^0;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
;;^DD(355.5,.07,3)
;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
;;^DD(355.5,.07,21,0)
;;=^^2^2^2930713^
;;^DD(355.5,.07,21,1,0)
;;=Enter the dollar amount of claims against this policy for inpatient
;;^DD(355.5,.07,21,2,0)
;;=services.
;;^DD(355.5,.07,"DT")
;;=2930513
;;^DD(355.5,.08,0)
;;=DEDUCTIBLE (OPT) MET?^S^0:NO;1:YES;^0;8^Q
;;^DD(355.5,.08,21,0)
;;=^^4^4^2930713^
;;^DD(355.5,.08,21,1,0)
;;=If the dollar amount of claims for outpatient services is less than
;;^DD(355.5,.08,21,2,0)
;;=the policy's annual deductible for outpatient services, enter "NO".
;;^DD(355.5,.08,21,3,0)
;;=If it is equal to or greater than the annual deductible for such
;;^DD(355.5,.08,21,4,0)
;;=services, enter "YES".
;;^DD(355.5,.08,"DT")
;;=2930513
;;^DD(355.5,.09,0)
;;=AMOUNT OF DEDUCTIBLE (OPT) MET^NJ6,0^^0;9^K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
;;^DD(355.5,.09,3)
;;=Type a Number between 0 and 999999, 0 Decimal Digits
;;^DD(355.5,.09,21,0)
;;=^^2^2^2930713^
;;^DD(355.5,.09,21,1,0)
;;=Enter the dollar amount of claims against this policy for outpatient
;;^DD(355.5,.09,21,2,0)
;;=services.
;;^DD(355.5,.09,"DT")
;;=2930513
;;^DD(355.5,.1,0)
;;=AMT LIFETIME MAX USED (OPT)^NJ7,0^^0;10^K:+X'=X!(X>9999999)!(X<0)!(X?.E1"."1N.N) X
;;^DD(355.5,.1,3)
;;=Type a Number between 0 and 9999999, 0 Decimal Digits
;;^DD(355.5,.1,21,0)
;;=^^3^3^2931214^^^^
;;^DD(355.5,.1,21,1,0)
;;=Enter the dollar amount of claims against this policy, which can
;;^DD(355.5,.1,21,2,0)
;;=then be compared to the maximum amount available over the life of
;;^DD(355.5,.1,21,3,0)
;;=the policy.
IBINI052 ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(355.5)
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(355.5,.03,21,1,0)
+2 ;;=This is the first day of the year in which the health insurance policy's
+3 ;;^DD(355.5,.03,21,2,0)
+4 ;;=benefits apply. Exact date (with month and day) is required.
+5 ;;^DD(355.5,.03,23,0)
+6 ;;=^^3^3^2931217^
+7 ;;^DD(355.5,.03,23,1,0)
+8 ;;=This field must match the year for an entry for this patient and policy
+9 ;;^DD(355.5,.03,23,2,0)
+10 ;;=in the annual benefits field. It is automatically stored by the system
+11 ;;^DD(355.5,.03,23,3,0)
+12 ;;=when creating an entry. It is not editable.
+13 ;;^DD(355.5,.03,"DT")
+14 ;;=2931217
+15 ;;^DD(355.5,.04,0)
+16 ;;=DEDUCTIBLE MET?^S^0:NO;1:YES;^0;4^Q
+17 ;;^DD(355.5,.04,21,0)
+18 ;;=^^3^3^2930713^^^
+19 ;;^DD(355.5,.04,21,1,0)
+20 ;;=If the dollar amount of claims against this policy is less than the
+21 ;;^DD(355.5,.04,21,2,0)
+22 ;;=the policy's annual deductible, enter "NO". If it is equal to or
+23 ;;^DD(355.5,.04,21,3,0)
+24 ;;=greater than the annual deductible, enter "YES".
+25 ;;^DD(355.5,.04,"DT")
+26 ;;=2930513
+27 ;;^DD(355.5,.05,0)
+28 ;;=AMOUNT OF DEDUCTIBLE MET^NJ9,2^^0;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
+29 ;;^DD(355.5,.05,3)
+30 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
+31 ;;^DD(355.5,.05,21,0)
+32 ;;=^^1^1^2930713^
+33 ;;^DD(355.5,.05,21,1,0)
+34 ;;=Enter the dollar amount of claims against this policy.
+35 ;;^DD(355.5,.05,"DT")
+36 ;;=2930513
+37 ;;^DD(355.5,.06,0)
+38 ;;=DEDUCTIBLE (INPT) MET?^S^1:YES;0:NO;^0;6^Q
+39 ;;^DD(355.5,.06,21,0)
+40 ;;=^^4^4^2930713^
+41 ;;^DD(355.5,.06,21,1,0)
+42 ;;=If the dollar amount of claims for inpatient services is less than
+43 ;;^DD(355.5,.06,21,2,0)
+44 ;;=the policy's annual deductible for inpatient services, enter "NO".
+45 ;;^DD(355.5,.06,21,3,0)
+46 ;;=If it is equal to or greater than the annual deductible for such
+47 ;;^DD(355.5,.06,21,4,0)
+48 ;;=services, enter "YES".
+49 ;;^DD(355.5,.06,"DT")
+50 ;;=2930513
+51 ;;^DD(355.5,.07,0)
+52 ;;=AMOUNT OF DEDUCTIBLE (INP) MET^NJ9,2^^0;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
+53 ;;^DD(355.5,.07,3)
+54 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
+55 ;;^DD(355.5,.07,21,0)
+56 ;;=^^2^2^2930713^
+57 ;;^DD(355.5,.07,21,1,0)
+58 ;;=Enter the dollar amount of claims against this policy for inpatient
+59 ;;^DD(355.5,.07,21,2,0)
+60 ;;=services.
+61 ;;^DD(355.5,.07,"DT")
+62 ;;=2930513
+63 ;;^DD(355.5,.08,0)
+64 ;;=DEDUCTIBLE (OPT) MET?^S^0:NO;1:YES;^0;8^Q
+65 ;;^DD(355.5,.08,21,0)
+66 ;;=^^4^4^2930713^
+67 ;;^DD(355.5,.08,21,1,0)
+68 ;;=If the dollar amount of claims for outpatient services is less than
+69 ;;^DD(355.5,.08,21,2,0)
+70 ;;=the policy's annual deductible for outpatient services, enter "NO".
+71 ;;^DD(355.5,.08,21,3,0)
+72 ;;=If it is equal to or greater than the annual deductible for such
+73 ;;^DD(355.5,.08,21,4,0)
+74 ;;=services, enter "YES".
+75 ;;^DD(355.5,.08,"DT")
+76 ;;=2930513
+77 ;;^DD(355.5,.09,0)
+78 ;;=AMOUNT OF DEDUCTIBLE (OPT) MET^NJ6,0^^0;9^K:+X'=X!(X>999999)!(X<0)!(X?.E1"."1N.N) X
+79 ;;^DD(355.5,.09,3)
+80 ;;=Type a Number between 0 and 999999, 0 Decimal Digits
+81 ;;^DD(355.5,.09,21,0)
+82 ;;=^^2^2^2930713^
+83 ;;^DD(355.5,.09,21,1,0)
+84 ;;=Enter the dollar amount of claims against this policy for outpatient
+85 ;;^DD(355.5,.09,21,2,0)
+86 ;;=services.
+87 ;;^DD(355.5,.09,"DT")
+88 ;;=2930513
+89 ;;^DD(355.5,.1,0)
+90 ;;=AMT LIFETIME MAX USED (OPT)^NJ7,0^^0;10^K:+X'=X!(X>9999999)!(X<0)!(X?.E1"."1N.N) X
+91 ;;^DD(355.5,.1,3)
+92 ;;=Type a Number between 0 and 9999999, 0 Decimal Digits
+93 ;;^DD(355.5,.1,21,0)
+94 ;;=^^3^3^2931214^^^^
+95 ;;^DD(355.5,.1,21,1,0)
+96 ;;=Enter the dollar amount of claims against this policy, which can
+97 ;;^DD(355.5,.1,21,2,0)
+98 ;;=then be compared to the maximum amount available over the life of
+99 ;;^DD(355.5,.1,21,3,0)
+100 ;;=the policy.