IBDEI0HD ; ; 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,7821,2)
;;=^5007665
;;^UTILITY(U,$J,358.3,7822,0)
;;=I70.433^^39^391^43
;;^UTILITY(U,$J,358.3,7822,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7822,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,7822,1,4,0)
;;=4^I70.433
;;^UTILITY(U,$J,358.3,7822,2)
;;=^5007666
;;^UTILITY(U,$J,358.3,7823,0)
;;=I70.434^^39^391^44
;;^UTILITY(U,$J,358.3,7823,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7823,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,7823,1,4,0)
;;=4^I70.434
;;^UTILITY(U,$J,358.3,7823,2)
;;=^5007667
;;^UTILITY(U,$J,358.3,7824,0)
;;=I70.435^^39^391^45
;;^UTILITY(U,$J,358.3,7824,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7824,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,7824,1,4,0)
;;=4^I70.435
;;^UTILITY(U,$J,358.3,7824,2)
;;=^5007668
;;^UTILITY(U,$J,358.3,7825,0)
;;=I70.441^^39^391^36
;;^UTILITY(U,$J,358.3,7825,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7825,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,7825,1,4,0)
;;=4^I70.441
;;^UTILITY(U,$J,358.3,7825,2)
;;=^5007671
;;^UTILITY(U,$J,358.3,7826,0)
;;=I70.442^^39^391^37
;;^UTILITY(U,$J,358.3,7826,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7826,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,7826,1,4,0)
;;=4^I70.442
;;^UTILITY(U,$J,358.3,7826,2)
;;=^5007672
;;^UTILITY(U,$J,358.3,7827,0)
;;=I70.443^^39^391^38
;;^UTILITY(U,$J,358.3,7827,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7827,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,7827,1,4,0)
;;=4^I70.443
;;^UTILITY(U,$J,358.3,7827,2)
;;=^5007673
;;^UTILITY(U,$J,358.3,7828,0)
;;=I70.444^^39^391^39
;;^UTILITY(U,$J,358.3,7828,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7828,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,7828,1,4,0)
;;=4^I70.444
;;^UTILITY(U,$J,358.3,7828,2)
;;=^5007674
;;^UTILITY(U,$J,358.3,7829,0)
;;=I70.445^^39^391^40
;;^UTILITY(U,$J,358.3,7829,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7829,1,3,0)
;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,7829,1,4,0)
;;=4^I70.445
;;^UTILITY(U,$J,358.3,7829,2)
;;=^5007675
;;^UTILITY(U,$J,358.3,7830,0)
;;=I70.531^^39^391^61
;;^UTILITY(U,$J,358.3,7830,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7830,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,7830,1,4,0)
;;=4^I70.531
;;^UTILITY(U,$J,358.3,7830,2)
;;=^5007702
;;^UTILITY(U,$J,358.3,7831,0)
;;=I70.532^^39^391^62
;;^UTILITY(U,$J,358.3,7831,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7831,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,7831,1,4,0)
;;=4^I70.532
;;^UTILITY(U,$J,358.3,7831,2)
;;=^5007703
;;^UTILITY(U,$J,358.3,7832,0)
;;=I70.533^^39^391^63
;;^UTILITY(U,$J,358.3,7832,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7832,1,3,0)
;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,7832,1,4,0)
;;=4^I70.533
;;^UTILITY(U,$J,358.3,7832,2)
;;=^5007704
;;^UTILITY(U,$J,358.3,7833,0)
;;=I70.534^^39^391^64
;;^UTILITY(U,$J,358.3,7833,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0HD 3795 printed Oct 16, 2024@17:49:33 Page 2
IBDEI0HD ; ; 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,7821,2)
+2 ;;=^5007665
+3 ;;^UTILITY(U,$J,358.3,7822,0)
+4 ;;=I70.433^^39^391^43
+5 ;;^UTILITY(U,$J,358.3,7822,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,7822,1,3,0)
+8 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Ankle
+9 ;;^UTILITY(U,$J,358.3,7822,1,4,0)
+10 ;;=4^I70.433
+11 ;;^UTILITY(U,$J,358.3,7822,2)
+12 ;;=^5007666
+13 ;;^UTILITY(U,$J,358.3,7823,0)
+14 ;;=I70.434^^39^391^44
+15 ;;^UTILITY(U,$J,358.3,7823,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,7823,1,3,0)
+18 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Heel/Midfoot
+19 ;;^UTILITY(U,$J,358.3,7823,1,4,0)
+20 ;;=4^I70.434
+21 ;;^UTILITY(U,$J,358.3,7823,2)
+22 ;;=^5007667
+23 ;;^UTILITY(U,$J,358.3,7824,0)
+24 ;;=I70.435^^39^391^45
+25 ;;^UTILITY(U,$J,358.3,7824,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,7824,1,3,0)
+28 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Oth Part of Foot
+29 ;;^UTILITY(U,$J,358.3,7824,1,4,0)
+30 ;;=4^I70.435
+31 ;;^UTILITY(U,$J,358.3,7824,2)
+32 ;;=^5007668
+33 ;;^UTILITY(U,$J,358.3,7825,0)
+34 ;;=I70.441^^39^391^36
+35 ;;^UTILITY(U,$J,358.3,7825,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,7825,1,3,0)
+38 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Thigh
+39 ;;^UTILITY(U,$J,358.3,7825,1,4,0)
+40 ;;=4^I70.441
+41 ;;^UTILITY(U,$J,358.3,7825,2)
+42 ;;=^5007671
+43 ;;^UTILITY(U,$J,358.3,7826,0)
+44 ;;=I70.442^^39^391^37
+45 ;;^UTILITY(U,$J,358.3,7826,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,7826,1,3,0)
+48 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Calf
+49 ;;^UTILITY(U,$J,358.3,7826,1,4,0)
+50 ;;=4^I70.442
+51 ;;^UTILITY(U,$J,358.3,7826,2)
+52 ;;=^5007672
+53 ;;^UTILITY(U,$J,358.3,7827,0)
+54 ;;=I70.443^^39^391^38
+55 ;;^UTILITY(U,$J,358.3,7827,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,7827,1,3,0)
+58 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Ankle
+59 ;;^UTILITY(U,$J,358.3,7827,1,4,0)
+60 ;;=4^I70.443
+61 ;;^UTILITY(U,$J,358.3,7827,2)
+62 ;;=^5007673
+63 ;;^UTILITY(U,$J,358.3,7828,0)
+64 ;;=I70.444^^39^391^39
+65 ;;^UTILITY(U,$J,358.3,7828,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,7828,1,3,0)
+68 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Heel/Midfoot
+69 ;;^UTILITY(U,$J,358.3,7828,1,4,0)
+70 ;;=4^I70.444
+71 ;;^UTILITY(U,$J,358.3,7828,2)
+72 ;;=^5007674
+73 ;;^UTILITY(U,$J,358.3,7829,0)
+74 ;;=I70.445^^39^391^40
+75 ;;^UTILITY(U,$J,358.3,7829,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,7829,1,3,0)
+78 ;;=3^Athscl Autol Vein Bypass of Left Leg w/ Ulcer of Oth Part of Foot
+79 ;;^UTILITY(U,$J,358.3,7829,1,4,0)
+80 ;;=4^I70.445
+81 ;;^UTILITY(U,$J,358.3,7829,2)
+82 ;;=^5007675
+83 ;;^UTILITY(U,$J,358.3,7830,0)
+84 ;;=I70.531^^39^391^61
+85 ;;^UTILITY(U,$J,358.3,7830,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,7830,1,3,0)
+88 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Thigh
+89 ;;^UTILITY(U,$J,358.3,7830,1,4,0)
+90 ;;=4^I70.531
+91 ;;^UTILITY(U,$J,358.3,7830,2)
+92 ;;=^5007702
+93 ;;^UTILITY(U,$J,358.3,7831,0)
+94 ;;=I70.532^^39^391^62
+95 ;;^UTILITY(U,$J,358.3,7831,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,7831,1,3,0)
+98 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Calf
+99 ;;^UTILITY(U,$J,358.3,7831,1,4,0)
+100 ;;=4^I70.532
+101 ;;^UTILITY(U,$J,358.3,7831,2)
+102 ;;=^5007703
+103 ;;^UTILITY(U,$J,358.3,7832,0)
+104 ;;=I70.533^^39^391^63
+105 ;;^UTILITY(U,$J,358.3,7832,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,7832,1,3,0)
+108 ;;=3^Athscl Nonaut Bio Bypass of Right Leg w/ Ulcer of Ankle
+109 ;;^UTILITY(U,$J,358.3,7832,1,4,0)
+110 ;;=4^I70.533
+111 ;;^UTILITY(U,$J,358.3,7832,2)
+112 ;;=^5007704
+113 ;;^UTILITY(U,$J,358.3,7833,0)
+114 ;;=I70.534^^39^391^64
+115 ;;^UTILITY(U,$J,358.3,7833,1,0)
+116 ;;=^358.31IA^4^2