IBDEI014 ; ; 18-MAR-1994
;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
Q:'DIFQR(358.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
;;^UTILITY(U,$J,358.5,182,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,182,2,1,0)
;;=Patient Name:^^^1^1^1^15^30^1
;;^UTILITY(U,$J,358.5,183,0)
;;=PATIENT DOB^49^22
;;^UTILITY(U,$J,358.5,183,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,183,2,1,0)
;;=DOB:^^^1^2^2^6^12^1
;;^UTILITY(U,$J,358.5,184,0)
;;=PID^49^7
;;^UTILITY(U,$J,358.5,184,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,184,2,1,0)
;;=PID:^^^19^2^2^24^15^1
;;^UTILITY(U,$J,358.5,185,0)
;;=SC CONDITION 1^49^11^^1
;;^UTILITY(U,$J,358.5,185,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,185,2,1,0)
;;=SC Conditions:^^U^1^4^5^1^40^1
;;^UTILITY(U,$J,358.5,185,2,2,0)
;;=%^^I^^^5^42^4^3
;;^UTILITY(U,$J,358.5,186,0)
;;=SC CONDITION 2^49^11^^2
;;^UTILITY(U,$J,358.5,186,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,186,2,1,0)
;;=CONDITION^^I^^^6^1^40^1
;;^UTILITY(U,$J,358.5,186,2,2,0)
;;=%^^I^^^6^42^4^3
;;^UTILITY(U,$J,358.5,187,0)
;;=SC CONDITION 3^49^11^^3
;;^UTILITY(U,$J,358.5,187,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,187,2,1,0)
;;=CONDITION^^I^^^7^1^40^1
;;^UTILITY(U,$J,358.5,187,2,2,0)
;;=%^^I^^^7^42^4^3
;;^UTILITY(U,$J,358.5,188,0)
;;=SC CONDITION 4^49^11^1^4
;;^UTILITY(U,$J,358.5,188,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,188,2,1,0)
;;=CONDITION^^I^^^8^1^40^1
;;^UTILITY(U,$J,358.5,188,2,2,0)
;;=%^^I^^^8^42^4^3
;;^UTILITY(U,$J,358.5,189,0)
;;=SEX^49^23
;;^UTILITY(U,$J,358.5,189,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,189,2,1,0)
;;=Sex:^^^40^2^2^45^1^2
;;^UTILITY(U,$J,358.5,190,0)
;;=ELIGIBILITY^49^8
;;^UTILITY(U,$J,358.5,190,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,190,2,1,0)
;;=Eligibility:^^^1^3^3^14^30^1
;;^UTILITY(U,$J,358.5,191,0)
;;=MEANS TEST CATEGORY^49^24
;;^UTILITY(U,$J,358.5,191,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,191,2,1,0)
;;=Means Test Cat:^^^29^4^4^45^1^3
;;^UTILITY(U,$J,358.5,192,0)
;;=SERVICE HISTORY DATA^49^25
;;^UTILITY(U,$J,358.5,192,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,192,2,1,0)
;;=AO:^^^1^9^9^5^3^2
;;^UTILITY(U,$J,358.5,192,2,2,0)
;;=IR:^^^9^9^9^13^3^3
;;^UTILITY(U,$J,358.5,192,2,3,0)
;;=POW:^^^17^9^9^22^3^4
;;^UTILITY(U,$J,358.5,192,2,4,0)
;;=EC:^^^26^9^9^30^3^6
;;^UTILITY(U,$J,358.5,193,0)
;;=SC %^49^8
;;^UTILITY(U,$J,358.5,193,2,0)
;;=^357.52I^3^2
;;^UTILITY(U,$J,358.5,193,2,2,0)
;;=SC%:^^^17^4^4^22^3^7
;;^UTILITY(U,$J,358.5,193,2,3,0)
;;=%^^^25^4
;;^UTILITY(U,$J,358.5,194,0)
;;=SIGNATURE^50^3
;;^UTILITY(U,$J,358.5,194,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,194,2,1,0)
;;=Signature of Provider^^^11^1^0^1^40^1
;;^UTILITY(U,$J,358.5,195,0)
;;=SC TREATMENT QUESTIONS^51^26
;;^UTILITY(U,$J,358.5,195,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,195,2,1,0)
;;=SERVICE CONNECTED?^^I^^^0^0^46^1
;;^UTILITY(U,$J,358.5,195,2,2,0)
;;=AO,IR OR EC?^^I^^^1^0^43^5
;;^UTILITY(U,$J,358.5,196,0)
;;=Comments:^53^2^^^Comments:^^^^1^8^4^2^72
;;^UTILITY(U,$J,358.5,197,0)
;;=PROBLEM 1^53^28^0^1
;;^UTILITY(U,$J,358.5,197,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,197,2,1,0)
;;=PROBLEM TEXT^^I^^^4^21^40^1
;;^UTILITY(U,$J,358.5,197,2,2,0)
;;=ICD-9^^I^^^4^62^7^2
;;^UTILITY(U,$J,358.5,197,2,3,0)
;;=SC?^^I^^^4^71^1^5
;;^UTILITY(U,$J,358.5,198,0)
;;=PROBLEM 2^53^28^0^2
;;^UTILITY(U,$J,358.5,198,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,198,2,1,0)
;;=PROBLEM TEXT^^I^^^5^21^40^1
;;^UTILITY(U,$J,358.5,198,2,2,0)
;;=ICD-9^^I^^^5^62^7^2
;;^UTILITY(U,$J,358.5,198,2,3,0)
;;=SC?^^I^^^5^71^1^5
;;^UTILITY(U,$J,358.5,199,0)
;;=PROBLEM 3^53^28^0^3
;;^UTILITY(U,$J,358.5,199,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,199,2,1,0)
;;=PROBLEM TEXT^^I^^^6^21^40^1
IBDEI014 ; ; 18-MAR-1994
+1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
+2 IF 'DIFQR(358.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 ;;^UTILITY(U,$J,358.5,182,2,0)
+2 ;;=^357.52I^1^1
+3 ;;^UTILITY(U,$J,358.5,182,2,1,0)
+4 ;;=Patient Name:^^^1^1^1^15^30^1
+5 ;;^UTILITY(U,$J,358.5,183,0)
+6 ;;=PATIENT DOB^49^22
+7 ;;^UTILITY(U,$J,358.5,183,2,0)
+8 ;;=^357.52I^1^1
+9 ;;^UTILITY(U,$J,358.5,183,2,1,0)
+10 ;;=DOB:^^^1^2^2^6^12^1
+11 ;;^UTILITY(U,$J,358.5,184,0)
+12 ;;=PID^49^7
+13 ;;^UTILITY(U,$J,358.5,184,2,0)
+14 ;;=^357.52I^1^1
+15 ;;^UTILITY(U,$J,358.5,184,2,1,0)
+16 ;;=PID:^^^19^2^2^24^15^1
+17 ;;^UTILITY(U,$J,358.5,185,0)
+18 ;;=SC CONDITION 1^49^11^^1
+19 ;;^UTILITY(U,$J,358.5,185,2,0)
+20 ;;=^357.52I^2^2
+21 ;;^UTILITY(U,$J,358.5,185,2,1,0)
+22 ;;=SC Conditions:^^U^1^4^5^1^40^1
+23 ;;^UTILITY(U,$J,358.5,185,2,2,0)
+24 ;;=%^^I^^^5^42^4^3
+25 ;;^UTILITY(U,$J,358.5,186,0)
+26 ;;=SC CONDITION 2^49^11^^2
+27 ;;^UTILITY(U,$J,358.5,186,2,0)
+28 ;;=^357.52I^2^2
+29 ;;^UTILITY(U,$J,358.5,186,2,1,0)
+30 ;;=CONDITION^^I^^^6^1^40^1
+31 ;;^UTILITY(U,$J,358.5,186,2,2,0)
+32 ;;=%^^I^^^6^42^4^3
+33 ;;^UTILITY(U,$J,358.5,187,0)
+34 ;;=SC CONDITION 3^49^11^^3
+35 ;;^UTILITY(U,$J,358.5,187,2,0)
+36 ;;=^357.52I^2^2
+37 ;;^UTILITY(U,$J,358.5,187,2,1,0)
+38 ;;=CONDITION^^I^^^7^1^40^1
+39 ;;^UTILITY(U,$J,358.5,187,2,2,0)
+40 ;;=%^^I^^^7^42^4^3
+41 ;;^UTILITY(U,$J,358.5,188,0)
+42 ;;=SC CONDITION 4^49^11^1^4
+43 ;;^UTILITY(U,$J,358.5,188,2,0)
+44 ;;=^357.52I^2^2
+45 ;;^UTILITY(U,$J,358.5,188,2,1,0)
+46 ;;=CONDITION^^I^^^8^1^40^1
+47 ;;^UTILITY(U,$J,358.5,188,2,2,0)
+48 ;;=%^^I^^^8^42^4^3
+49 ;;^UTILITY(U,$J,358.5,189,0)
+50 ;;=SEX^49^23
+51 ;;^UTILITY(U,$J,358.5,189,2,0)
+52 ;;=^357.52I^1^1
+53 ;;^UTILITY(U,$J,358.5,189,2,1,0)
+54 ;;=Sex:^^^40^2^2^45^1^2
+55 ;;^UTILITY(U,$J,358.5,190,0)
+56 ;;=ELIGIBILITY^49^8
+57 ;;^UTILITY(U,$J,358.5,190,2,0)
+58 ;;=^357.52I^1^1
+59 ;;^UTILITY(U,$J,358.5,190,2,1,0)
+60 ;;=Eligibility:^^^1^3^3^14^30^1
+61 ;;^UTILITY(U,$J,358.5,191,0)
+62 ;;=MEANS TEST CATEGORY^49^24
+63 ;;^UTILITY(U,$J,358.5,191,2,0)
+64 ;;=^357.52I^1^1
+65 ;;^UTILITY(U,$J,358.5,191,2,1,0)
+66 ;;=Means Test Cat:^^^29^4^4^45^1^3
+67 ;;^UTILITY(U,$J,358.5,192,0)
+68 ;;=SERVICE HISTORY DATA^49^25
+69 ;;^UTILITY(U,$J,358.5,192,2,0)
+70 ;;=^357.52I^4^4
+71 ;;^UTILITY(U,$J,358.5,192,2,1,0)
+72 ;;=AO:^^^1^9^9^5^3^2
+73 ;;^UTILITY(U,$J,358.5,192,2,2,0)
+74 ;;=IR:^^^9^9^9^13^3^3
+75 ;;^UTILITY(U,$J,358.5,192,2,3,0)
+76 ;;=POW:^^^17^9^9^22^3^4
+77 ;;^UTILITY(U,$J,358.5,192,2,4,0)
+78 ;;=EC:^^^26^9^9^30^3^6
+79 ;;^UTILITY(U,$J,358.5,193,0)
+80 ;;=SC %^49^8
+81 ;;^UTILITY(U,$J,358.5,193,2,0)
+82 ;;=^357.52I^3^2
+83 ;;^UTILITY(U,$J,358.5,193,2,2,0)
+84 ;;=SC%:^^^17^4^4^22^3^7
+85 ;;^UTILITY(U,$J,358.5,193,2,3,0)
+86 ;;=%^^^25^4
+87 ;;^UTILITY(U,$J,358.5,194,0)
+88 ;;=SIGNATURE^50^3
+89 ;;^UTILITY(U,$J,358.5,194,2,0)
+90 ;;=^357.52I^1^1
+91 ;;^UTILITY(U,$J,358.5,194,2,1,0)
+92 ;;=Signature of Provider^^^11^1^0^1^40^1
+93 ;;^UTILITY(U,$J,358.5,195,0)
+94 ;;=SC TREATMENT QUESTIONS^51^26
+95 ;;^UTILITY(U,$J,358.5,195,2,0)
+96 ;;=^357.52I^2^2
+97 ;;^UTILITY(U,$J,358.5,195,2,1,0)
+98 ;;=SERVICE CONNECTED?^^I^^^0^0^46^1
+99 ;;^UTILITY(U,$J,358.5,195,2,2,0)
+100 ;;=AO,IR OR EC?^^I^^^1^0^43^5
+101 ;;^UTILITY(U,$J,358.5,196,0)
+102 ;;=Comments:^53^2^^^Comments:^^^^1^8^4^2^72
+103 ;;^UTILITY(U,$J,358.5,197,0)
+104 ;;=PROBLEM 1^53^28^0^1
+105 ;;^UTILITY(U,$J,358.5,197,2,0)
+106 ;;=^357.52I^3^3
+107 ;;^UTILITY(U,$J,358.5,197,2,1,0)
+108 ;;=PROBLEM TEXT^^I^^^4^21^40^1
+109 ;;^UTILITY(U,$J,358.5,197,2,2,0)
+110 ;;=ICD-9^^I^^^4^62^7^2
+111 ;;^UTILITY(U,$J,358.5,197,2,3,0)
+112 ;;=SC?^^I^^^4^71^1^5
+113 ;;^UTILITY(U,$J,358.5,198,0)
+114 ;;=PROBLEM 2^53^28^0^2
+115 ;;^UTILITY(U,$J,358.5,198,2,0)
+116 ;;=^357.52I^3^3
+117 ;;^UTILITY(U,$J,358.5,198,2,1,0)
+118 ;;=PROBLEM TEXT^^I^^^5^21^40^1
+119 ;;^UTILITY(U,$J,358.5,198,2,2,0)
+120 ;;=ICD-9^^I^^^5^62^7^2
+121 ;;^UTILITY(U,$J,358.5,198,2,3,0)
+122 ;;=SC?^^I^^^5^71^1^5
+123 ;;^UTILITY(U,$J,358.5,199,0)
+124 ;;=PROBLEM 3^53^28^0^3
+125 ;;^UTILITY(U,$J,358.5,199,2,0)
+126 ;;=^357.52I^3^3
+127 ;;^UTILITY(U,$J,358.5,199,2,1,0)
+128 ;;=PROBLEM TEXT^^I^^^6^21^40^1