IBDEI0YY ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,15781,0)
;;=I70.432^^61^765^42
;;^UTILITY(U,$J,358.3,15781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15781,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,15781,1,4,0)
;;=4^I70.432
;;^UTILITY(U,$J,358.3,15781,2)
;;=^5007665
;;^UTILITY(U,$J,358.3,15782,0)
;;=I70.433^^61^765^43
;;^UTILITY(U,$J,358.3,15782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15782,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,15782,1,4,0)
;;=4^I70.433
;;^UTILITY(U,$J,358.3,15782,2)
;;=^5007666
;;^UTILITY(U,$J,358.3,15783,0)
;;=I70.434^^61^765^44
;;^UTILITY(U,$J,358.3,15783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15783,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,15783,1,4,0)
;;=4^I70.434
;;^UTILITY(U,$J,358.3,15783,2)
;;=^5007667
;;^UTILITY(U,$J,358.3,15784,0)
;;=I70.435^^61^765^45
;;^UTILITY(U,$J,358.3,15784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15784,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,15784,1,4,0)
;;=4^I70.435
;;^UTILITY(U,$J,358.3,15784,2)
;;=^5007668
;;^UTILITY(U,$J,358.3,15785,0)
;;=I70.441^^61^765^36
;;^UTILITY(U,$J,358.3,15785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15785,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,15785,1,4,0)
;;=4^I70.441
;;^UTILITY(U,$J,358.3,15785,2)
;;=^5007671
;;^UTILITY(U,$J,358.3,15786,0)
;;=I70.442^^61^765^37
;;^UTILITY(U,$J,358.3,15786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15786,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,15786,1,4,0)
;;=4^I70.442
;;^UTILITY(U,$J,358.3,15786,2)
;;=^5007672
;;^UTILITY(U,$J,358.3,15787,0)
;;=I70.443^^61^765^38
;;^UTILITY(U,$J,358.3,15787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15787,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,15787,1,4,0)
;;=4^I70.443
;;^UTILITY(U,$J,358.3,15787,2)
;;=^5007673
;;^UTILITY(U,$J,358.3,15788,0)
;;=I70.444^^61^765^39
;;^UTILITY(U,$J,358.3,15788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15788,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,15788,1,4,0)
;;=4^I70.444
;;^UTILITY(U,$J,358.3,15788,2)
;;=^5007674
;;^UTILITY(U,$J,358.3,15789,0)
;;=I70.445^^61^765^40
;;^UTILITY(U,$J,358.3,15789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15789,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,15789,1,4,0)
;;=4^I70.445
;;^UTILITY(U,$J,358.3,15789,2)
;;=^5007675
;;^UTILITY(U,$J,358.3,15790,0)
;;=I70.531^^61^765^61
;;^UTILITY(U,$J,358.3,15790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15790,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,15790,1,4,0)
;;=4^I70.531
;;^UTILITY(U,$J,358.3,15790,2)
;;=^5007702
;;^UTILITY(U,$J,358.3,15791,0)
;;=I70.532^^61^765^62
;;^UTILITY(U,$J,358.3,15791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15791,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,15791,1,4,0)
;;=4^I70.532
;;^UTILITY(U,$J,358.3,15791,2)
;;=^5007703
;;^UTILITY(U,$J,358.3,15792,0)
;;=I70.533^^61^765^63
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0YY 3751 printed Dec 13, 2024@01:58:30 Page 2
IBDEI0YY ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,15781,0)
+2 ;;=I70.432^^61^765^42
+3 ;;^UTILITY(U,$J,358.3,15781,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,15781,1,3,0)
+6 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
+7 ;;^UTILITY(U,$J,358.3,15781,1,4,0)
+8 ;;=4^I70.432
+9 ;;^UTILITY(U,$J,358.3,15781,2)
+10 ;;=^5007665
+11 ;;^UTILITY(U,$J,358.3,15782,0)
+12 ;;=I70.433^^61^765^43
+13 ;;^UTILITY(U,$J,358.3,15782,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,15782,1,3,0)
+16 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
+17 ;;^UTILITY(U,$J,358.3,15782,1,4,0)
+18 ;;=4^I70.433
+19 ;;^UTILITY(U,$J,358.3,15782,2)
+20 ;;=^5007666
+21 ;;^UTILITY(U,$J,358.3,15783,0)
+22 ;;=I70.434^^61^765^44
+23 ;;^UTILITY(U,$J,358.3,15783,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,15783,1,3,0)
+26 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
+27 ;;^UTILITY(U,$J,358.3,15783,1,4,0)
+28 ;;=4^I70.434
+29 ;;^UTILITY(U,$J,358.3,15783,2)
+30 ;;=^5007667
+31 ;;^UTILITY(U,$J,358.3,15784,0)
+32 ;;=I70.435^^61^765^45
+33 ;;^UTILITY(U,$J,358.3,15784,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,15784,1,3,0)
+36 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
+37 ;;^UTILITY(U,$J,358.3,15784,1,4,0)
+38 ;;=4^I70.435
+39 ;;^UTILITY(U,$J,358.3,15784,2)
+40 ;;=^5007668
+41 ;;^UTILITY(U,$J,358.3,15785,0)
+42 ;;=I70.441^^61^765^36
+43 ;;^UTILITY(U,$J,358.3,15785,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,15785,1,3,0)
+46 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
+47 ;;^UTILITY(U,$J,358.3,15785,1,4,0)
+48 ;;=4^I70.441
+49 ;;^UTILITY(U,$J,358.3,15785,2)
+50 ;;=^5007671
+51 ;;^UTILITY(U,$J,358.3,15786,0)
+52 ;;=I70.442^^61^765^37
+53 ;;^UTILITY(U,$J,358.3,15786,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,15786,1,3,0)
+56 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Calf
+57 ;;^UTILITY(U,$J,358.3,15786,1,4,0)
+58 ;;=4^I70.442
+59 ;;^UTILITY(U,$J,358.3,15786,2)
+60 ;;=^5007672
+61 ;;^UTILITY(U,$J,358.3,15787,0)
+62 ;;=I70.443^^61^765^38
+63 ;;^UTILITY(U,$J,358.3,15787,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,15787,1,3,0)
+66 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Ankle
+67 ;;^UTILITY(U,$J,358.3,15787,1,4,0)
+68 ;;=4^I70.443
+69 ;;^UTILITY(U,$J,358.3,15787,2)
+70 ;;=^5007673
+71 ;;^UTILITY(U,$J,358.3,15788,0)
+72 ;;=I70.444^^61^765^39
+73 ;;^UTILITY(U,$J,358.3,15788,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,15788,1,3,0)
+76 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Heel/Midfoot
+77 ;;^UTILITY(U,$J,358.3,15788,1,4,0)
+78 ;;=4^I70.444
+79 ;;^UTILITY(U,$J,358.3,15788,2)
+80 ;;=^5007674
+81 ;;^UTILITY(U,$J,358.3,15789,0)
+82 ;;=I70.445^^61^765^40
+83 ;;^UTILITY(U,$J,358.3,15789,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,15789,1,3,0)
+86 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Oth Part of Foot
+87 ;;^UTILITY(U,$J,358.3,15789,1,4,0)
+88 ;;=4^I70.445
+89 ;;^UTILITY(U,$J,358.3,15789,2)
+90 ;;=^5007675
+91 ;;^UTILITY(U,$J,358.3,15790,0)
+92 ;;=I70.531^^61^765^61
+93 ;;^UTILITY(U,$J,358.3,15790,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,15790,1,3,0)
+96 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Thigh
+97 ;;^UTILITY(U,$J,358.3,15790,1,4,0)
+98 ;;=4^I70.531
+99 ;;^UTILITY(U,$J,358.3,15790,2)
+100 ;;=^5007702
+101 ;;^UTILITY(U,$J,358.3,15791,0)
+102 ;;=I70.532^^61^765^62
+103 ;;^UTILITY(U,$J,358.3,15791,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,15791,1,3,0)
+106 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Calf
+107 ;;^UTILITY(U,$J,358.3,15791,1,4,0)
+108 ;;=4^I70.532
+109 ;;^UTILITY(U,$J,358.3,15791,2)
+110 ;;=^5007703
+111 ;;^UTILITY(U,$J,358.3,15792,0)
+112 ;;=I70.533^^61^765^63