IBDEI2E6 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.3) 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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,38162,1,3,0)
;;=3^Varicose veins rt lwr extrem w/ pain
;;^UTILITY(U,$J,358.3,38162,1,4,0)
;;=4^I83.811
;;^UTILITY(U,$J,358.3,38162,2)
;;=^5008011
;;^UTILITY(U,$J,358.3,38163,0)
;;=I83.891^^146^1930^12
;;^UTILITY(U,$J,358.3,38163,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38163,1,3,0)
;;=3^Varicose veins rt lwr extrem w/ oth complications
;;^UTILITY(U,$J,358.3,38163,1,4,0)
;;=4^I83.891
;;^UTILITY(U,$J,358.3,38163,2)
;;=^5008015
;;^UTILITY(U,$J,358.3,38164,0)
;;=Q66.31^^146^1930^22
;;^UTILITY(U,$J,358.3,38164,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38164,1,3,0)
;;=3^Varus Deformity,Congenital,Right Foot
;;^UTILITY(U,$J,358.3,38164,1,4,0)
;;=4^Q66.31
;;^UTILITY(U,$J,358.3,38164,2)
;;=^5158124
;;^UTILITY(U,$J,358.3,38165,0)
;;=Q66.32^^146^1930^21
;;^UTILITY(U,$J,358.3,38165,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38165,1,3,0)
;;=3^Varus Deformity,Congenital,Left Foot
;;^UTILITY(U,$J,358.3,38165,1,4,0)
;;=4^Q66.32
;;^UTILITY(U,$J,358.3,38165,2)
;;=^5158125
;;^UTILITY(U,$J,358.3,38166,0)
;;=S91.001A^^146^1931^7
;;^UTILITY(U,$J,358.3,38166,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38166,1,3,0)
;;=3^Open wound, rt ankl, unspec, init enc
;;^UTILITY(U,$J,358.3,38166,1,4,0)
;;=4^S91.001A
;;^UTILITY(U,$J,358.3,38166,2)
;;=^5044129
;;^UTILITY(U,$J,358.3,38167,0)
;;=S91.002A^^146^1931^1
;;^UTILITY(U,$J,358.3,38167,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38167,1,3,0)
;;=3^Open wound, lft ankl, unspec, init enc
;;^UTILITY(U,$J,358.3,38167,1,4,0)
;;=4^S91.002A
;;^UTILITY(U,$J,358.3,38167,2)
;;=^5044132
;;^UTILITY(U,$J,358.3,38168,0)
;;=S91.301A^^146^1931^8
;;^UTILITY(U,$J,358.3,38168,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38168,1,3,0)
;;=3^Open wound, rt foot, unspec, init enc
;;^UTILITY(U,$J,358.3,38168,1,4,0)
;;=4^S91.301A
;;^UTILITY(U,$J,358.3,38168,2)
;;=^5044314
;;^UTILITY(U,$J,358.3,38169,0)
;;=S91.302A^^146^1931^2
;;^UTILITY(U,$J,358.3,38169,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38169,1,3,0)
;;=3^Open wound, lft foot, unspec, init enc
;;^UTILITY(U,$J,358.3,38169,1,4,0)
;;=4^S91.302A
;;^UTILITY(U,$J,358.3,38169,2)
;;=^5044317
;;^UTILITY(U,$J,358.3,38170,0)
;;=S91.101A^^146^1931^10
;;^UTILITY(U,$J,358.3,38170,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38170,1,3,0)
;;=3^Open wound, rt grt toe w/o nail dmg, unspec, init enc
;;^UTILITY(U,$J,358.3,38170,1,4,0)
;;=4^S91.101A
;;^UTILITY(U,$J,358.3,38170,2)
;;=^5044168
;;^UTILITY(U,$J,358.3,38171,0)
;;=S91.102A^^146^1931^4
;;^UTILITY(U,$J,358.3,38171,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38171,1,3,0)
;;=3^Open wound, lft grt toe w/o nail dmg, unspec, init enc
;;^UTILITY(U,$J,358.3,38171,1,4,0)
;;=4^S91.102A
;;^UTILITY(U,$J,358.3,38171,2)
;;=^5044171
;;^UTILITY(U,$J,358.3,38172,0)
;;=S91.104A^^146^1931^12
;;^UTILITY(U,$J,358.3,38172,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38172,1,3,0)
;;=3^Open wound, rt lsr toe(s) w/o nail dmg, unspec, init enc
;;^UTILITY(U,$J,358.3,38172,1,4,0)
;;=4^S91.104A
;;^UTILITY(U,$J,358.3,38172,2)
;;=^5044174
;;^UTILITY(U,$J,358.3,38173,0)
;;=S91.105A^^146^1931^6
;;^UTILITY(U,$J,358.3,38173,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38173,1,3,0)
;;=3^Open wound, lft lsr toe(s) w/o nail dmg, unspec, init enc
;;^UTILITY(U,$J,358.3,38173,1,4,0)
;;=4^S91.105A
;;^UTILITY(U,$J,358.3,38173,2)
;;=^5044177
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2E6 3761 printed Dec 13, 2024@02:26:59 Page 2
IBDEI2E6 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.3)
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,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.3,38162,1,3,0)
+2 ;;=3^Varicose veins rt lwr extrem w/ pain
+3 ;;^UTILITY(U,$J,358.3,38162,1,4,0)
+4 ;;=4^I83.811
+5 ;;^UTILITY(U,$J,358.3,38162,2)
+6 ;;=^5008011
+7 ;;^UTILITY(U,$J,358.3,38163,0)
+8 ;;=I83.891^^146^1930^12
+9 ;;^UTILITY(U,$J,358.3,38163,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,38163,1,3,0)
+12 ;;=3^Varicose veins rt lwr extrem w/ oth complications
+13 ;;^UTILITY(U,$J,358.3,38163,1,4,0)
+14 ;;=4^I83.891
+15 ;;^UTILITY(U,$J,358.3,38163,2)
+16 ;;=^5008015
+17 ;;^UTILITY(U,$J,358.3,38164,0)
+18 ;;=Q66.31^^146^1930^22
+19 ;;^UTILITY(U,$J,358.3,38164,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,38164,1,3,0)
+22 ;;=3^Varus Deformity,Congenital,Right Foot
+23 ;;^UTILITY(U,$J,358.3,38164,1,4,0)
+24 ;;=4^Q66.31
+25 ;;^UTILITY(U,$J,358.3,38164,2)
+26 ;;=^5158124
+27 ;;^UTILITY(U,$J,358.3,38165,0)
+28 ;;=Q66.32^^146^1930^21
+29 ;;^UTILITY(U,$J,358.3,38165,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,38165,1,3,0)
+32 ;;=3^Varus Deformity,Congenital,Left Foot
+33 ;;^UTILITY(U,$J,358.3,38165,1,4,0)
+34 ;;=4^Q66.32
+35 ;;^UTILITY(U,$J,358.3,38165,2)
+36 ;;=^5158125
+37 ;;^UTILITY(U,$J,358.3,38166,0)
+38 ;;=S91.001A^^146^1931^7
+39 ;;^UTILITY(U,$J,358.3,38166,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,38166,1,3,0)
+42 ;;=3^Open wound, rt ankl, unspec, init enc
+43 ;;^UTILITY(U,$J,358.3,38166,1,4,0)
+44 ;;=4^S91.001A
+45 ;;^UTILITY(U,$J,358.3,38166,2)
+46 ;;=^5044129
+47 ;;^UTILITY(U,$J,358.3,38167,0)
+48 ;;=S91.002A^^146^1931^1
+49 ;;^UTILITY(U,$J,358.3,38167,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,38167,1,3,0)
+52 ;;=3^Open wound, lft ankl, unspec, init enc
+53 ;;^UTILITY(U,$J,358.3,38167,1,4,0)
+54 ;;=4^S91.002A
+55 ;;^UTILITY(U,$J,358.3,38167,2)
+56 ;;=^5044132
+57 ;;^UTILITY(U,$J,358.3,38168,0)
+58 ;;=S91.301A^^146^1931^8
+59 ;;^UTILITY(U,$J,358.3,38168,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,38168,1,3,0)
+62 ;;=3^Open wound, rt foot, unspec, init enc
+63 ;;^UTILITY(U,$J,358.3,38168,1,4,0)
+64 ;;=4^S91.301A
+65 ;;^UTILITY(U,$J,358.3,38168,2)
+66 ;;=^5044314
+67 ;;^UTILITY(U,$J,358.3,38169,0)
+68 ;;=S91.302A^^146^1931^2
+69 ;;^UTILITY(U,$J,358.3,38169,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,38169,1,3,0)
+72 ;;=3^Open wound, lft foot, unspec, init enc
+73 ;;^UTILITY(U,$J,358.3,38169,1,4,0)
+74 ;;=4^S91.302A
+75 ;;^UTILITY(U,$J,358.3,38169,2)
+76 ;;=^5044317
+77 ;;^UTILITY(U,$J,358.3,38170,0)
+78 ;;=S91.101A^^146^1931^10
+79 ;;^UTILITY(U,$J,358.3,38170,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,38170,1,3,0)
+82 ;;=3^Open wound, rt grt toe w/o nail dmg, unspec, init enc
+83 ;;^UTILITY(U,$J,358.3,38170,1,4,0)
+84 ;;=4^S91.101A
+85 ;;^UTILITY(U,$J,358.3,38170,2)
+86 ;;=^5044168
+87 ;;^UTILITY(U,$J,358.3,38171,0)
+88 ;;=S91.102A^^146^1931^4
+89 ;;^UTILITY(U,$J,358.3,38171,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,38171,1,3,0)
+92 ;;=3^Open wound, lft grt toe w/o nail dmg, unspec, init enc
+93 ;;^UTILITY(U,$J,358.3,38171,1,4,0)
+94 ;;=4^S91.102A
+95 ;;^UTILITY(U,$J,358.3,38171,2)
+96 ;;=^5044171
+97 ;;^UTILITY(U,$J,358.3,38172,0)
+98 ;;=S91.104A^^146^1931^12
+99 ;;^UTILITY(U,$J,358.3,38172,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,38172,1,3,0)
+102 ;;=3^Open wound, rt lsr toe(s) w/o nail dmg, unspec, init enc
+103 ;;^UTILITY(U,$J,358.3,38172,1,4,0)
+104 ;;=4^S91.104A
+105 ;;^UTILITY(U,$J,358.3,38172,2)
+106 ;;=^5044174
+107 ;;^UTILITY(U,$J,358.3,38173,0)
+108 ;;=S91.105A^^146^1931^6
+109 ;;^UTILITY(U,$J,358.3,38173,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,38173,1,3,0)
+112 ;;=3^Open wound, lft lsr toe(s) w/o nail dmg, unspec, init enc
+113 ;;^UTILITY(U,$J,358.3,38173,1,4,0)
+114 ;;=4^S91.105A
+115 ;;^UTILITY(U,$J,358.3,38173,2)
+116 ;;=^5044177