IBDEI015 ; ; 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,199,2,2,0)
;;=ICD-9 CODE^^I^^^6^62^7^2
;;^UTILITY(U,$J,358.5,199,2,3,0)
;;=SC?^^I^^^6^71^1^5
;;^UTILITY(U,$J,358.5,200,0)
;;=PROBLEM 4^53^28^1^4
;;^UTILITY(U,$J,358.5,200,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,200,2,1,0)
;;=PROBLEM TEXT^^I^^^7^21^40^1
;;^UTILITY(U,$J,358.5,200,2,2,0)
;;=ICD-9 CODE^^I^^^7^62^7^2
;;^UTILITY(U,$J,358.5,200,2,3,0)
;;=SC?^^I^^^7^71^1^5
;;^UTILITY(U,$J,358.5,201,0)
;;=OTHER ALLERGIES^54^3
;;^UTILITY(U,$J,358.5,201,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,201,2,1,0)
;;=Other:^^^1^7
;;^UTILITY(U,$J,358.5,202,0)
;;=ALLERGY 1^54^15^0^1
;;^UTILITY(U,$J,358.5,202,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,202,2,1,0)
;;=ALLERGY^^I^^^3^1^30^1
;;^UTILITY(U,$J,358.5,202,2,2,0)
;;=TYPE^^U^32^2^3^32^5^2
;;^UTILITY(U,$J,358.5,202,2,3,0)
;;=VER^^U^45^2^3^45^3^4
;;^UTILITY(U,$J,358.5,202,2,4,0)
;;=TRUE^^U^39^2^3^40^3^5
;;^UTILITY(U,$J,358.5,203,0)
;;=ALLERGY 2^54^15^0^2
;;^UTILITY(U,$J,358.5,203,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,203,2,1,0)
;;=ALLERGY^^I^^^4^1^30^1
;;^UTILITY(U,$J,358.5,203,2,2,0)
;;=TYPE^^I^^^4^32^5^2
;;^UTILITY(U,$J,358.5,203,2,3,0)
;;=TRUE^^I^^^4^40^3^5
;;^UTILITY(U,$J,358.5,203,2,4,0)
;;=VER^^I^^^4^45^3^4
;;^UTILITY(U,$J,358.5,204,0)
;;=ALLERGY 3^54^15^0^3
;;^UTILITY(U,$J,358.5,204,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,204,2,1,0)
;;=ALLERGY^^I^^^5^1^30^1
;;^UTILITY(U,$J,358.5,204,2,2,0)
;;=TYPE^^I^^^5^32^5^2
;;^UTILITY(U,$J,358.5,204,2,3,0)
;;=TRUE^^I^^^5^40^3^5
;;^UTILITY(U,$J,358.5,204,2,4,0)
;;=VER^^I^^^5^45^3^4
;;^UTILITY(U,$J,358.5,205,0)
;;=ALLERGY 4^54^15^1^4
;;^UTILITY(U,$J,358.5,205,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,205,2,1,0)
;;=ALLERGY^^I^^^6^1^30^1
;;^UTILITY(U,$J,358.5,205,2,2,0)
;;=TYPE^^I^^^6^32^5^2
;;^UTILITY(U,$J,358.5,205,2,3,0)
;;=TRUE^^I^^^6^40^3^5
;;^UTILITY(U,$J,358.5,205,2,4,0)
;;=VER^^I^^^6^45^3^4
;;^UTILITY(U,$J,358.5,206,0)
;;=CLINIC^55^5
;;^UTILITY(U,$J,358.5,206,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,206,2,1,0)
;;=Clinic:^^^0^0^0^8^30^1
;;^UTILITY(U,$J,358.5,207,0)
;;=APPT. DT/TIME^55^4
;;^UTILITY(U,$J,358.5,207,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,207,2,1,0)
;;=Appt. DT/Time:^^^0^2^2^15^23^1
;;^UTILITY(U,$J,358.5,208,0)
;;=CANCELLED?^56^3
;;^UTILITY(U,$J,358.5,208,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,208,2,1,0)
;;=Cancelled^^^1^2^2^13^20^1
;;^UTILITY(U,$J,358.5,209,0)
;;=NO-SHOW?^56^3
;;^UTILITY(U,$J,358.5,209,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,209,2,1,0)
;;=No-Show^^^1^3^3^13^20^1
;;^UTILITY(U,$J,358.5,210,0)
;;=CHECKED-OUT?^56^3
;;^UTILITY(U,$J,358.5,210,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,210,2,1,0)
;;=Checked-Out^^^1^4^4^13^20^1
;;^UTILITY(U,$J,358.5,211,0)
;;=RESCHEDULED?^56^3
;;^UTILITY(U,$J,358.5,211,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,211,2,1,0)
;;=Rescheduled^^^1^1^1^13^20^1
;;^UTILITY(U,$J,358.5,212,0)
;;=PATIENT NAME^57^6
;;^UTILITY(U,$J,358.5,212,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,212,2,1,0)
;;=Patient Name:^^^1^1^1^15^30^1
;;^UTILITY(U,$J,358.5,213,0)
;;=PATIENT DOB^57^22
;;^UTILITY(U,$J,358.5,213,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,213,2,1,0)
;;=DOB:^^^1^2^2^6^12^1
;;^UTILITY(U,$J,358.5,214,0)
;;=PID^57^7
;;^UTILITY(U,$J,358.5,214,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,214,2,1,0)
;;=PID:^^^19^2^2^24^15^1
;;^UTILITY(U,$J,358.5,215,0)
;;=SC CONDITION 1^57^11^^1
;;^UTILITY(U,$J,358.5,215,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,215,2,1,0)
;;=SC Conditions:^^U^1^4^5^1^40^1
;;^UTILITY(U,$J,358.5,215,2,2,0)
;;=%^^I^^^5^42^4^3
IBDEI015 ; ; 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,199,2,2,0)
+2 ;;=ICD-9 CODE^^I^^^6^62^7^2
+3 ;;^UTILITY(U,$J,358.5,199,2,3,0)
+4 ;;=SC?^^I^^^6^71^1^5
+5 ;;^UTILITY(U,$J,358.5,200,0)
+6 ;;=PROBLEM 4^53^28^1^4
+7 ;;^UTILITY(U,$J,358.5,200,2,0)
+8 ;;=^357.52I^3^3
+9 ;;^UTILITY(U,$J,358.5,200,2,1,0)
+10 ;;=PROBLEM TEXT^^I^^^7^21^40^1
+11 ;;^UTILITY(U,$J,358.5,200,2,2,0)
+12 ;;=ICD-9 CODE^^I^^^7^62^7^2
+13 ;;^UTILITY(U,$J,358.5,200,2,3,0)
+14 ;;=SC?^^I^^^7^71^1^5
+15 ;;^UTILITY(U,$J,358.5,201,0)
+16 ;;=OTHER ALLERGIES^54^3
+17 ;;^UTILITY(U,$J,358.5,201,2,0)
+18 ;;=^357.52I^1^1
+19 ;;^UTILITY(U,$J,358.5,201,2,1,0)
+20 ;;=Other:^^^1^7
+21 ;;^UTILITY(U,$J,358.5,202,0)
+22 ;;=ALLERGY 1^54^15^0^1
+23 ;;^UTILITY(U,$J,358.5,202,2,0)
+24 ;;=^357.52I^4^4
+25 ;;^UTILITY(U,$J,358.5,202,2,1,0)
+26 ;;=ALLERGY^^I^^^3^1^30^1
+27 ;;^UTILITY(U,$J,358.5,202,2,2,0)
+28 ;;=TYPE^^U^32^2^3^32^5^2
+29 ;;^UTILITY(U,$J,358.5,202,2,3,0)
+30 ;;=VER^^U^45^2^3^45^3^4
+31 ;;^UTILITY(U,$J,358.5,202,2,4,0)
+32 ;;=TRUE^^U^39^2^3^40^3^5
+33 ;;^UTILITY(U,$J,358.5,203,0)
+34 ;;=ALLERGY 2^54^15^0^2
+35 ;;^UTILITY(U,$J,358.5,203,2,0)
+36 ;;=^357.52I^4^4
+37 ;;^UTILITY(U,$J,358.5,203,2,1,0)
+38 ;;=ALLERGY^^I^^^4^1^30^1
+39 ;;^UTILITY(U,$J,358.5,203,2,2,0)
+40 ;;=TYPE^^I^^^4^32^5^2
+41 ;;^UTILITY(U,$J,358.5,203,2,3,0)
+42 ;;=TRUE^^I^^^4^40^3^5
+43 ;;^UTILITY(U,$J,358.5,203,2,4,0)
+44 ;;=VER^^I^^^4^45^3^4
+45 ;;^UTILITY(U,$J,358.5,204,0)
+46 ;;=ALLERGY 3^54^15^0^3
+47 ;;^UTILITY(U,$J,358.5,204,2,0)
+48 ;;=^357.52I^4^4
+49 ;;^UTILITY(U,$J,358.5,204,2,1,0)
+50 ;;=ALLERGY^^I^^^5^1^30^1
+51 ;;^UTILITY(U,$J,358.5,204,2,2,0)
+52 ;;=TYPE^^I^^^5^32^5^2
+53 ;;^UTILITY(U,$J,358.5,204,2,3,0)
+54 ;;=TRUE^^I^^^5^40^3^5
+55 ;;^UTILITY(U,$J,358.5,204,2,4,0)
+56 ;;=VER^^I^^^5^45^3^4
+57 ;;^UTILITY(U,$J,358.5,205,0)
+58 ;;=ALLERGY 4^54^15^1^4
+59 ;;^UTILITY(U,$J,358.5,205,2,0)
+60 ;;=^357.52I^4^4
+61 ;;^UTILITY(U,$J,358.5,205,2,1,0)
+62 ;;=ALLERGY^^I^^^6^1^30^1
+63 ;;^UTILITY(U,$J,358.5,205,2,2,0)
+64 ;;=TYPE^^I^^^6^32^5^2
+65 ;;^UTILITY(U,$J,358.5,205,2,3,0)
+66 ;;=TRUE^^I^^^6^40^3^5
+67 ;;^UTILITY(U,$J,358.5,205,2,4,0)
+68 ;;=VER^^I^^^6^45^3^4
+69 ;;^UTILITY(U,$J,358.5,206,0)
+70 ;;=CLINIC^55^5
+71 ;;^UTILITY(U,$J,358.5,206,2,0)
+72 ;;=^357.52I^1^1
+73 ;;^UTILITY(U,$J,358.5,206,2,1,0)
+74 ;;=Clinic:^^^0^0^0^8^30^1
+75 ;;^UTILITY(U,$J,358.5,207,0)
+76 ;;=APPT. DT/TIME^55^4
+77 ;;^UTILITY(U,$J,358.5,207,2,0)
+78 ;;=^357.52I^1^1
+79 ;;^UTILITY(U,$J,358.5,207,2,1,0)
+80 ;;=Appt. DT/Time:^^^0^2^2^15^23^1
+81 ;;^UTILITY(U,$J,358.5,208,0)
+82 ;;=CANCELLED?^56^3
+83 ;;^UTILITY(U,$J,358.5,208,2,0)
+84 ;;=^357.52I^1^1
+85 ;;^UTILITY(U,$J,358.5,208,2,1,0)
+86 ;;=Cancelled^^^1^2^2^13^20^1
+87 ;;^UTILITY(U,$J,358.5,209,0)
+88 ;;=NO-SHOW?^56^3
+89 ;;^UTILITY(U,$J,358.5,209,2,0)
+90 ;;=^357.52I^1^1
+91 ;;^UTILITY(U,$J,358.5,209,2,1,0)
+92 ;;=No-Show^^^1^3^3^13^20^1
+93 ;;^UTILITY(U,$J,358.5,210,0)
+94 ;;=CHECKED-OUT?^56^3
+95 ;;^UTILITY(U,$J,358.5,210,2,0)
+96 ;;=^357.52I^1^1
+97 ;;^UTILITY(U,$J,358.5,210,2,1,0)
+98 ;;=Checked-Out^^^1^4^4^13^20^1
+99 ;;^UTILITY(U,$J,358.5,211,0)
+100 ;;=RESCHEDULED?^56^3
+101 ;;^UTILITY(U,$J,358.5,211,2,0)
+102 ;;=^357.52I^1^1
+103 ;;^UTILITY(U,$J,358.5,211,2,1,0)
+104 ;;=Rescheduled^^^1^1^1^13^20^1
+105 ;;^UTILITY(U,$J,358.5,212,0)
+106 ;;=PATIENT NAME^57^6
+107 ;;^UTILITY(U,$J,358.5,212,2,0)
+108 ;;=^357.52I^1^1
+109 ;;^UTILITY(U,$J,358.5,212,2,1,0)
+110 ;;=Patient Name:^^^1^1^1^15^30^1
+111 ;;^UTILITY(U,$J,358.5,213,0)
+112 ;;=PATIENT DOB^57^22
+113 ;;^UTILITY(U,$J,358.5,213,2,0)
+114 ;;=^357.52I^1^1
+115 ;;^UTILITY(U,$J,358.5,213,2,1,0)
+116 ;;=DOB:^^^1^2^2^6^12^1
+117 ;;^UTILITY(U,$J,358.5,214,0)
+118 ;;=PID^57^7
+119 ;;^UTILITY(U,$J,358.5,214,2,0)
+120 ;;=^357.52I^1^1
+121 ;;^UTILITY(U,$J,358.5,214,2,1,0)
+122 ;;=PID:^^^19^2^2^24^15^1
+123 ;;^UTILITY(U,$J,358.5,215,0)
+124 ;;=SC CONDITION 1^57^11^^1
+125 ;;^UTILITY(U,$J,358.5,215,2,0)
+126 ;;=^357.52I^2^2
+127 ;;^UTILITY(U,$J,358.5,215,2,1,0)
+128 ;;=SC Conditions:^^U^1^4^5^1^40^1
+129 ;;^UTILITY(U,$J,358.5,215,2,2,0)
+130 ;;=%^^I^^^5^42^4^3