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