IBDEI011 ; ; 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,96,2,2,0)
;;=AO,IR OR EC?^^I^^^1^0^43^5
;;^UTILITY(U,$J,358.5,137,0)
;;=CLINIC^31^5
;;^UTILITY(U,$J,358.5,137,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,137,2,1,0)
;;=Clinic:^^^0^0^0^8^30^1
;;^UTILITY(U,$J,358.5,138,0)
;;=APPT. DT/TIME^31^4
;;^UTILITY(U,$J,358.5,138,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,138,2,1,0)
;;=Appt. DT/Time:^^^0^2^2^15^23^1
;;^UTILITY(U,$J,358.5,139,0)
;;=OTHER ALLERGIES^32^3
;;^UTILITY(U,$J,358.5,139,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,139,2,1,0)
;;=Other:^^^1^7
;;^UTILITY(U,$J,358.5,140,0)
;;=ALLERGY 1^32^15^0^1
;;^UTILITY(U,$J,358.5,140,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,140,2,1,0)
;;=ALLERGY^^I^^^3^1^30^1
;;^UTILITY(U,$J,358.5,140,2,2,0)
;;=TYPE^^U^32^2^3^32^5^2
;;^UTILITY(U,$J,358.5,140,2,3,0)
;;=VER^^U^45^2^3^45^3^4
;;^UTILITY(U,$J,358.5,140,2,4,0)
;;=TRUE^^U^39^2^3^40^3^5
;;^UTILITY(U,$J,358.5,141,0)
;;=ALLERGY 2^32^15^0^2
;;^UTILITY(U,$J,358.5,141,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,141,2,1,0)
;;=ALLERGY^^I^^^4^1^30^1
;;^UTILITY(U,$J,358.5,141,2,2,0)
;;=TYPE^^I^^^4^32^5^2
;;^UTILITY(U,$J,358.5,141,2,3,0)
;;=TRUE^^I^^^4^40^3^5
;;^UTILITY(U,$J,358.5,141,2,4,0)
;;=VER^^I^^^4^45^3^4
;;^UTILITY(U,$J,358.5,142,0)
;;=ALLERGY 3^32^15^0^3
;;^UTILITY(U,$J,358.5,142,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,142,2,1,0)
;;=ALLERGY^^I^^^5^1^30^1
;;^UTILITY(U,$J,358.5,142,2,2,0)
;;=TYPE^^I^^^5^32^5^2
;;^UTILITY(U,$J,358.5,142,2,3,0)
;;=TRUE^^I^^^5^40^3^5
;;^UTILITY(U,$J,358.5,142,2,4,0)
;;=VER^^I^^^5^45^3^4
;;^UTILITY(U,$J,358.5,143,0)
;;=ALLERGY 4^32^15^1^4
;;^UTILITY(U,$J,358.5,143,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,143,2,1,0)
;;=ALLERGY^^I^^^6^1^30^1
;;^UTILITY(U,$J,358.5,143,2,2,0)
;;=TYPE^^I^^^6^32^5^2
;;^UTILITY(U,$J,358.5,143,2,3,0)
;;=TRUE^^I^^^6^40^3^5
;;^UTILITY(U,$J,358.5,143,2,4,0)
;;=VER^^I^^^6^45^3^4
;;^UTILITY(U,$J,358.5,144,0)
;;=INSURED?^34^12
;;^UTILITY(U,$J,358.5,144,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,144,2,1,0)
;;=Insurance:^^U^1^0^0^12^7^1
;;^UTILITY(U,$J,358.5,145,0)
;;=INSURANCE 1^34^13^0^1
;;^UTILITY(U,$J,358.5,145,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,145,2,1,0)
;;=COMPANY^^I^^^1^1^28^1
;;^UTILITY(U,$J,358.5,145,2,2,0)
;;=Policy Number:^^U^30^0^1^30^19^3
;;^UTILITY(U,$J,358.5,146,0)
;;=INSURANCE 2^34^13^0^2
;;^UTILITY(U,$J,358.5,146,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,146,2,1,0)
;;=COMPANY^^I^^^2^1^28^1
;;^UTILITY(U,$J,358.5,146,2,2,0)
;;=POLICY #^^I^^^2^30^19^3
;;^UTILITY(U,$J,358.5,147,0)
;;=INSURANCE 3^34^13^0^3
;;^UTILITY(U,$J,358.5,147,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,147,2,1,0)
;;=COMPANY^^I^^^3^1^28^1
;;^UTILITY(U,$J,358.5,147,2,2,0)
;;=POLICY #^^I^^^3^30^19^3
;;^UTILITY(U,$J,358.5,148,0)
;;=INSURANCE 4^34^13^1^4
;;^UTILITY(U,$J,358.5,148,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,148,2,1,0)
;;=COMPANY^^I^^^4^1^28^1
;;^UTILITY(U,$J,358.5,148,2,2,0)
;;=POLICY #^^I^^^4^30^19^3
;;^UTILITY(U,$J,358.5,149,0)
;;=VITALS^35^3
;;^UTILITY(U,$J,358.5,149,2,0)
;;=^357.52I^6^5
;;^UTILITY(U,$J,358.5,149,2,1,0)
;;=Weight:^^^1^3^3^11^14^1
;;^UTILITY(U,$J,358.5,149,2,2,0)
;;=BP:^^^1^5^5^11^14^1
;;^UTILITY(U,$J,358.5,149,2,3,0)
;;=Temp:^^^1^7^7^11^14^1
;;^UTILITY(U,$J,358.5,149,2,4,0)
;;=Pulse:^^^1^9^9^11^14^1
;;^UTILITY(U,$J,358.5,149,2,6,0)
;;=INITIALS/TIME:^^^5^12^14^2^26^
;;^UTILITY(U,$J,358.5,150,0)
;;=SIGNATURE^36^3
;;^UTILITY(U,$J,358.5,150,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,150,2,1,0)
;;=Signature of Provider^^^12^4^3^0^45^1
;;^UTILITY(U,$J,358.5,151,0)
;;=PATIENT NAME^38^6
IBDEI011 ; ; 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,96,2,2,0)
+2 ;;=AO,IR OR EC?^^I^^^1^0^43^5
+3 ;;^UTILITY(U,$J,358.5,137,0)
+4 ;;=CLINIC^31^5
+5 ;;^UTILITY(U,$J,358.5,137,2,0)
+6 ;;=^357.52I^1^1
+7 ;;^UTILITY(U,$J,358.5,137,2,1,0)
+8 ;;=Clinic:^^^0^0^0^8^30^1
+9 ;;^UTILITY(U,$J,358.5,138,0)
+10 ;;=APPT. DT/TIME^31^4
+11 ;;^UTILITY(U,$J,358.5,138,2,0)
+12 ;;=^357.52I^1^1
+13 ;;^UTILITY(U,$J,358.5,138,2,1,0)
+14 ;;=Appt. DT/Time:^^^0^2^2^15^23^1
+15 ;;^UTILITY(U,$J,358.5,139,0)
+16 ;;=OTHER ALLERGIES^32^3
+17 ;;^UTILITY(U,$J,358.5,139,2,0)
+18 ;;=^357.52I^1^1
+19 ;;^UTILITY(U,$J,358.5,139,2,1,0)
+20 ;;=Other:^^^1^7
+21 ;;^UTILITY(U,$J,358.5,140,0)
+22 ;;=ALLERGY 1^32^15^0^1
+23 ;;^UTILITY(U,$J,358.5,140,2,0)
+24 ;;=^357.52I^4^4
+25 ;;^UTILITY(U,$J,358.5,140,2,1,0)
+26 ;;=ALLERGY^^I^^^3^1^30^1
+27 ;;^UTILITY(U,$J,358.5,140,2,2,0)
+28 ;;=TYPE^^U^32^2^3^32^5^2
+29 ;;^UTILITY(U,$J,358.5,140,2,3,0)
+30 ;;=VER^^U^45^2^3^45^3^4
+31 ;;^UTILITY(U,$J,358.5,140,2,4,0)
+32 ;;=TRUE^^U^39^2^3^40^3^5
+33 ;;^UTILITY(U,$J,358.5,141,0)
+34 ;;=ALLERGY 2^32^15^0^2
+35 ;;^UTILITY(U,$J,358.5,141,2,0)
+36 ;;=^357.52I^4^4
+37 ;;^UTILITY(U,$J,358.5,141,2,1,0)
+38 ;;=ALLERGY^^I^^^4^1^30^1
+39 ;;^UTILITY(U,$J,358.5,141,2,2,0)
+40 ;;=TYPE^^I^^^4^32^5^2
+41 ;;^UTILITY(U,$J,358.5,141,2,3,0)
+42 ;;=TRUE^^I^^^4^40^3^5
+43 ;;^UTILITY(U,$J,358.5,141,2,4,0)
+44 ;;=VER^^I^^^4^45^3^4
+45 ;;^UTILITY(U,$J,358.5,142,0)
+46 ;;=ALLERGY 3^32^15^0^3
+47 ;;^UTILITY(U,$J,358.5,142,2,0)
+48 ;;=^357.52I^4^4
+49 ;;^UTILITY(U,$J,358.5,142,2,1,0)
+50 ;;=ALLERGY^^I^^^5^1^30^1
+51 ;;^UTILITY(U,$J,358.5,142,2,2,0)
+52 ;;=TYPE^^I^^^5^32^5^2
+53 ;;^UTILITY(U,$J,358.5,142,2,3,0)
+54 ;;=TRUE^^I^^^5^40^3^5
+55 ;;^UTILITY(U,$J,358.5,142,2,4,0)
+56 ;;=VER^^I^^^5^45^3^4
+57 ;;^UTILITY(U,$J,358.5,143,0)
+58 ;;=ALLERGY 4^32^15^1^4
+59 ;;^UTILITY(U,$J,358.5,143,2,0)
+60 ;;=^357.52I^4^4
+61 ;;^UTILITY(U,$J,358.5,143,2,1,0)
+62 ;;=ALLERGY^^I^^^6^1^30^1
+63 ;;^UTILITY(U,$J,358.5,143,2,2,0)
+64 ;;=TYPE^^I^^^6^32^5^2
+65 ;;^UTILITY(U,$J,358.5,143,2,3,0)
+66 ;;=TRUE^^I^^^6^40^3^5
+67 ;;^UTILITY(U,$J,358.5,143,2,4,0)
+68 ;;=VER^^I^^^6^45^3^4
+69 ;;^UTILITY(U,$J,358.5,144,0)
+70 ;;=INSURED?^34^12
+71 ;;^UTILITY(U,$J,358.5,144,2,0)
+72 ;;=^357.52I^1^1
+73 ;;^UTILITY(U,$J,358.5,144,2,1,0)
+74 ;;=Insurance:^^U^1^0^0^12^7^1
+75 ;;^UTILITY(U,$J,358.5,145,0)
+76 ;;=INSURANCE 1^34^13^0^1
+77 ;;^UTILITY(U,$J,358.5,145,2,0)
+78 ;;=^357.52I^2^2
+79 ;;^UTILITY(U,$J,358.5,145,2,1,0)
+80 ;;=COMPANY^^I^^^1^1^28^1
+81 ;;^UTILITY(U,$J,358.5,145,2,2,0)
+82 ;;=Policy Number:^^U^30^0^1^30^19^3
+83 ;;^UTILITY(U,$J,358.5,146,0)
+84 ;;=INSURANCE 2^34^13^0^2
+85 ;;^UTILITY(U,$J,358.5,146,2,0)
+86 ;;=^357.52I^2^2
+87 ;;^UTILITY(U,$J,358.5,146,2,1,0)
+88 ;;=COMPANY^^I^^^2^1^28^1
+89 ;;^UTILITY(U,$J,358.5,146,2,2,0)
+90 ;;=POLICY #^^I^^^2^30^19^3
+91 ;;^UTILITY(U,$J,358.5,147,0)
+92 ;;=INSURANCE 3^34^13^0^3
+93 ;;^UTILITY(U,$J,358.5,147,2,0)
+94 ;;=^357.52I^2^2
+95 ;;^UTILITY(U,$J,358.5,147,2,1,0)
+96 ;;=COMPANY^^I^^^3^1^28^1
+97 ;;^UTILITY(U,$J,358.5,147,2,2,0)
+98 ;;=POLICY #^^I^^^3^30^19^3
+99 ;;^UTILITY(U,$J,358.5,148,0)
+100 ;;=INSURANCE 4^34^13^1^4
+101 ;;^UTILITY(U,$J,358.5,148,2,0)
+102 ;;=^357.52I^2^2
+103 ;;^UTILITY(U,$J,358.5,148,2,1,0)
+104 ;;=COMPANY^^I^^^4^1^28^1
+105 ;;^UTILITY(U,$J,358.5,148,2,2,0)
+106 ;;=POLICY #^^I^^^4^30^19^3
+107 ;;^UTILITY(U,$J,358.5,149,0)
+108 ;;=VITALS^35^3
+109 ;;^UTILITY(U,$J,358.5,149,2,0)
+110 ;;=^357.52I^6^5
+111 ;;^UTILITY(U,$J,358.5,149,2,1,0)
+112 ;;=Weight:^^^1^3^3^11^14^1
+113 ;;^UTILITY(U,$J,358.5,149,2,2,0)
+114 ;;=BP:^^^1^5^5^11^14^1
+115 ;;^UTILITY(U,$J,358.5,149,2,3,0)
+116 ;;=Temp:^^^1^7^7^11^14^1
+117 ;;^UTILITY(U,$J,358.5,149,2,4,0)
+118 ;;=Pulse:^^^1^9^9^11^14^1
+119 ;;^UTILITY(U,$J,358.5,149,2,6,0)
+120 ;;=INITIALS/TIME:^^^5^12^14^2^26^
+121 ;;^UTILITY(U,$J,358.5,150,0)
+122 ;;=SIGNATURE^36^3
+123 ;;^UTILITY(U,$J,358.5,150,2,0)
+124 ;;=^357.52I^1^1
+125 ;;^UTILITY(U,$J,358.5,150,2,1,0)
+126 ;;=Signature of Provider^^^12^4^3^0^45^1
+127 ;;^UTILITY(U,$J,358.5,151,0)
+128 ;;=PATIENT NAME^38^6