IBDEI00X ; ; 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,23,2,1,0)
;;=(__)^^^0^10^10^5^45^1
;;^UTILITY(U,$J,358.5,23,2,2,0)
;;=% - SERVICE CONNECTED^^I^^^10^51^24^5
;;^UTILITY(U,$J,358.5,24,0)
;;=INSURED?^6^12
;;^UTILITY(U,$J,358.5,24,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,24,2,1,0)
;;=Health Insurance:^^^3^12^12^21^7^1
;;^UTILITY(U,$J,358.5,25,0)
;;=INSURANCE 1^6^13^0^1
;;^UTILITY(U,$J,358.5,25,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,25,2,1,0)
;;=Insurance^^U^3^13^14^3^30^1
;;^UTILITY(U,$J,358.5,25,2,2,0)
;;=Policy #^^U^35^13^14^35^20^3
;;^UTILITY(U,$J,358.5,25,2,3,0)
;;=Group #^^U^58^13^14^58^17^4
;;^UTILITY(U,$J,358.5,25,2,4,0)
;;=Holder^^U^77^13^14^77^9^7
;;^UTILITY(U,$J,358.5,26,0)
;;=INSURANCE 2^6^13^0^2
;;^UTILITY(U,$J,358.5,26,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,26,2,1,0)
;;=COMPANY^^I^^^15^3^30^1
;;^UTILITY(U,$J,358.5,26,2,2,0)
;;=POLICY #^^I^^^15^35^20^3
;;^UTILITY(U,$J,358.5,26,2,3,0)
;;=GROUP #^^I^^^15^58^17^4
;;^UTILITY(U,$J,358.5,26,2,4,0)
;;=HOLDER^^I^^^15^77^9^7
;;^UTILITY(U,$J,358.5,27,0)
;;=INSURANCE 3^6^13^1^3
;;^UTILITY(U,$J,358.5,27,2,0)
;;=^357.52I^4^4
;;^UTILITY(U,$J,358.5,27,2,1,0)
;;=COMPANY^^I^^^16^3^30^1
;;^UTILITY(U,$J,358.5,27,2,2,0)
;;=POLICY #^^I^^^16^35^20^3
;;^UTILITY(U,$J,358.5,27,2,3,0)
;;=GROUP #^^I^^^16^58^17^4
;;^UTILITY(U,$J,358.5,27,2,4,0)
;;=HOLDER^^I^^^16^77^9^7
;;^UTILITY(U,$J,358.5,28,0)
;;=FACILITY^6^14
;;^UTILITY(U,$J,358.5,28,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,28,2,1,0)
;;=FACILITY:^^^90^0^0^100^30^1
;;^UTILITY(U,$J,358.5,29,0)
;;=ADDRESS LINE 3^6^9^1^3
;;^UTILITY(U,$J,358.5,29,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,29,2,1,0)
;;=LINE 3^^I^^^2^39^45^1
;;^UTILITY(U,$J,358.5,30,0)
;;=PROCEDURE NOTE^7^2^^^Procedure Note:^^^^0^0^4^2^132
;;^UTILITY(U,$J,358.5,31,0)
;;=Preop Dx:^7^2^^^Preop Dx:^^^^0^4^2^2^132
;;^UTILITY(U,$J,358.5,32,0)
;;=POSTOP DX^7^2^^^Postop Dx:^^^^0^6^2^2^132
;;^UTILITY(U,$J,358.5,33,0)
;;=PROCEDURE^7^2^^^Procedure:^^^^0^8^2^2^132
;;^UTILITY(U,$J,358.5,34,0)
;;=ANESTHESIA^7^2^^^Anesthesia:^^^^0^10^2^2^132
;;^UTILITY(U,$J,358.5,35,0)
;;=SURGEON^7^2^^^Surgeon:^^^^0^12^2^2^132
;;^UTILITY(U,$J,358.5,36,0)
;;=ATTENDING^7^2^^^Attending:^^^^0^14^2^2^132
;;^UTILITY(U,$J,358.5,37,0)
;;=FINDINGS^7^2^^^Findings:^^^^0^16^2^2^132
;;^UTILITY(U,$J,358.5,38,0)
;;=PLAN^7^2^^^Plan:^^^^0^18^8^2^132
;;^UTILITY(U,$J,358.5,39,0)
;;=APPT DATE^8^4
;;^UTILITY(U,$J,358.5,39,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,39,2,1,0)
;;=Appt Date:^^^60^0^0^71^12^2
;;^UTILITY(U,$J,358.5,40,0)
;;=PAGE NUMBER^8^3
;;^UTILITY(U,$J,358.5,40,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,40,2,1,0)
;;=PAGE: 1^^^110^0
;;^UTILITY(U,$J,358.5,41,0)
;;=CLINIC^8^5
;;^UTILITY(U,$J,358.5,41,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,41,2,1,0)
;;=Clinic:^^^0^0^0^8^30^1
;;^UTILITY(U,$J,358.5,42,0)
;;=SIGNATURE^9^3
;;^UTILITY(U,$J,358.5,42,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,42,2,1,0)
;;=Signature of Provider^^^60^4^3^60^40^1
;;^UTILITY(U,$J,358.5,43,0)
;;=CLINIC^9^5
;;^UTILITY(U,$J,358.5,43,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,43,2,1,0)
;;=Clinic:^^^0^4^4^8^30^1
;;^UTILITY(U,$J,358.5,44,0)
;;=PATEINT NAME^11^6
;;^UTILITY(U,$J,358.5,44,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,44,2,1,0)
;;=NAME^^I^^^0^0^30^1
;;^UTILITY(U,$J,358.5,45,0)
;;=PID^11^7
;;^UTILITY(U,$J,358.5,45,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,45,2,1,0)
;;=PID^^I^^^1^0^15^1
;;^UTILITY(U,$J,358.5,46,0)
;;=ELIGIBILITY^11^8
;;^UTILITY(U,$J,358.5,46,2,0)
;;=^357.52I^1^1
;;^UTILITY(U,$J,358.5,46,2,1,0)
;;=Elig:^^^0^2^2^6^30^1
IBDEI00X ; ; 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,23,2,1,0)
+2 ;;=(__)^^^0^10^10^5^45^1
+3 ;;^UTILITY(U,$J,358.5,23,2,2,0)
+4 ;;=% - SERVICE CONNECTED^^I^^^10^51^24^5
+5 ;;^UTILITY(U,$J,358.5,24,0)
+6 ;;=INSURED?^6^12
+7 ;;^UTILITY(U,$J,358.5,24,2,0)
+8 ;;=^357.52I^1^1
+9 ;;^UTILITY(U,$J,358.5,24,2,1,0)
+10 ;;=Health Insurance:^^^3^12^12^21^7^1
+11 ;;^UTILITY(U,$J,358.5,25,0)
+12 ;;=INSURANCE 1^6^13^0^1
+13 ;;^UTILITY(U,$J,358.5,25,2,0)
+14 ;;=^357.52I^4^4
+15 ;;^UTILITY(U,$J,358.5,25,2,1,0)
+16 ;;=Insurance^^U^3^13^14^3^30^1
+17 ;;^UTILITY(U,$J,358.5,25,2,2,0)
+18 ;;=Policy #^^U^35^13^14^35^20^3
+19 ;;^UTILITY(U,$J,358.5,25,2,3,0)
+20 ;;=Group #^^U^58^13^14^58^17^4
+21 ;;^UTILITY(U,$J,358.5,25,2,4,0)
+22 ;;=Holder^^U^77^13^14^77^9^7
+23 ;;^UTILITY(U,$J,358.5,26,0)
+24 ;;=INSURANCE 2^6^13^0^2
+25 ;;^UTILITY(U,$J,358.5,26,2,0)
+26 ;;=^357.52I^4^4
+27 ;;^UTILITY(U,$J,358.5,26,2,1,0)
+28 ;;=COMPANY^^I^^^15^3^30^1
+29 ;;^UTILITY(U,$J,358.5,26,2,2,0)
+30 ;;=POLICY #^^I^^^15^35^20^3
+31 ;;^UTILITY(U,$J,358.5,26,2,3,0)
+32 ;;=GROUP #^^I^^^15^58^17^4
+33 ;;^UTILITY(U,$J,358.5,26,2,4,0)
+34 ;;=HOLDER^^I^^^15^77^9^7
+35 ;;^UTILITY(U,$J,358.5,27,0)
+36 ;;=INSURANCE 3^6^13^1^3
+37 ;;^UTILITY(U,$J,358.5,27,2,0)
+38 ;;=^357.52I^4^4
+39 ;;^UTILITY(U,$J,358.5,27,2,1,0)
+40 ;;=COMPANY^^I^^^16^3^30^1
+41 ;;^UTILITY(U,$J,358.5,27,2,2,0)
+42 ;;=POLICY #^^I^^^16^35^20^3
+43 ;;^UTILITY(U,$J,358.5,27,2,3,0)
+44 ;;=GROUP #^^I^^^16^58^17^4
+45 ;;^UTILITY(U,$J,358.5,27,2,4,0)
+46 ;;=HOLDER^^I^^^16^77^9^7
+47 ;;^UTILITY(U,$J,358.5,28,0)
+48 ;;=FACILITY^6^14
+49 ;;^UTILITY(U,$J,358.5,28,2,0)
+50 ;;=^357.52I^1^1
+51 ;;^UTILITY(U,$J,358.5,28,2,1,0)
+52 ;;=FACILITY:^^^90^0^0^100^30^1
+53 ;;^UTILITY(U,$J,358.5,29,0)
+54 ;;=ADDRESS LINE 3^6^9^1^3
+55 ;;^UTILITY(U,$J,358.5,29,2,0)
+56 ;;=^357.52I^1^1
+57 ;;^UTILITY(U,$J,358.5,29,2,1,0)
+58 ;;=LINE 3^^I^^^2^39^45^1
+59 ;;^UTILITY(U,$J,358.5,30,0)
+60 ;;=PROCEDURE NOTE^7^2^^^Procedure Note:^^^^0^0^4^2^132
+61 ;;^UTILITY(U,$J,358.5,31,0)
+62 ;;=Preop Dx:^7^2^^^Preop Dx:^^^^0^4^2^2^132
+63 ;;^UTILITY(U,$J,358.5,32,0)
+64 ;;=POSTOP DX^7^2^^^Postop Dx:^^^^0^6^2^2^132
+65 ;;^UTILITY(U,$J,358.5,33,0)
+66 ;;=PROCEDURE^7^2^^^Procedure:^^^^0^8^2^2^132
+67 ;;^UTILITY(U,$J,358.5,34,0)
+68 ;;=ANESTHESIA^7^2^^^Anesthesia:^^^^0^10^2^2^132
+69 ;;^UTILITY(U,$J,358.5,35,0)
+70 ;;=SURGEON^7^2^^^Surgeon:^^^^0^12^2^2^132
+71 ;;^UTILITY(U,$J,358.5,36,0)
+72 ;;=ATTENDING^7^2^^^Attending:^^^^0^14^2^2^132
+73 ;;^UTILITY(U,$J,358.5,37,0)
+74 ;;=FINDINGS^7^2^^^Findings:^^^^0^16^2^2^132
+75 ;;^UTILITY(U,$J,358.5,38,0)
+76 ;;=PLAN^7^2^^^Plan:^^^^0^18^8^2^132
+77 ;;^UTILITY(U,$J,358.5,39,0)
+78 ;;=APPT DATE^8^4
+79 ;;^UTILITY(U,$J,358.5,39,2,0)
+80 ;;=^357.52I^1^1
+81 ;;^UTILITY(U,$J,358.5,39,2,1,0)
+82 ;;=Appt Date:^^^60^0^0^71^12^2
+83 ;;^UTILITY(U,$J,358.5,40,0)
+84 ;;=PAGE NUMBER^8^3
+85 ;;^UTILITY(U,$J,358.5,40,2,0)
+86 ;;=^357.52I^1^1
+87 ;;^UTILITY(U,$J,358.5,40,2,1,0)
+88 ;;=PAGE: 1^^^110^0
+89 ;;^UTILITY(U,$J,358.5,41,0)
+90 ;;=CLINIC^8^5
+91 ;;^UTILITY(U,$J,358.5,41,2,0)
+92 ;;=^357.52I^1^1
+93 ;;^UTILITY(U,$J,358.5,41,2,1,0)
+94 ;;=Clinic:^^^0^0^0^8^30^1
+95 ;;^UTILITY(U,$J,358.5,42,0)
+96 ;;=SIGNATURE^9^3
+97 ;;^UTILITY(U,$J,358.5,42,2,0)
+98 ;;=^357.52I^1^1
+99 ;;^UTILITY(U,$J,358.5,42,2,1,0)
+100 ;;=Signature of Provider^^^60^4^3^60^40^1
+101 ;;^UTILITY(U,$J,358.5,43,0)
+102 ;;=CLINIC^9^5
+103 ;;^UTILITY(U,$J,358.5,43,2,0)
+104 ;;=^357.52I^1^1
+105 ;;^UTILITY(U,$J,358.5,43,2,1,0)
+106 ;;=Clinic:^^^0^4^4^8^30^1
+107 ;;^UTILITY(U,$J,358.5,44,0)
+108 ;;=PATEINT NAME^11^6
+109 ;;^UTILITY(U,$J,358.5,44,2,0)
+110 ;;=^357.52I^1^1
+111 ;;^UTILITY(U,$J,358.5,44,2,1,0)
+112 ;;=NAME^^I^^^0^0^30^1
+113 ;;^UTILITY(U,$J,358.5,45,0)
+114 ;;=PID^11^7
+115 ;;^UTILITY(U,$J,358.5,45,2,0)
+116 ;;=^357.52I^1^1
+117 ;;^UTILITY(U,$J,358.5,45,2,1,0)
+118 ;;=PID^^I^^^1^0^15^1
+119 ;;^UTILITY(U,$J,358.5,46,0)
+120 ;;=ELIGIBILITY^11^8
+121 ;;^UTILITY(U,$J,358.5,46,2,0)
+122 ;;=^357.52I^1^1
+123 ;;^UTILITY(U,$J,358.5,46,2,1,0)
+124 ;;=Elig:^^^0^2^2^6^30^1