IBDEI0HC ; ; 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,7810,0)
;;=I70.331^^39^391^51
;;^UTILITY(U,$J,358.3,7810,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7810,1,3,0)
;;=3^Athscl Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,7810,1,4,0)
;;=4^I70.331
;;^UTILITY(U,$J,358.3,7810,2)
;;=^5007626
;;^UTILITY(U,$J,358.3,7811,0)
;;=I70.332^^39^391^52
;;^UTILITY(U,$J,358.3,7811,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7811,1,3,0)
;;=3^Athscl Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,7811,1,4,0)
;;=4^I70.332
;;^UTILITY(U,$J,358.3,7811,2)
;;=^5007627
;;^UTILITY(U,$J,358.3,7812,0)
;;=I70.333^^39^391^53
;;^UTILITY(U,$J,358.3,7812,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7812,1,3,0)
;;=3^Athscl Bypass of Right Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,7812,1,4,0)
;;=4^I70.333
;;^UTILITY(U,$J,358.3,7812,2)
;;=^5007628
;;^UTILITY(U,$J,358.3,7813,0)
;;=I70.334^^39^391^54
;;^UTILITY(U,$J,358.3,7813,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7813,1,3,0)
;;=3^Athscl Bypass of Right Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,7813,1,4,0)
;;=4^I70.334
;;^UTILITY(U,$J,358.3,7813,2)
;;=^5007629
;;^UTILITY(U,$J,358.3,7814,0)
;;=I70.335^^39^391^55
;;^UTILITY(U,$J,358.3,7814,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7814,1,3,0)
;;=3^Athscl Bypass of Right Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,7814,1,4,0)
;;=4^I70.335
;;^UTILITY(U,$J,358.3,7814,2)
;;=^5007630
;;^UTILITY(U,$J,358.3,7815,0)
;;=I70.341^^39^391^50
;;^UTILITY(U,$J,358.3,7815,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7815,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,7815,1,4,0)
;;=4^I70.341
;;^UTILITY(U,$J,358.3,7815,2)
;;=^5007633
;;^UTILITY(U,$J,358.3,7816,0)
;;=I70.342^^39^391^47
;;^UTILITY(U,$J,358.3,7816,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7816,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,7816,1,4,0)
;;=4^I70.342
;;^UTILITY(U,$J,358.3,7816,2)
;;=^5007634
;;^UTILITY(U,$J,358.3,7817,0)
;;=I70.343^^39^391^46
;;^UTILITY(U,$J,358.3,7817,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7817,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Ankle
;;^UTILITY(U,$J,358.3,7817,1,4,0)
;;=4^I70.343
;;^UTILITY(U,$J,358.3,7817,2)
;;=^5007635
;;^UTILITY(U,$J,358.3,7818,0)
;;=I70.344^^39^391^48
;;^UTILITY(U,$J,358.3,7818,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7818,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Heel/Midfoot
;;^UTILITY(U,$J,358.3,7818,1,4,0)
;;=4^I70.344
;;^UTILITY(U,$J,358.3,7818,2)
;;=^5007636
;;^UTILITY(U,$J,358.3,7819,0)
;;=I70.345^^39^391^49
;;^UTILITY(U,$J,358.3,7819,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7819,1,3,0)
;;=3^Athscl Bypass of Left Leg w/ Ulcer of Oth Part of Foot
;;^UTILITY(U,$J,358.3,7819,1,4,0)
;;=4^I70.345
;;^UTILITY(U,$J,358.3,7819,2)
;;=^5007637
;;^UTILITY(U,$J,358.3,7820,0)
;;=I70.431^^39^391^41
;;^UTILITY(U,$J,358.3,7820,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7820,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Thigh
;;^UTILITY(U,$J,358.3,7820,1,4,0)
;;=4^I70.431
;;^UTILITY(U,$J,358.3,7820,2)
;;=^5007664
;;^UTILITY(U,$J,358.3,7821,0)
;;=I70.432^^39^391^42
;;^UTILITY(U,$J,358.3,7821,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,7821,1,3,0)
;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
;;^UTILITY(U,$J,358.3,7821,1,4,0)
;;=4^I70.432
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0HC 3788 printed Dec 13, 2024@01:48:41 Page 2
IBDEI0HC ; ; 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,7810,0)
+2 ;;=I70.331^^39^391^51
+3 ;;^UTILITY(U,$J,358.3,7810,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,7810,1,3,0)
+6 ;;=3^Athscl Bypass of Right Leg w/ Ulcer of Thigh
+7 ;;^UTILITY(U,$J,358.3,7810,1,4,0)
+8 ;;=4^I70.331
+9 ;;^UTILITY(U,$J,358.3,7810,2)
+10 ;;=^5007626
+11 ;;^UTILITY(U,$J,358.3,7811,0)
+12 ;;=I70.332^^39^391^52
+13 ;;^UTILITY(U,$J,358.3,7811,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,7811,1,3,0)
+16 ;;=3^Athscl Bypass of Right Leg w/ Ulcer of Calf
+17 ;;^UTILITY(U,$J,358.3,7811,1,4,0)
+18 ;;=4^I70.332
+19 ;;^UTILITY(U,$J,358.3,7811,2)
+20 ;;=^5007627
+21 ;;^UTILITY(U,$J,358.3,7812,0)
+22 ;;=I70.333^^39^391^53
+23 ;;^UTILITY(U,$J,358.3,7812,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,7812,1,3,0)
+26 ;;=3^Athscl Bypass of Right Leg w/ Ulcer of Ankle
+27 ;;^UTILITY(U,$J,358.3,7812,1,4,0)
+28 ;;=4^I70.333
+29 ;;^UTILITY(U,$J,358.3,7812,2)
+30 ;;=^5007628
+31 ;;^UTILITY(U,$J,358.3,7813,0)
+32 ;;=I70.334^^39^391^54
+33 ;;^UTILITY(U,$J,358.3,7813,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,7813,1,3,0)
+36 ;;=3^Athscl Bypass of Right Leg w/ Ulcer of Heel/Midfoot
+37 ;;^UTILITY(U,$J,358.3,7813,1,4,0)
+38 ;;=4^I70.334
+39 ;;^UTILITY(U,$J,358.3,7813,2)
+40 ;;=^5007629
+41 ;;^UTILITY(U,$J,358.3,7814,0)
+42 ;;=I70.335^^39^391^55
+43 ;;^UTILITY(U,$J,358.3,7814,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,7814,1,3,0)
+46 ;;=3^Athscl Bypass of Right Leg w/ Ulcer of Oth Part of Foot
+47 ;;^UTILITY(U,$J,358.3,7814,1,4,0)
+48 ;;=4^I70.335
+49 ;;^UTILITY(U,$J,358.3,7814,2)
+50 ;;=^5007630
+51 ;;^UTILITY(U,$J,358.3,7815,0)
+52 ;;=I70.341^^39^391^50
+53 ;;^UTILITY(U,$J,358.3,7815,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,7815,1,3,0)
+56 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Thigh
+57 ;;^UTILITY(U,$J,358.3,7815,1,4,0)
+58 ;;=4^I70.341
+59 ;;^UTILITY(U,$J,358.3,7815,2)
+60 ;;=^5007633
+61 ;;^UTILITY(U,$J,358.3,7816,0)
+62 ;;=I70.342^^39^391^47
+63 ;;^UTILITY(U,$J,358.3,7816,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,7816,1,3,0)
+66 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Calf
+67 ;;^UTILITY(U,$J,358.3,7816,1,4,0)
+68 ;;=4^I70.342
+69 ;;^UTILITY(U,$J,358.3,7816,2)
+70 ;;=^5007634
+71 ;;^UTILITY(U,$J,358.3,7817,0)
+72 ;;=I70.343^^39^391^46
+73 ;;^UTILITY(U,$J,358.3,7817,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,7817,1,3,0)
+76 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Ankle
+77 ;;^UTILITY(U,$J,358.3,7817,1,4,0)
+78 ;;=4^I70.343
+79 ;;^UTILITY(U,$J,358.3,7817,2)
+80 ;;=^5007635
+81 ;;^UTILITY(U,$J,358.3,7818,0)
+82 ;;=I70.344^^39^391^48
+83 ;;^UTILITY(U,$J,358.3,7818,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,7818,1,3,0)
+86 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Heel/Midfoot
+87 ;;^UTILITY(U,$J,358.3,7818,1,4,0)
+88 ;;=4^I70.344
+89 ;;^UTILITY(U,$J,358.3,7818,2)
+90 ;;=^5007636
+91 ;;^UTILITY(U,$J,358.3,7819,0)
+92 ;;=I70.345^^39^391^49
+93 ;;^UTILITY(U,$J,358.3,7819,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,7819,1,3,0)
+96 ;;=3^Athscl Bypass of Left Leg w/ Ulcer of Oth Part of Foot
+97 ;;^UTILITY(U,$J,358.3,7819,1,4,0)
+98 ;;=4^I70.345
+99 ;;^UTILITY(U,$J,358.3,7819,2)
+100 ;;=^5007637
+101 ;;^UTILITY(U,$J,358.3,7820,0)
+102 ;;=I70.431^^39^391^41
+103 ;;^UTILITY(U,$J,358.3,7820,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,7820,1,3,0)
+106 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Thigh
+107 ;;^UTILITY(U,$J,358.3,7820,1,4,0)
+108 ;;=4^I70.431
+109 ;;^UTILITY(U,$J,358.3,7820,2)
+110 ;;=^5007664
+111 ;;^UTILITY(U,$J,358.3,7821,0)
+112 ;;=I70.432^^39^391^42
+113 ;;^UTILITY(U,$J,358.3,7821,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,7821,1,3,0)
+116 ;;=3^Athscl Autol Vein Bypass of Right Leg w/ Ulcer of Calf
+117 ;;^UTILITY(U,$J,358.3,7821,1,4,0)
+118 ;;=4^I70.432