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