IBDEI2FO ; ; 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,38874,1,4,0)
;;=4^I70.335
;;^UTILITY(U,$J,358.3,38874,2)
;;=^5007630
;;^UTILITY(U,$J,358.3,38875,0)
;;=I70.341^^152^1990^50
;;^UTILITY(U,$J,358.3,38875,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38875,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,38875,1,4,0)
;;=4^I70.341
;;^UTILITY(U,$J,358.3,38875,2)
;;=^5007633
;;^UTILITY(U,$J,358.3,38876,0)
;;=I70.342^^152^1990^47
;;^UTILITY(U,$J,358.3,38876,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38876,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,38876,1,4,0)
;;=4^I70.342
;;^UTILITY(U,$J,358.3,38876,2)
;;=^5007634
;;^UTILITY(U,$J,358.3,38877,0)
;;=I70.343^^152^1990^46
;;^UTILITY(U,$J,358.3,38877,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38877,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,38877,1,4,0)
;;=4^I70.343
;;^UTILITY(U,$J,358.3,38877,2)
;;=^5007635
;;^UTILITY(U,$J,358.3,38878,0)
;;=I70.344^^152^1990^48
;;^UTILITY(U,$J,358.3,38878,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38878,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,38878,1,4,0)
;;=4^I70.344
;;^UTILITY(U,$J,358.3,38878,2)
;;=^5007636
;;^UTILITY(U,$J,358.3,38879,0)
;;=I70.345^^152^1990^49
;;^UTILITY(U,$J,358.3,38879,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38879,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,38879,1,4,0)
;;=4^I70.345
;;^UTILITY(U,$J,358.3,38879,2)
;;=^5007637
;;^UTILITY(U,$J,358.3,38880,0)
;;=I70.431^^152^1990^41
;;^UTILITY(U,$J,358.3,38880,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38880,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,38880,1,4,0)
;;=4^I70.431
;;^UTILITY(U,$J,358.3,38880,2)
;;=^5007664
;;^UTILITY(U,$J,358.3,38881,0)
;;=I70.432^^152^1990^42
;;^UTILITY(U,$J,358.3,38881,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38881,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,38881,1,4,0)
;;=4^I70.432
;;^UTILITY(U,$J,358.3,38881,2)
;;=^5007665
;;^UTILITY(U,$J,358.3,38882,0)
;;=I70.433^^152^1990^43
;;^UTILITY(U,$J,358.3,38882,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38882,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,38882,1,4,0)
;;=4^I70.433
;;^UTILITY(U,$J,358.3,38882,2)
;;=^5007666
;;^UTILITY(U,$J,358.3,38883,0)
;;=I70.434^^152^1990^44
;;^UTILITY(U,$J,358.3,38883,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38883,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,38883,1,4,0)
;;=4^I70.434
;;^UTILITY(U,$J,358.3,38883,2)
;;=^5007667
;;^UTILITY(U,$J,358.3,38884,0)
;;=I70.435^^152^1990^45
;;^UTILITY(U,$J,358.3,38884,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38884,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,38884,1,4,0)
;;=4^I70.435
;;^UTILITY(U,$J,358.3,38884,2)
;;=^5007668
;;^UTILITY(U,$J,358.3,38885,0)
;;=I70.441^^152^1990^36
;;^UTILITY(U,$J,358.3,38885,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38885,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,38885,1,4,0)
;;=4^I70.441
;;^UTILITY(U,$J,358.3,38885,2)
;;=^5007671
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2FO 3760 printed Dec 13, 2024@02:27:50 Page 2
IBDEI2FO ; ; 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,38874,1,4,0)
+2 ;;=4^I70.335
+3 ;;^UTILITY(U,$J,358.3,38874,2)
+4 ;;=^5007630
+5 ;;^UTILITY(U,$J,358.3,38875,0)
+6 ;;=I70.341^^152^1990^50
+7 ;;^UTILITY(U,$J,358.3,38875,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,38875,1,3,0)
+10 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Thigh
+11 ;;^UTILITY(U,$J,358.3,38875,1,4,0)
+12 ;;=4^I70.341
+13 ;;^UTILITY(U,$J,358.3,38875,2)
+14 ;;=^5007633
+15 ;;^UTILITY(U,$J,358.3,38876,0)
+16 ;;=I70.342^^152^1990^47
+17 ;;^UTILITY(U,$J,358.3,38876,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,38876,1,3,0)
+20 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Calf
+21 ;;^UTILITY(U,$J,358.3,38876,1,4,0)
+22 ;;=4^I70.342
+23 ;;^UTILITY(U,$J,358.3,38876,2)
+24 ;;=^5007634
+25 ;;^UTILITY(U,$J,358.3,38877,0)
+26 ;;=I70.343^^152^1990^46
+27 ;;^UTILITY(U,$J,358.3,38877,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,38877,1,3,0)
+30 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Ankle
+31 ;;^UTILITY(U,$J,358.3,38877,1,4,0)
+32 ;;=4^I70.343
+33 ;;^UTILITY(U,$J,358.3,38877,2)
+34 ;;=^5007635
+35 ;;^UTILITY(U,$J,358.3,38878,0)
+36 ;;=I70.344^^152^1990^48
+37 ;;^UTILITY(U,$J,358.3,38878,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,38878,1,3,0)
+40 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Heel/Midfoot
+41 ;;^UTILITY(U,$J,358.3,38878,1,4,0)
+42 ;;=4^I70.344
+43 ;;^UTILITY(U,$J,358.3,38878,2)
+44 ;;=^5007636
+45 ;;^UTILITY(U,$J,358.3,38879,0)
+46 ;;=I70.345^^152^1990^49
+47 ;;^UTILITY(U,$J,358.3,38879,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,38879,1,3,0)
+50 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Oth Part of Foot
+51 ;;^UTILITY(U,$J,358.3,38879,1,4,0)
+52 ;;=4^I70.345
+53 ;;^UTILITY(U,$J,358.3,38879,2)
+54 ;;=^5007637
+55 ;;^UTILITY(U,$J,358.3,38880,0)
+56 ;;=I70.431^^152^1990^41
+57 ;;^UTILITY(U,$J,358.3,38880,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,38880,1,3,0)
+60 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Thigh
+61 ;;^UTILITY(U,$J,358.3,38880,1,4,0)
+62 ;;=4^I70.431
+63 ;;^UTILITY(U,$J,358.3,38880,2)
+64 ;;=^5007664
+65 ;;^UTILITY(U,$J,358.3,38881,0)
+66 ;;=I70.432^^152^1990^42
+67 ;;^UTILITY(U,$J,358.3,38881,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,38881,1,3,0)
+70 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
+71 ;;^UTILITY(U,$J,358.3,38881,1,4,0)
+72 ;;=4^I70.432
+73 ;;^UTILITY(U,$J,358.3,38881,2)
+74 ;;=^5007665
+75 ;;^UTILITY(U,$J,358.3,38882,0)
+76 ;;=I70.433^^152^1990^43
+77 ;;^UTILITY(U,$J,358.3,38882,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,38882,1,3,0)
+80 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
+81 ;;^UTILITY(U,$J,358.3,38882,1,4,0)
+82 ;;=4^I70.433
+83 ;;^UTILITY(U,$J,358.3,38882,2)
+84 ;;=^5007666
+85 ;;^UTILITY(U,$J,358.3,38883,0)
+86 ;;=I70.434^^152^1990^44
+87 ;;^UTILITY(U,$J,358.3,38883,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,38883,1,3,0)
+90 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
+91 ;;^UTILITY(U,$J,358.3,38883,1,4,0)
+92 ;;=4^I70.434
+93 ;;^UTILITY(U,$J,358.3,38883,2)
+94 ;;=^5007667
+95 ;;^UTILITY(U,$J,358.3,38884,0)
+96 ;;=I70.435^^152^1990^45
+97 ;;^UTILITY(U,$J,358.3,38884,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,38884,1,3,0)
+100 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
+101 ;;^UTILITY(U,$J,358.3,38884,1,4,0)
+102 ;;=4^I70.435
+103 ;;^UTILITY(U,$J,358.3,38884,2)
+104 ;;=^5007668
+105 ;;^UTILITY(U,$J,358.3,38885,0)
+106 ;;=I70.441^^152^1990^36
+107 ;;^UTILITY(U,$J,358.3,38885,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,38885,1,3,0)
+110 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
+111 ;;^UTILITY(U,$J,358.3,38885,1,4,0)
+112 ;;=4^I70.441
+113 ;;^UTILITY(U,$J,358.3,38885,2)
+114 ;;=^5007671