IBDEI013 ; ; 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,168,2,2,0)
;;=TYPE^^I^^^4^32^5^2
;;^UTILITY(U,$J,358.5,168,2,3,0)
;;=TRUE^^I^^^4^40^3^5
;;^UTILITY(U,$J,358.5,168,2,4,0)
;;=VER^^I^^^4^45^3^4
;;^UTILITY(U,$J,358.5,169,0)
;;=ALLERGY 3^42^15^0^3
;;^UTILITY(U,$J,358.5,169,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,169,2,1,0)
;;=ALLERGY^^I^^^5^1^30^1
;;^UTILITY(U,$J,358.5,169,2,2,0)
;;=TYPE^^I^^^5^32^5^2
;;^UTILITY(U,$J,358.5,169,2,3,0)
;;=TRUE^^I^^^5^40^3^5
;;^UTILITY(U,$J,358.5,169,2,4,0)
;;=VER^^I^^^5^45^3^4
;;^UTILITY(U,$J,358.5,170,0)
;;=ALLERGY 4^42^15^1^4
;;^UTILITY(U,$J,358.5,170,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,170,2,1,0)
;;=ALLERGY^^I^^^6^1^30^1
;;^UTILITY(U,$J,358.5,170,2,2,0)
;;=TYPE^^I^^^6^32^5^2
;;^UTILITY(U,$J,358.5,170,2,3,0)
;;=TRUE^^I^^^6^40^3^5
;;^UTILITY(U,$J,358.5,170,2,4,0)
;;=VER^^I^^^6^45^3^4
;;^UTILITY(U,$J,358.5,171,0)
;;=INSURED?^43^12
;;^UTILITY(U,$J,358.5,171,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,171,2,1,0)
;;=Insurance:^^U^1^0^0^12^7^1
;;^UTILITY(U,$J,358.5,172,0)
;;=INSURANCE 1^43^13^0^1
;;^UTILITY(U,$J,358.5,172,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,172,2,1,0)
;;=COMPANY^^I^^^1^1^28^1
;;^UTILITY(U,$J,358.5,172,2,2,0)
;;=Policy Number:^^U^30^0^1^30^19^3
;;^UTILITY(U,$J,358.5,173,0)
;;=INSURANCE 2^43^13^0^2
;;^UTILITY(U,$J,358.5,173,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,173,2,1,0)
;;=COMPANY^^I^^^2^1^28^1
;;^UTILITY(U,$J,358.5,173,2,2,0)
;;=POLICY #^^I^^^2^30^19^3
;;^UTILITY(U,$J,358.5,174,0)
;;=INSURANCE 3^43^13^0^3
;;^UTILITY(U,$J,358.5,174,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,174,2,1,0)
;;=COMPANY^^I^^^3^1^28^1
;;^UTILITY(U,$J,358.5,174,2,2,0)
;;=POLICY #^^I^^^3^30^19^3
;;^UTILITY(U,$J,358.5,175,0)
;;=INSURANCE 4^43^13^1^4
;;^UTILITY(U,$J,358.5,175,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,175,2,1,0)
;;=COMPANY^^I^^^4^1^28^1
;;^UTILITY(U,$J,358.5,175,2,2,0)
;;=POLICY #^^I^^^4^30^19^3
;;^UTILITY(U,$J,358.5,176,0)
;;=VITALS^45^3
;;^UTILITY(U,$J,358.5,176,2,0)
;;=^357.52I^6^5
;;^UTILITY(U,$J,358.5,176,2,1,0)
;;=WT:^^^55^2^2^58^14^1
;;^UTILITY(U,$J,358.5,176,2,2,0)
;;=BP:^^^1^2^2^4^14^1
;;^UTILITY(U,$J,358.5,176,2,3,0)
;;=T:^^^37^2^2^40^14^1
;;^UTILITY(U,$J,358.5,176,2,4,0)
;;=P:^^^19^2^2^21^14^1
;;^UTILITY(U,$J,358.5,176,2,6,0)
;;=INITIALS/TIME:^^^1^4^4^16^35^
;;^UTILITY(U,$J,358.5,177,0)
;;=Comments:^46^2^^^Comments:^^^^1^8^4^2^80
;;^UTILITY(U,$J,358.5,178,0)
;;=PROBLEM 1^46^28^0^1
;;^UTILITY(U,$J,358.5,178,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,178,2,1,0)
;;=PROBLEM TEXT^^I^^^4^21^48^1
;;^UTILITY(U,$J,358.5,178,2,2,0)
;;=ICD-9^^I^^^4^70^7^2
;;^UTILITY(U,$J,358.5,178,2,3,0)
;;=SC?^^I^^^4^79^1^5
;;^UTILITY(U,$J,358.5,179,0)
;;=PROBLEM 2^46^28^0^2
;;^UTILITY(U,$J,358.5,179,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,179,2,1,0)
;;=PROBLEM TEXT^^I^^^5^21^48^1
;;^UTILITY(U,$J,358.5,179,2,2,0)
;;=ICD-9^^I^^^5^70^7^2
;;^UTILITY(U,$J,358.5,179,2,3,0)
;;=SC?^^I^^^5^79^1^5
;;^UTILITY(U,$J,358.5,180,0)
;;=PROBLEM 3^46^28^0^3
;;^UTILITY(U,$J,358.5,180,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,180,2,1,0)
;;=PROBLEM TEXT^^I^^^6^21^48^1
;;^UTILITY(U,$J,358.5,180,2,2,0)
;;=ICD-9 CODE^^I^^^6^70^7^2
;;^UTILITY(U,$J,358.5,180,2,3,0)
;;=PR^^I^^^6^79^1^5
;;^UTILITY(U,$J,358.5,181,0)
;;=PROBLEM 4^46^28^1^4
;;^UTILITY(U,$J,358.5,181,2,0)
;;=^357.52I^3^3
;;^UTILITY(U,$J,358.5,181,2,1,0)
;;=PROBLEM TEXT^^I^^^7^21^48^1
;;^UTILITY(U,$J,358.5,181,2,2,0)
;;=ICD-9 CODE^^I^^^7^70^7^2
;;^UTILITY(U,$J,358.5,181,2,3,0)
;;=SC?^^I^^^7^79^1^5
;;^UTILITY(U,$J,358.5,182,0)
;;=PATIENT NAME^49^6
IBDEI013 ; ; 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,168,2,2,0)
+2 ;;=TYPE^^I^^^4^32^5^2
+3 ;;^UTILITY(U,$J,358.5,168,2,3,0)
+4 ;;=TRUE^^I^^^4^40^3^5
+5 ;;^UTILITY(U,$J,358.5,168,2,4,0)
+6 ;;=VER^^I^^^4^45^3^4
+7 ;;^UTILITY(U,$J,358.5,169,0)
+8 ;;=ALLERGY 3^42^15^0^3
+9 ;;^UTILITY(U,$J,358.5,169,2,0)
+10 ;;=^357.52I^4^4
+11 ;;^UTILITY(U,$J,358.5,169,2,1,0)
+12 ;;=ALLERGY^^I^^^5^1^30^1
+13 ;;^UTILITY(U,$J,358.5,169,2,2,0)
+14 ;;=TYPE^^I^^^5^32^5^2
+15 ;;^UTILITY(U,$J,358.5,169,2,3,0)
+16 ;;=TRUE^^I^^^5^40^3^5
+17 ;;^UTILITY(U,$J,358.5,169,2,4,0)
+18 ;;=VER^^I^^^5^45^3^4
+19 ;;^UTILITY(U,$J,358.5,170,0)
+20 ;;=ALLERGY 4^42^15^1^4
+21 ;;^UTILITY(U,$J,358.5,170,2,0)
+22 ;;=^357.52I^4^4
+23 ;;^UTILITY(U,$J,358.5,170,2,1,0)
+24 ;;=ALLERGY^^I^^^6^1^30^1
+25 ;;^UTILITY(U,$J,358.5,170,2,2,0)
+26 ;;=TYPE^^I^^^6^32^5^2
+27 ;;^UTILITY(U,$J,358.5,170,2,3,0)
+28 ;;=TRUE^^I^^^6^40^3^5
+29 ;;^UTILITY(U,$J,358.5,170,2,4,0)
+30 ;;=VER^^I^^^6^45^3^4
+31 ;;^UTILITY(U,$J,358.5,171,0)
+32 ;;=INSURED?^43^12
+33 ;;^UTILITY(U,$J,358.5,171,2,0)
+34 ;;=^357.52I^1^1
+35 ;;^UTILITY(U,$J,358.5,171,2,1,0)
+36 ;;=Insurance:^^U^1^0^0^12^7^1
+37 ;;^UTILITY(U,$J,358.5,172,0)
+38 ;;=INSURANCE 1^43^13^0^1
+39 ;;^UTILITY(U,$J,358.5,172,2,0)
+40 ;;=^357.52I^2^2
+41 ;;^UTILITY(U,$J,358.5,172,2,1,0)
+42 ;;=COMPANY^^I^^^1^1^28^1
+43 ;;^UTILITY(U,$J,358.5,172,2,2,0)
+44 ;;=Policy Number:^^U^30^0^1^30^19^3
+45 ;;^UTILITY(U,$J,358.5,173,0)
+46 ;;=INSURANCE 2^43^13^0^2
+47 ;;^UTILITY(U,$J,358.5,173,2,0)
+48 ;;=^357.52I^2^2
+49 ;;^UTILITY(U,$J,358.5,173,2,1,0)
+50 ;;=COMPANY^^I^^^2^1^28^1
+51 ;;^UTILITY(U,$J,358.5,173,2,2,0)
+52 ;;=POLICY #^^I^^^2^30^19^3
+53 ;;^UTILITY(U,$J,358.5,174,0)
+54 ;;=INSURANCE 3^43^13^0^3
+55 ;;^UTILITY(U,$J,358.5,174,2,0)
+56 ;;=^357.52I^2^2
+57 ;;^UTILITY(U,$J,358.5,174,2,1,0)
+58 ;;=COMPANY^^I^^^3^1^28^1
+59 ;;^UTILITY(U,$J,358.5,174,2,2,0)
+60 ;;=POLICY #^^I^^^3^30^19^3
+61 ;;^UTILITY(U,$J,358.5,175,0)
+62 ;;=INSURANCE 4^43^13^1^4
+63 ;;^UTILITY(U,$J,358.5,175,2,0)
+64 ;;=^357.52I^2^2
+65 ;;^UTILITY(U,$J,358.5,175,2,1,0)
+66 ;;=COMPANY^^I^^^4^1^28^1
+67 ;;^UTILITY(U,$J,358.5,175,2,2,0)
+68 ;;=POLICY #^^I^^^4^30^19^3
+69 ;;^UTILITY(U,$J,358.5,176,0)
+70 ;;=VITALS^45^3
+71 ;;^UTILITY(U,$J,358.5,176,2,0)
+72 ;;=^357.52I^6^5
+73 ;;^UTILITY(U,$J,358.5,176,2,1,0)
+74 ;;=WT:^^^55^2^2^58^14^1
+75 ;;^UTILITY(U,$J,358.5,176,2,2,0)
+76 ;;=BP:^^^1^2^2^4^14^1
+77 ;;^UTILITY(U,$J,358.5,176,2,3,0)
+78 ;;=T:^^^37^2^2^40^14^1
+79 ;;^UTILITY(U,$J,358.5,176,2,4,0)
+80 ;;=P:^^^19^2^2^21^14^1
+81 ;;^UTILITY(U,$J,358.5,176,2,6,0)
+82 ;;=INITIALS/TIME:^^^1^4^4^16^35^
+83 ;;^UTILITY(U,$J,358.5,177,0)
+84 ;;=Comments:^46^2^^^Comments:^^^^1^8^4^2^80
+85 ;;^UTILITY(U,$J,358.5,178,0)
+86 ;;=PROBLEM 1^46^28^0^1
+87 ;;^UTILITY(U,$J,358.5,178,2,0)
+88 ;;=^357.52I^3^3
+89 ;;^UTILITY(U,$J,358.5,178,2,1,0)
+90 ;;=PROBLEM TEXT^^I^^^4^21^48^1
+91 ;;^UTILITY(U,$J,358.5,178,2,2,0)
+92 ;;=ICD-9^^I^^^4^70^7^2
+93 ;;^UTILITY(U,$J,358.5,178,2,3,0)
+94 ;;=SC?^^I^^^4^79^1^5
+95 ;;^UTILITY(U,$J,358.5,179,0)
+96 ;;=PROBLEM 2^46^28^0^2
+97 ;;^UTILITY(U,$J,358.5,179,2,0)
+98 ;;=^357.52I^3^3
+99 ;;^UTILITY(U,$J,358.5,179,2,1,0)
+100 ;;=PROBLEM TEXT^^I^^^5^21^48^1
+101 ;;^UTILITY(U,$J,358.5,179,2,2,0)
+102 ;;=ICD-9^^I^^^5^70^7^2
+103 ;;^UTILITY(U,$J,358.5,179,2,3,0)
+104 ;;=SC?^^I^^^5^79^1^5
+105 ;;^UTILITY(U,$J,358.5,180,0)
+106 ;;=PROBLEM 3^46^28^0^3
+107 ;;^UTILITY(U,$J,358.5,180,2,0)
+108 ;;=^357.52I^3^3
+109 ;;^UTILITY(U,$J,358.5,180,2,1,0)
+110 ;;=PROBLEM TEXT^^I^^^6^21^48^1
+111 ;;^UTILITY(U,$J,358.5,180,2,2,0)
+112 ;;=ICD-9 CODE^^I^^^6^70^7^2
+113 ;;^UTILITY(U,$J,358.5,180,2,3,0)
+114 ;;=PR^^I^^^6^79^1^5
+115 ;;^UTILITY(U,$J,358.5,181,0)
+116 ;;=PROBLEM 4^46^28^1^4
+117 ;;^UTILITY(U,$J,358.5,181,2,0)
+118 ;;=^357.52I^3^3
+119 ;;^UTILITY(U,$J,358.5,181,2,1,0)
+120 ;;=PROBLEM TEXT^^I^^^7^21^48^1
+121 ;;^UTILITY(U,$J,358.5,181,2,2,0)
+122 ;;=ICD-9 CODE^^I^^^7^70^7^2
+123 ;;^UTILITY(U,$J,358.5,181,2,3,0)
+124 ;;=SC?^^I^^^7^79^1^5
+125 ;;^UTILITY(U,$J,358.5,182,0)
+126 ;;=PATIENT NAME^49^6