IBDEI01A ; ; 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,293,2,4,0)
;;=P:^^^61^2^2^63^14^1
;;^UTILITY(U,$J,358.5,293,2,6,0)
;;=INITIALS/TIME:^^^79^2^2^94^35^1
;;^UTILITY(U,$J,358.5,294,0)
;;=CLINIC^80^5
;;^UTILITY(U,$J,358.5,294,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,294,2,1,0)
;;=Clinic:^^^0^0^0^8^30^1
;;^UTILITY(U,$J,358.5,295,0)
;;=APPT. DT/TIME^80^4
;;^UTILITY(U,$J,358.5,295,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,295,2,1,0)
;;=Appt. DT/Time:^^^0^2^2^15^23^1
;;^UTILITY(U,$J,358.5,296,0)
;;=OTHER ALLERGIES^81^3
;;^UTILITY(U,$J,358.5,296,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,296,2,1,0)
;;=Other:^^^1^7
;;^UTILITY(U,$J,358.5,297,0)
;;=ALLERGY 1^81^15^0^1
;;^UTILITY(U,$J,358.5,297,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,297,2,1,0)
;;=ALLERGY^^I^^^3^1^30^1
;;^UTILITY(U,$J,358.5,297,2,2,0)
;;=TYPE^^U^32^2^3^32^5^2
;;^UTILITY(U,$J,358.5,297,2,3,0)
;;=VER^^U^45^2^3^45^3^4
;;^UTILITY(U,$J,358.5,297,2,4,0)
;;=TRUE^^U^39^2^3^40^3^5
;;^UTILITY(U,$J,358.5,298,0)
;;=ALLERGY 2^81^15^0^2
;;^UTILITY(U,$J,358.5,298,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,298,2,1,0)
;;=ALLERGY^^I^^^4^1^30^1
;;^UTILITY(U,$J,358.5,298,2,2,0)
;;=TYPE^^I^^^4^32^5^2
;;^UTILITY(U,$J,358.5,298,2,3,0)
;;=TRUE^^I^^^4^40^3^5
;;^UTILITY(U,$J,358.5,298,2,4,0)
;;=VER^^I^^^4^45^3^4
;;^UTILITY(U,$J,358.5,299,0)
;;=ALLERGY 3^81^15^0^3
;;^UTILITY(U,$J,358.5,299,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,299,2,1,0)
;;=ALLERGY^^I^^^5^1^30^1
;;^UTILITY(U,$J,358.5,299,2,2,0)
;;=TYPE^^I^^^5^32^5^2
;;^UTILITY(U,$J,358.5,299,2,3,0)
;;=TRUE^^I^^^5^40^3^5
;;^UTILITY(U,$J,358.5,299,2,4,0)
;;=VER^^I^^^5^45^3^4
;;^UTILITY(U,$J,358.5,300,0)
;;=ALLERGY 4^81^15^1^4
;;^UTILITY(U,$J,358.5,300,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,300,2,1,0)
;;=ALLERGY^^I^^^6^1^30^1
;;^UTILITY(U,$J,358.5,300,2,2,0)
;;=TYPE^^I^^^6^32^5^2
;;^UTILITY(U,$J,358.5,300,2,3,0)
;;=TRUE^^I^^^6^40^3^5
;;^UTILITY(U,$J,358.5,300,2,4,0)
;;=VER^^I^^^6^45^3^4
;;^UTILITY(U,$J,358.5,301,0)
;;=ADDRESS LINE 1^82^9^^1
;;^UTILITY(U,$J,358.5,301,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,301,2,1,0)
;;=Address:^^U^1^1^2^1^45^1
;;^UTILITY(U,$J,358.5,302,0)
;;=TELEPHONE^82^16
;;^UTILITY(U,$J,358.5,302,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,302,2,1,0)
;;=Telephone:^^^15^1^1^26^20^1
;;^UTILITY(U,$J,358.5,303,0)
;;=ADDRESS LINE 2^82^9^^2
;;^UTILITY(U,$J,358.5,303,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,303,2,1,0)
;;=ADDRESS LINE 2^^I^^^3^1^45^1
;;^UTILITY(U,$J,358.5,304,0)
;;=ADDRESS LINE 3^82^9^^3
;;^UTILITY(U,$J,358.5,304,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,304,2,1,0)
;;=ADDRESS LINE 3^^I^^^4^1^45^1
;;^UTILITY(U,$J,358.5,305,0)
;;=ADDRESS LINE 4^82^9^1^4
;;^UTILITY(U,$J,358.5,305,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,305,2,1,0)
;;=ADDRESS LINE 4^^I^^^5^1^45^1
;;^UTILITY(U,$J,358.5,306,0)
;;=INSURED?^82^12
;;^UTILITY(U,$J,358.5,306,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,306,2,1,0)
;;=Insurance:^^U^1^6^6^12^7^1
;;^UTILITY(U,$J,358.5,307,0)
;;=INSURANCE 1^82^13^0^1
;;^UTILITY(U,$J,358.5,307,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,307,2,1,0)
;;=COMPANY^^I^^^7^1^28^1
;;^UTILITY(U,$J,358.5,307,2,2,0)
;;=Policy Number:^^U^30^6^7^30^19^3
;;^UTILITY(U,$J,358.5,308,0)
;;=INSURANCE 2^82^13^0^2
;;^UTILITY(U,$J,358.5,308,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,308,2,1,0)
;;=COMPANY^^I^^^8^1^28^1
;;^UTILITY(U,$J,358.5,308,2,2,0)
;;=POLICY #^^I^^^8^30^19^3
;;^UTILITY(U,$J,358.5,309,0)
;;=INSURANCE 3^82^13^0^3
;;^UTILITY(U,$J,358.5,309,2,0)
;;=^357.52I^2^2
;;^UTILITY(U,$J,358.5,309,2,1,0)
;;=COMPANY^^I^^^9^1^28^1
IBDEI01A ; ; 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,293,2,4,0)
+2 ;;=P:^^^61^2^2^63^14^1
+3 ;;^UTILITY(U,$J,358.5,293,2,6,0)
+4 ;;=INITIALS/TIME:^^^79^2^2^94^35^1
+5 ;;^UTILITY(U,$J,358.5,294,0)
+6 ;;=CLINIC^80^5
+7 ;;^UTILITY(U,$J,358.5,294,2,0)
+8 ;;=^357.52I^1^1
+9 ;;^UTILITY(U,$J,358.5,294,2,1,0)
+10 ;;=Clinic:^^^0^0^0^8^30^1
+11 ;;^UTILITY(U,$J,358.5,295,0)
+12 ;;=APPT. DT/TIME^80^4
+13 ;;^UTILITY(U,$J,358.5,295,2,0)
+14 ;;=^357.52I^1^1
+15 ;;^UTILITY(U,$J,358.5,295,2,1,0)
+16 ;;=Appt. DT/Time:^^^0^2^2^15^23^1
+17 ;;^UTILITY(U,$J,358.5,296,0)
+18 ;;=OTHER ALLERGIES^81^3
+19 ;;^UTILITY(U,$J,358.5,296,2,0)
+20 ;;=^357.52I^1^1
+21 ;;^UTILITY(U,$J,358.5,296,2,1,0)
+22 ;;=Other:^^^1^7
+23 ;;^UTILITY(U,$J,358.5,297,0)
+24 ;;=ALLERGY 1^81^15^0^1
+25 ;;^UTILITY(U,$J,358.5,297,2,0)
+26 ;;=^357.52I^4^4
+27 ;;^UTILITY(U,$J,358.5,297,2,1,0)
+28 ;;=ALLERGY^^I^^^3^1^30^1
+29 ;;^UTILITY(U,$J,358.5,297,2,2,0)
+30 ;;=TYPE^^U^32^2^3^32^5^2
+31 ;;^UTILITY(U,$J,358.5,297,2,3,0)
+32 ;;=VER^^U^45^2^3^45^3^4
+33 ;;^UTILITY(U,$J,358.5,297,2,4,0)
+34 ;;=TRUE^^U^39^2^3^40^3^5
+35 ;;^UTILITY(U,$J,358.5,298,0)
+36 ;;=ALLERGY 2^81^15^0^2
+37 ;;^UTILITY(U,$J,358.5,298,2,0)
+38 ;;=^357.52I^4^4
+39 ;;^UTILITY(U,$J,358.5,298,2,1,0)
+40 ;;=ALLERGY^^I^^^4^1^30^1
+41 ;;^UTILITY(U,$J,358.5,298,2,2,0)
+42 ;;=TYPE^^I^^^4^32^5^2
+43 ;;^UTILITY(U,$J,358.5,298,2,3,0)
+44 ;;=TRUE^^I^^^4^40^3^5
+45 ;;^UTILITY(U,$J,358.5,298,2,4,0)
+46 ;;=VER^^I^^^4^45^3^4
+47 ;;^UTILITY(U,$J,358.5,299,0)
+48 ;;=ALLERGY 3^81^15^0^3
+49 ;;^UTILITY(U,$J,358.5,299,2,0)
+50 ;;=^357.52I^4^4
+51 ;;^UTILITY(U,$J,358.5,299,2,1,0)
+52 ;;=ALLERGY^^I^^^5^1^30^1
+53 ;;^UTILITY(U,$J,358.5,299,2,2,0)
+54 ;;=TYPE^^I^^^5^32^5^2
+55 ;;^UTILITY(U,$J,358.5,299,2,3,0)
+56 ;;=TRUE^^I^^^5^40^3^5
+57 ;;^UTILITY(U,$J,358.5,299,2,4,0)
+58 ;;=VER^^I^^^5^45^3^4
+59 ;;^UTILITY(U,$J,358.5,300,0)
+60 ;;=ALLERGY 4^81^15^1^4
+61 ;;^UTILITY(U,$J,358.5,300,2,0)
+62 ;;=^357.52I^4^4
+63 ;;^UTILITY(U,$J,358.5,300,2,1,0)
+64 ;;=ALLERGY^^I^^^6^1^30^1
+65 ;;^UTILITY(U,$J,358.5,300,2,2,0)
+66 ;;=TYPE^^I^^^6^32^5^2
+67 ;;^UTILITY(U,$J,358.5,300,2,3,0)
+68 ;;=TRUE^^I^^^6^40^3^5
+69 ;;^UTILITY(U,$J,358.5,300,2,4,0)
+70 ;;=VER^^I^^^6^45^3^4
+71 ;;^UTILITY(U,$J,358.5,301,0)
+72 ;;=ADDRESS LINE 1^82^9^^1
+73 ;;^UTILITY(U,$J,358.5,301,2,0)
+74 ;;=^357.52I^1^1
+75 ;;^UTILITY(U,$J,358.5,301,2,1,0)
+76 ;;=Address:^^U^1^1^2^1^45^1
+77 ;;^UTILITY(U,$J,358.5,302,0)
+78 ;;=TELEPHONE^82^16
+79 ;;^UTILITY(U,$J,358.5,302,2,0)
+80 ;;=^357.52I^1^1
+81 ;;^UTILITY(U,$J,358.5,302,2,1,0)
+82 ;;=Telephone:^^^15^1^1^26^20^1
+83 ;;^UTILITY(U,$J,358.5,303,0)
+84 ;;=ADDRESS LINE 2^82^9^^2
+85 ;;^UTILITY(U,$J,358.5,303,2,0)
+86 ;;=^357.52I^1^1
+87 ;;^UTILITY(U,$J,358.5,303,2,1,0)
+88 ;;=ADDRESS LINE 2^^I^^^3^1^45^1
+89 ;;^UTILITY(U,$J,358.5,304,0)
+90 ;;=ADDRESS LINE 3^82^9^^3
+91 ;;^UTILITY(U,$J,358.5,304,2,0)
+92 ;;=^357.52I^1^1
+93 ;;^UTILITY(U,$J,358.5,304,2,1,0)
+94 ;;=ADDRESS LINE 3^^I^^^4^1^45^1
+95 ;;^UTILITY(U,$J,358.5,305,0)
+96 ;;=ADDRESS LINE 4^82^9^1^4
+97 ;;^UTILITY(U,$J,358.5,305,2,0)
+98 ;;=^357.52I^1^1
+99 ;;^UTILITY(U,$J,358.5,305,2,1,0)
+100 ;;=ADDRESS LINE 4^^I^^^5^1^45^1
+101 ;;^UTILITY(U,$J,358.5,306,0)
+102 ;;=INSURED?^82^12
+103 ;;^UTILITY(U,$J,358.5,306,2,0)
+104 ;;=^357.52I^1^1
+105 ;;^UTILITY(U,$J,358.5,306,2,1,0)
+106 ;;=Insurance:^^U^1^6^6^12^7^1
+107 ;;^UTILITY(U,$J,358.5,307,0)
+108 ;;=INSURANCE 1^82^13^0^1
+109 ;;^UTILITY(U,$J,358.5,307,2,0)
+110 ;;=^357.52I^2^2
+111 ;;^UTILITY(U,$J,358.5,307,2,1,0)
+112 ;;=COMPANY^^I^^^7^1^28^1
+113 ;;^UTILITY(U,$J,358.5,307,2,2,0)
+114 ;;=Policy Number:^^U^30^6^7^30^19^3
+115 ;;^UTILITY(U,$J,358.5,308,0)
+116 ;;=INSURANCE 2^82^13^0^2
+117 ;;^UTILITY(U,$J,358.5,308,2,0)
+118 ;;=^357.52I^2^2
+119 ;;^UTILITY(U,$J,358.5,308,2,1,0)
+120 ;;=COMPANY^^I^^^8^1^28^1
+121 ;;^UTILITY(U,$J,358.5,308,2,2,0)
+122 ;;=POLICY #^^I^^^8^30^19^3
+123 ;;^UTILITY(U,$J,358.5,309,0)
+124 ;;=INSURANCE 3^82^13^0^3
+125 ;;^UTILITY(U,$J,358.5,309,2,0)
+126 ;;=^357.52I^2^2
+127 ;;^UTILITY(U,$J,358.5,309,2,1,0)
+128 ;;=COMPANY^^I^^^9^1^28^1