IBINI02O ; ; 21-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQ(350.9) 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(350.9,3.02,21,17,0)
;;=This field will be deleted in the version of IB which follows v2.0.
;;^DD(350.9,3.02,"DT")
;;=2940127
;;^DD(350.9,3.03,0)
;;=COPAY EXEMPTION CONV. STARTED^NJ7,0^^3;3^K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(350.9,3.03,3)
;;=Type a Number between 1 and 9999999, 0 Decimal Digits
;;^DD(350.9,3.03,21,0)
;;=^^2^2^2930114^^
;;^DD(350.9,3.03,21,1,0)
;;=This is the number of times the Medication Copayment Exemption Conversion
;;^DD(350.9,3.03,21,2,0)
;;=has been started. It is used to tell if the conversion has been restarted.
;;^DD(350.9,3.03,23,0)
;;=^^11^11^2930114^
;;^DD(350.9,3.03,23,1,0)
;;=The Medication Copayment Exemption Conversion can be stopped by
;;^DD(350.9,3.03,23,2,0)
;;=editing this field to a number different that its current value.
;;^DD(350.9,3.03,23,3,0)
;;=This is NOT a recommended procedure but should only be used in
;;^DD(350.9,3.03,23,4,0)
;;=exception cases. It will cause an orderly shut down on the
;;^DD(350.9,3.03,23,5,0)
;;=completion of a single patient. After the conversion shuts down,
;;^DD(350.9,3.03,23,6,0)
;;=the value of this field should be returned to its original value.
;;^DD(350.9,3.03,23,7,0)
;;=
;;^DD(350.9,3.03,23,8,0)
;;=If a second conversion is started this field will be updated causing
;;^DD(350.9,3.03,23,9,0)
;;=the first conversion to stop. At that point it is possible that
;;^DD(350.9,3.03,23,10,0)
;;=a patient may be double processed, possible causing the double
;;^DD(350.9,3.03,23,11,0)
;;=decreasing of charges in AR for that patient.
;;^DD(350.9,3.03,"DT")
;;=2930114
;;^DD(350.9,3.04,0)
;;=COPAY EXEMPTION LAST DFN^NJ9,0^^3;4^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(350.9,3.04,3)
;;=Type a Number between 1 and 999999999, 0 Decimal Digits
;;^DD(350.9,3.04,9)
;;=^
;;^DD(350.9,3.04,21,0)
;;=^^5^5^2930114^
;;^DD(350.9,3.04,21,1,0)
;;=This is the internal entry number of the last patient completely
;;^DD(350.9,3.04,21,2,0)
;;=converted by the Medication Copayment Exemption Conversion. The
;;^DD(350.9,3.04,21,3,0)
;;=Conversion processes patients in order of internal entry number.
;;^DD(350.9,3.04,21,4,0)
;;=If the conversion stops for any reason it will start with the next
;;^DD(350.9,3.04,21,5,0)
;;=internal number after this one.
;;^DD(350.9,3.04,"DT")
;;=2921124
;;^DD(350.9,3.05,0)
;;=TOTAL PATIENTS CONVERTED^NJ9,0^^3;5^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(350.9,3.05,.1)
;;=COPAY EXEMPTION TOTAL PATIENT CONVERTED
;;^DD(350.9,3.05,3)
;;=Type a Number between 1 and 999999999, 0 Decimal Digits
;;^DD(350.9,3.05,9)
;;=^
;;^DD(350.9,3.05,21,0)
;;=^^2^2^2930114^^
;;^DD(350.9,3.05,21,1,0)
;;=This is the total number of patients in the IB file that were set
;;^DD(350.9,3.05,21,2,0)
;;=up with an exemption status during the conversion.
;;^DD(350.9,3.05,"DT")
;;=2930107
;;^DD(350.9,3.06,0)
;;=TOTAL PATIENTS EXEMPT^NJ9,0^^3;6^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(350.9,3.06,.1)
;;=COPAY EXEMPTION TOTAL PATIENTS CONVERTED EXEMPT
;;^DD(350.9,3.06,3)
;;=Type a Number between 1 and 999999999, 0 Decimal Digits
;;^DD(350.9,3.06,9)
;;=^
;;^DD(350.9,3.06,21,0)
;;=^^1^1^2930114^
;;^DD(350.9,3.06,21,1,0)
;;=This is the number of patients that were converted to an exempt status.
;;^DD(350.9,3.06,"DT")
;;=2930107
;;^DD(350.9,3.07,0)
;;=TOTAL PATIENT NON-EXEMPT^NJ9,0^^3;7^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
;;^DD(350.9,3.07,.1)
;;=COPAY EXEMPTION TOTAL PATIENTS CONVERTED NON-EXEMPT
IBINI02O ; ; 21-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQ(350.9)
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(350.9,3.02,21,17,0)
+2 ;;=This field will be deleted in the version of IB which follows v2.0.
+3 ;;^DD(350.9,3.02,"DT")
+4 ;;=2940127
+5 ;;^DD(350.9,3.03,0)
+6 ;;=COPAY EXEMPTION CONV. STARTED^NJ7,0^^3;3^K:+X'=X!(X>9999999)!(X<1)!(X?.E1"."1N.N) X
+7 ;;^DD(350.9,3.03,3)
+8 ;;=Type a Number between 1 and 9999999, 0 Decimal Digits
+9 ;;^DD(350.9,3.03,21,0)
+10 ;;=^^2^2^2930114^^
+11 ;;^DD(350.9,3.03,21,1,0)
+12 ;;=This is the number of times the Medication Copayment Exemption Conversion
+13 ;;^DD(350.9,3.03,21,2,0)
+14 ;;=has been started. It is used to tell if the conversion has been restarted.
+15 ;;^DD(350.9,3.03,23,0)
+16 ;;=^^11^11^2930114^
+17 ;;^DD(350.9,3.03,23,1,0)
+18 ;;=The Medication Copayment Exemption Conversion can be stopped by
+19 ;;^DD(350.9,3.03,23,2,0)
+20 ;;=editing this field to a number different that its current value.
+21 ;;^DD(350.9,3.03,23,3,0)
+22 ;;=This is NOT a recommended procedure but should only be used in
+23 ;;^DD(350.9,3.03,23,4,0)
+24 ;;=exception cases. It will cause an orderly shut down on the
+25 ;;^DD(350.9,3.03,23,5,0)
+26 ;;=completion of a single patient. After the conversion shuts down,
+27 ;;^DD(350.9,3.03,23,6,0)
+28 ;;=the value of this field should be returned to its original value.
+29 ;;^DD(350.9,3.03,23,7,0)
+30 ;;=
+31 ;;^DD(350.9,3.03,23,8,0)
+32 ;;=If a second conversion is started this field will be updated causing
+33 ;;^DD(350.9,3.03,23,9,0)
+34 ;;=the first conversion to stop. At that point it is possible that
+35 ;;^DD(350.9,3.03,23,10,0)
+36 ;;=a patient may be double processed, possible causing the double
+37 ;;^DD(350.9,3.03,23,11,0)
+38 ;;=decreasing of charges in AR for that patient.
+39 ;;^DD(350.9,3.03,"DT")
+40 ;;=2930114
+41 ;;^DD(350.9,3.04,0)
+42 ;;=COPAY EXEMPTION LAST DFN^NJ9,0^^3;4^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
+43 ;;^DD(350.9,3.04,3)
+44 ;;=Type a Number between 1 and 999999999, 0 Decimal Digits
+45 ;;^DD(350.9,3.04,9)
+46 ;;=^
+47 ;;^DD(350.9,3.04,21,0)
+48 ;;=^^5^5^2930114^
+49 ;;^DD(350.9,3.04,21,1,0)
+50 ;;=This is the internal entry number of the last patient completely
+51 ;;^DD(350.9,3.04,21,2,0)
+52 ;;=converted by the Medication Copayment Exemption Conversion. The
+53 ;;^DD(350.9,3.04,21,3,0)
+54 ;;=Conversion processes patients in order of internal entry number.
+55 ;;^DD(350.9,3.04,21,4,0)
+56 ;;=If the conversion stops for any reason it will start with the next
+57 ;;^DD(350.9,3.04,21,5,0)
+58 ;;=internal number after this one.
+59 ;;^DD(350.9,3.04,"DT")
+60 ;;=2921124
+61 ;;^DD(350.9,3.05,0)
+62 ;;=TOTAL PATIENTS CONVERTED^NJ9,0^^3;5^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
+63 ;;^DD(350.9,3.05,.1)
+64 ;;=COPAY EXEMPTION TOTAL PATIENT CONVERTED
+65 ;;^DD(350.9,3.05,3)
+66 ;;=Type a Number between 1 and 999999999, 0 Decimal Digits
+67 ;;^DD(350.9,3.05,9)
+68 ;;=^
+69 ;;^DD(350.9,3.05,21,0)
+70 ;;=^^2^2^2930114^^
+71 ;;^DD(350.9,3.05,21,1,0)
+72 ;;=This is the total number of patients in the IB file that were set
+73 ;;^DD(350.9,3.05,21,2,0)
+74 ;;=up with an exemption status during the conversion.
+75 ;;^DD(350.9,3.05,"DT")
+76 ;;=2930107
+77 ;;^DD(350.9,3.06,0)
+78 ;;=TOTAL PATIENTS EXEMPT^NJ9,0^^3;6^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
+79 ;;^DD(350.9,3.06,.1)
+80 ;;=COPAY EXEMPTION TOTAL PATIENTS CONVERTED EXEMPT
+81 ;;^DD(350.9,3.06,3)
+82 ;;=Type a Number between 1 and 999999999, 0 Decimal Digits
+83 ;;^DD(350.9,3.06,9)
+84 ;;=^
+85 ;;^DD(350.9,3.06,21,0)
+86 ;;=^^1^1^2930114^
+87 ;;^DD(350.9,3.06,21,1,0)
+88 ;;=This is the number of patients that were converted to an exempt status.
+89 ;;^DD(350.9,3.06,"DT")
+90 ;;=2930107
+91 ;;^DD(350.9,3.07,0)
+92 ;;=TOTAL PATIENT NON-EXEMPT^NJ9,0^^3;7^K:+X'=X!(X>999999999)!(X<1)!(X?.E1"."1N.N) X
+93 ;;^DD(350.9,3.07,.1)
+94 ;;=COPAY EXEMPTION TOTAL PATIENTS CONVERTED NON-EXEMPT