- IBINI04Z ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(355.4) 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.4,5.02,21,2,0)
- ;;=for each admission.
- ;;^DD(355.4,5.02,"DT")
- ;;=2930520
- ;;^DD(355.4,5.03,0)
- ;;=INPATIENT LIFETIME MAXIMUM^NJ10,2^^5;3^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- ;;^DD(355.4,5.03,3)
- ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- ;;^DD(355.4,5.03,21,0)
- ;;=^^2^2^2930713^
- ;;^DD(355.4,5.03,21,1,0)
- ;;=If this policy provides inpatient services, this is the maximum
- ;;^DD(355.4,5.03,21,2,0)
- ;;=amount over the life of this policy for this benefit.
- ;;^DD(355.4,5.03,"DT")
- ;;=2931028
- ;;^DD(355.4,5.04,0)
- ;;=INPATIENT ANNUAL MAXIMUM^NJ9,2^^5;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- ;;^DD(355.4,5.04,3)
- ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- ;;^DD(355.4,5.04,21,0)
- ;;=^^2^2^2930713^
- ;;^DD(355.4,5.04,21,1,0)
- ;;=If this policy provides inpatient services, this is the maximum
- ;;^DD(355.4,5.04,21,2,0)
- ;;=annual amount of this benefit.
- ;;^DD(355.4,5.04,"DT")
- ;;=2930520
- ;;^DD(355.4,5.05,0)
- ;;=MH LIFETIME INPATIENT MAXIMUM^NJ10,2^^5;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- ;;^DD(355.4,5.05,3)
- ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- ;;^DD(355.4,5.05,21,0)
- ;;=^^2^2^2930607^
- ;;^DD(355.4,5.05,21,1,0)
- ;;=If this policy provides a benefit for mental health inpatient services,
- ;;^DD(355.4,5.05,21,2,0)
- ;;=this is the maximum amount over the life of the policy for this benefit.
- ;;^DD(355.4,5.05,"DT")
- ;;=2931028
- ;;^DD(355.4,5.06,0)
- ;;=MH ANNUAL INPATIENT MAXIMUM^NJ9,2^^5;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- ;;^DD(355.4,5.06,3)
- ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- ;;^DD(355.4,5.06,21,0)
- ;;=^^3^3^2930607^
- ;;^DD(355.4,5.06,21,1,0)
- ;;=If this policy provides a benefit for mental health inpatient services,
- ;;^DD(355.4,5.06,21,2,0)
- ;;=this is the maximum amount that this policy will pay toward these
- ;;^DD(355.4,5.06,21,3,0)
- ;;=services in one year.
- ;;^DD(355.4,5.06,"DT")
- ;;=2930520
- ;;^DD(355.4,5.07,0)
- ;;=DRUG & ALCOHOL LIFETIME MAX^NJ10,2^^5;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- ;;^DD(355.4,5.07,3)
- ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- ;;^DD(355.4,5.07,21,0)
- ;;=^^2^2^2930607^
- ;;^DD(355.4,5.07,21,1,0)
- ;;=If this policy provides a benefit for drug and alcohol services,
- ;;^DD(355.4,5.07,21,2,0)
- ;;=this is the maximum amount over the life of the policy for this benefit.
- ;;^DD(355.4,5.07,"DT")
- ;;=2931028
- ;;^DD(355.4,5.08,0)
- ;;=DRUG & ALCOHOL ANNUAL MAX^NJ9,2^^5;8^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- ;;^DD(355.4,5.08,3)
- ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- ;;^DD(355.4,5.08,21,0)
- ;;=^^3^3^2930607^
- ;;^DD(355.4,5.08,21,1,0)
- ;;=If this policy provides a benefit for drug and alcohol services,
- ;;^DD(355.4,5.08,21,2,0)
- ;;=this is the maximum amount that this policy will pay toward these
- ;;^DD(355.4,5.08,21,3,0)
- ;;=services in one year.
- ;;^DD(355.4,5.08,"DT")
- ;;=2930520
- ;;^DD(355.4,5.09,0)
- ;;=ROOM AND BOARD (%)^NJ3,0^^5;9^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(355.4,5.09,3)
- ;;=Type a Number between 0 and 100, 0 Decimal Digits
- ;;^DD(355.4,5.09,21,0)
- ;;=^^2^2^2930607^
- ;;^DD(355.4,5.09,21,1,0)
- ;;=If this policy provides a room and board benefit, this is the
- ;;^DD(355.4,5.09,21,2,0)
- ;;=percentage of room and board charges that the policy will cover.
- ;;^DD(355.4,5.09,"DT")
- ;;=2930520
- ;;^DD(355.4,5.1,0)
- ;;=NURSING HOME (%)^NJ3,0^^5;10^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
- IBINI04Z ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(355.4)
- 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.4,5.02,21,2,0)
- +2 ;;=for each admission.
- +3 ;;^DD(355.4,5.02,"DT")
- +4 ;;=2930520
- +5 ;;^DD(355.4,5.03,0)
- +6 ;;=INPATIENT LIFETIME MAXIMUM^NJ10,2^^5;3^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- +7 ;;^DD(355.4,5.03,3)
- +8 ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- +9 ;;^DD(355.4,5.03,21,0)
- +10 ;;=^^2^2^2930713^
- +11 ;;^DD(355.4,5.03,21,1,0)
- +12 ;;=If this policy provides inpatient services, this is the maximum
- +13 ;;^DD(355.4,5.03,21,2,0)
- +14 ;;=amount over the life of this policy for this benefit.
- +15 ;;^DD(355.4,5.03,"DT")
- +16 ;;=2931028
- +17 ;;^DD(355.4,5.04,0)
- +18 ;;=INPATIENT ANNUAL MAXIMUM^NJ9,2^^5;4^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- +19 ;;^DD(355.4,5.04,3)
- +20 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- +21 ;;^DD(355.4,5.04,21,0)
- +22 ;;=^^2^2^2930713^
- +23 ;;^DD(355.4,5.04,21,1,0)
- +24 ;;=If this policy provides inpatient services, this is the maximum
- +25 ;;^DD(355.4,5.04,21,2,0)
- +26 ;;=annual amount of this benefit.
- +27 ;;^DD(355.4,5.04,"DT")
- +28 ;;=2930520
- +29 ;;^DD(355.4,5.05,0)
- +30 ;;=MH LIFETIME INPATIENT MAXIMUM^NJ10,2^^5;5^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- +31 ;;^DD(355.4,5.05,3)
- +32 ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- +33 ;;^DD(355.4,5.05,21,0)
- +34 ;;=^^2^2^2930607^
- +35 ;;^DD(355.4,5.05,21,1,0)
- +36 ;;=If this policy provides a benefit for mental health inpatient services,
- +37 ;;^DD(355.4,5.05,21,2,0)
- +38 ;;=this is the maximum amount over the life of the policy for this benefit.
- +39 ;;^DD(355.4,5.05,"DT")
- +40 ;;=2931028
- +41 ;;^DD(355.4,5.06,0)
- +42 ;;=MH ANNUAL INPATIENT MAXIMUM^NJ9,2^^5;6^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- +43 ;;^DD(355.4,5.06,3)
- +44 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- +45 ;;^DD(355.4,5.06,21,0)
- +46 ;;=^^3^3^2930607^
- +47 ;;^DD(355.4,5.06,21,1,0)
- +48 ;;=If this policy provides a benefit for mental health inpatient services,
- +49 ;;^DD(355.4,5.06,21,2,0)
- +50 ;;=this is the maximum amount that this policy will pay toward these
- +51 ;;^DD(355.4,5.06,21,3,0)
- +52 ;;=services in one year.
- +53 ;;^DD(355.4,5.06,"DT")
- +54 ;;=2930520
- +55 ;;^DD(355.4,5.07,0)
- +56 ;;=DRUG & ALCOHOL LIFETIME MAX^NJ10,2^^5;7^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>9999999)!(X<0) X
- +57 ;;^DD(355.4,5.07,3)
- +58 ;;=Type a Dollar Amount between 0 and 9999999, 2 Decimal Digits
- +59 ;;^DD(355.4,5.07,21,0)
- +60 ;;=^^2^2^2930607^
- +61 ;;^DD(355.4,5.07,21,1,0)
- +62 ;;=If this policy provides a benefit for drug and alcohol services,
- +63 ;;^DD(355.4,5.07,21,2,0)
- +64 ;;=this is the maximum amount over the life of the policy for this benefit.
- +65 ;;^DD(355.4,5.07,"DT")
- +66 ;;=2931028
- +67 ;;^DD(355.4,5.08,0)
- +68 ;;=DRUG & ALCOHOL ANNUAL MAX^NJ9,2^^5;8^S:X["$" X=$P(X,"$",2) K:X'?.N.1".".2N!(X>999999)!(X<0) X
- +69 ;;^DD(355.4,5.08,3)
- +70 ;;=Type a Dollar Amount between 0 and 999999, 2 Decimal Digits
- +71 ;;^DD(355.4,5.08,21,0)
- +72 ;;=^^3^3^2930607^
- +73 ;;^DD(355.4,5.08,21,1,0)
- +74 ;;=If this policy provides a benefit for drug and alcohol services,
- +75 ;;^DD(355.4,5.08,21,2,0)
- +76 ;;=this is the maximum amount that this policy will pay toward these
- +77 ;;^DD(355.4,5.08,21,3,0)
- +78 ;;=services in one year.
- +79 ;;^DD(355.4,5.08,"DT")
- +80 ;;=2930520
- +81 ;;^DD(355.4,5.09,0)
- +82 ;;=ROOM AND BOARD (%)^NJ3,0^^5;9^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X
- +83 ;;^DD(355.4,5.09,3)
- +84 ;;=Type a Number between 0 and 100, 0 Decimal Digits
- +85 ;;^DD(355.4,5.09,21,0)
- +86 ;;=^^2^2^2930607^
- +87 ;;^DD(355.4,5.09,21,1,0)
- +88 ;;=If this policy provides a room and board benefit, this is the
- +89 ;;^DD(355.4,5.09,21,2,0)
- +90 ;;=percentage of room and board charges that the policy will cover.
- +91 ;;^DD(355.4,5.09,"DT")
- +92 ;;=2930520
- +93 ;;^DD(355.4,5.1,0)
- +94 ;;=NURSING HOME (%)^NJ3,0^^5;10^K:+X'=X!(X>100)!(X<0)!(X?.E1"."1N.N) X