IBDEI0ZG ; ; 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,16000,2)
;;=^5009531
;;^UTILITY(U,$J,358.3,16001,0)
;;=L97.413^^61^765^248
;;^UTILITY(U,$J,358.3,16001,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16001,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,16001,1,4,0)
;;=4^L97.413
;;^UTILITY(U,$J,358.3,16001,2)
;;=^5009532
;;^UTILITY(U,$J,358.3,16002,0)
;;=L97.414^^61^765^249
;;^UTILITY(U,$J,358.3,16002,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16002,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,16002,1,4,0)
;;=4^L97.414
;;^UTILITY(U,$J,358.3,16002,2)
;;=^5009533
;;^UTILITY(U,$J,358.3,16003,0)
;;=L97.419^^61^765^250
;;^UTILITY(U,$J,358.3,16003,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16003,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Unspec Severity
;;^UTILITY(U,$J,358.3,16003,1,4,0)
;;=4^L97.419
;;^UTILITY(U,$J,358.3,16003,2)
;;=^5009534
;;^UTILITY(U,$J,358.3,16004,0)
;;=L97.421^^61^765^201
;;^UTILITY(U,$J,358.3,16004,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16004,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,16004,1,4,0)
;;=4^L97.421
;;^UTILITY(U,$J,358.3,16004,2)
;;=^5009535
;;^UTILITY(U,$J,358.3,16005,0)
;;=L97.422^^61^765^202
;;^UTILITY(U,$J,358.3,16005,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16005,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,16005,1,4,0)
;;=4^L97.422
;;^UTILITY(U,$J,358.3,16005,2)
;;=^5009536
;;^UTILITY(U,$J,358.3,16006,0)
;;=L97.423^^61^765^203
;;^UTILITY(U,$J,358.3,16006,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16006,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,16006,1,4,0)
;;=4^L97.423
;;^UTILITY(U,$J,358.3,16006,2)
;;=^5009537
;;^UTILITY(U,$J,358.3,16007,0)
;;=L97.424^^61^765^204
;;^UTILITY(U,$J,358.3,16007,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16007,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,16007,1,4,0)
;;=4^L97.424
;;^UTILITY(U,$J,358.3,16007,2)
;;=^5009538
;;^UTILITY(U,$J,358.3,16008,0)
;;=L97.429^^61^765^205
;;^UTILITY(U,$J,358.3,16008,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16008,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Unspec Severity
;;^UTILITY(U,$J,358.3,16008,1,4,0)
;;=4^L97.429
;;^UTILITY(U,$J,358.3,16008,2)
;;=^5009539
;;^UTILITY(U,$J,358.3,16009,0)
;;=L97.511^^61^765^238
;;^UTILITY(U,$J,358.3,16009,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16009,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,16009,1,4,0)
;;=4^L97.511
;;^UTILITY(U,$J,358.3,16009,2)
;;=^5009545
;;^UTILITY(U,$J,358.3,16010,0)
;;=L97.512^^61^765^239
;;^UTILITY(U,$J,358.3,16010,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16010,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,16010,1,4,0)
;;=4^L97.512
;;^UTILITY(U,$J,358.3,16010,2)
;;=^5009546
;;^UTILITY(U,$J,358.3,16011,0)
;;=L97.513^^61^765^240
;;^UTILITY(U,$J,358.3,16011,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16011,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,16011,1,4,0)
;;=4^L97.513
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0ZG 3755 printed Dec 13, 2024@01:58:46 Page 2
IBDEI0ZG ; ; 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,16000,2)
+2 ;;=^5009531
+3 ;;^UTILITY(U,$J,358.3,16001,0)
+4 ;;=L97.413^^61^765^248
+5 ;;^UTILITY(U,$J,358.3,16001,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,16001,1,3,0)
+8 ;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Necrosis of Muscle
+9 ;;^UTILITY(U,$J,358.3,16001,1,4,0)
+10 ;;=4^L97.413
+11 ;;^UTILITY(U,$J,358.3,16001,2)
+12 ;;=^5009532
+13 ;;^UTILITY(U,$J,358.3,16002,0)
+14 ;;=L97.414^^61^765^249
+15 ;;^UTILITY(U,$J,358.3,16002,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,16002,1,3,0)
+18 ;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Necrosis of Bone
+19 ;;^UTILITY(U,$J,358.3,16002,1,4,0)
+20 ;;=4^L97.414
+21 ;;^UTILITY(U,$J,358.3,16002,2)
+22 ;;=^5009533
+23 ;;^UTILITY(U,$J,358.3,16003,0)
+24 ;;=L97.419^^61^765^250
+25 ;;^UTILITY(U,$J,358.3,16003,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,16003,1,3,0)
+28 ;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Unspec Severity
+29 ;;^UTILITY(U,$J,358.3,16003,1,4,0)
+30 ;;=4^L97.419
+31 ;;^UTILITY(U,$J,358.3,16003,2)
+32 ;;=^5009534
+33 ;;^UTILITY(U,$J,358.3,16004,0)
+34 ;;=L97.421^^61^765^201
+35 ;;^UTILITY(U,$J,358.3,16004,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,16004,1,3,0)
+38 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Breakdown of Skin
+39 ;;^UTILITY(U,$J,358.3,16004,1,4,0)
+40 ;;=4^L97.421
+41 ;;^UTILITY(U,$J,358.3,16004,2)
+42 ;;=^5009535
+43 ;;^UTILITY(U,$J,358.3,16005,0)
+44 ;;=L97.422^^61^765^202
+45 ;;^UTILITY(U,$J,358.3,16005,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,16005,1,3,0)
+48 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Fat Layer Exposed
+49 ;;^UTILITY(U,$J,358.3,16005,1,4,0)
+50 ;;=4^L97.422
+51 ;;^UTILITY(U,$J,358.3,16005,2)
+52 ;;=^5009536
+53 ;;^UTILITY(U,$J,358.3,16006,0)
+54 ;;=L97.423^^61^765^203
+55 ;;^UTILITY(U,$J,358.3,16006,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,16006,1,3,0)
+58 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Muscle
+59 ;;^UTILITY(U,$J,358.3,16006,1,4,0)
+60 ;;=4^L97.423
+61 ;;^UTILITY(U,$J,358.3,16006,2)
+62 ;;=^5009537
+63 ;;^UTILITY(U,$J,358.3,16007,0)
+64 ;;=L97.424^^61^765^204
+65 ;;^UTILITY(U,$J,358.3,16007,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,16007,1,3,0)
+68 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Necrosis of Bone
+69 ;;^UTILITY(U,$J,358.3,16007,1,4,0)
+70 ;;=4^L97.424
+71 ;;^UTILITY(U,$J,358.3,16007,2)
+72 ;;=^5009538
+73 ;;^UTILITY(U,$J,358.3,16008,0)
+74 ;;=L97.429^^61^765^205
+75 ;;^UTILITY(U,$J,358.3,16008,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,16008,1,3,0)
+78 ;;=3^Non-Pressure Chr Ulcer of Left Heel/Midfoot w/ Unspec Severity
+79 ;;^UTILITY(U,$J,358.3,16008,1,4,0)
+80 ;;=4^L97.429
+81 ;;^UTILITY(U,$J,358.3,16008,2)
+82 ;;=^5009539
+83 ;;^UTILITY(U,$J,358.3,16009,0)
+84 ;;=L97.511^^61^765^238
+85 ;;^UTILITY(U,$J,358.3,16009,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,16009,1,3,0)
+88 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Breakdown of Skin
+89 ;;^UTILITY(U,$J,358.3,16009,1,4,0)
+90 ;;=4^L97.511
+91 ;;^UTILITY(U,$J,358.3,16009,2)
+92 ;;=^5009545
+93 ;;^UTILITY(U,$J,358.3,16010,0)
+94 ;;=L97.512^^61^765^239
+95 ;;^UTILITY(U,$J,358.3,16010,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,16010,1,3,0)
+98 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Fat Layer Exposed
+99 ;;^UTILITY(U,$J,358.3,16010,1,4,0)
+100 ;;=4^L97.512
+101 ;;^UTILITY(U,$J,358.3,16010,2)
+102 ;;=^5009546
+103 ;;^UTILITY(U,$J,358.3,16011,0)
+104 ;;=L97.513^^61^765^240
+105 ;;^UTILITY(U,$J,358.3,16011,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,16011,1,3,0)
+108 ;;=3^Non-Pressure Chr Ulcer of Right Foot w/ Necrosis of Muscle
+109 ;;^UTILITY(U,$J,358.3,16011,1,4,0)
+110 ;;=4^L97.513