IBDEI0HT ; ; 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,8022,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8022,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,8022,1,4,0)
;;=4^L97.214
;;^UTILITY(U,$J,358.3,8022,2)
;;=^5009503
;;^UTILITY(U,$J,358.3,8023,0)
;;=L97.219^^39^391^234
;;^UTILITY(U,$J,358.3,8023,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8023,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Unspec Severity
;;^UTILITY(U,$J,358.3,8023,1,4,0)
;;=4^L97.219
;;^UTILITY(U,$J,358.3,8023,2)
;;=^5009504
;;^UTILITY(U,$J,358.3,8024,0)
;;=L97.221^^39^391^185
;;^UTILITY(U,$J,358.3,8024,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8024,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,8024,1,4,0)
;;=4^L97.221
;;^UTILITY(U,$J,358.3,8024,2)
;;=^5009505
;;^UTILITY(U,$J,358.3,8025,0)
;;=L97.222^^39^391^186
;;^UTILITY(U,$J,358.3,8025,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8025,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,8025,1,4,0)
;;=4^L97.222
;;^UTILITY(U,$J,358.3,8025,2)
;;=^5009506
;;^UTILITY(U,$J,358.3,8026,0)
;;=L97.223^^39^391^187
;;^UTILITY(U,$J,358.3,8026,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8026,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,8026,1,4,0)
;;=4^L97.223
;;^UTILITY(U,$J,358.3,8026,2)
;;=^5009507
;;^UTILITY(U,$J,358.3,8027,0)
;;=L97.224^^39^391^188
;;^UTILITY(U,$J,358.3,8027,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8027,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,8027,1,4,0)
;;=4^L97.224
;;^UTILITY(U,$J,358.3,8027,2)
;;=^5009508
;;^UTILITY(U,$J,358.3,8028,0)
;;=L97.229^^39^391^189
;;^UTILITY(U,$J,358.3,8028,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8028,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Unspec Severity
;;^UTILITY(U,$J,358.3,8028,1,4,0)
;;=4^L97.229
;;^UTILITY(U,$J,358.3,8028,2)
;;=^5009509
;;^UTILITY(U,$J,358.3,8029,0)
;;=L97.311^^39^391^222
;;^UTILITY(U,$J,358.3,8029,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8029,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,8029,1,4,0)
;;=4^L97.311
;;^UTILITY(U,$J,358.3,8029,2)
;;=^5009515
;;^UTILITY(U,$J,358.3,8030,0)
;;=L97.312^^39^391^223
;;^UTILITY(U,$J,358.3,8030,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8030,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,8030,1,4,0)
;;=4^L97.312
;;^UTILITY(U,$J,358.3,8030,2)
;;=^5009516
;;^UTILITY(U,$J,358.3,8031,0)
;;=L97.313^^39^391^224
;;^UTILITY(U,$J,358.3,8031,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8031,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,8031,1,4,0)
;;=4^L97.313
;;^UTILITY(U,$J,358.3,8031,2)
;;=^5009517
;;^UTILITY(U,$J,358.3,8032,0)
;;=L97.314^^39^391^225
;;^UTILITY(U,$J,358.3,8032,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8032,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,8032,1,4,0)
;;=4^L97.314
;;^UTILITY(U,$J,358.3,8032,2)
;;=^5009518
;;^UTILITY(U,$J,358.3,8033,0)
;;=L97.319^^39^391^226
;;^UTILITY(U,$J,358.3,8033,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8033,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Unspec Severity
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0HT 3791 printed Dec 13, 2024@01:48:57 Page 2
IBDEI0HT ; ; 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,8022,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,8022,1,3,0)
+4 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Necrosis of Bone
+5 ;;^UTILITY(U,$J,358.3,8022,1,4,0)
+6 ;;=4^L97.214
+7 ;;^UTILITY(U,$J,358.3,8022,2)
+8 ;;=^5009503
+9 ;;^UTILITY(U,$J,358.3,8023,0)
+10 ;;=L97.219^^39^391^234
+11 ;;^UTILITY(U,$J,358.3,8023,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,8023,1,3,0)
+14 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Unspec Severity
+15 ;;^UTILITY(U,$J,358.3,8023,1,4,0)
+16 ;;=4^L97.219
+17 ;;^UTILITY(U,$J,358.3,8023,2)
+18 ;;=^5009504
+19 ;;^UTILITY(U,$J,358.3,8024,0)
+20 ;;=L97.221^^39^391^185
+21 ;;^UTILITY(U,$J,358.3,8024,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,8024,1,3,0)
+24 ;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Breakdown of Skin
+25 ;;^UTILITY(U,$J,358.3,8024,1,4,0)
+26 ;;=4^L97.221
+27 ;;^UTILITY(U,$J,358.3,8024,2)
+28 ;;=^5009505
+29 ;;^UTILITY(U,$J,358.3,8025,0)
+30 ;;=L97.222^^39^391^186
+31 ;;^UTILITY(U,$J,358.3,8025,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,8025,1,3,0)
+34 ;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Fat Layer Exposed
+35 ;;^UTILITY(U,$J,358.3,8025,1,4,0)
+36 ;;=4^L97.222
+37 ;;^UTILITY(U,$J,358.3,8025,2)
+38 ;;=^5009506
+39 ;;^UTILITY(U,$J,358.3,8026,0)
+40 ;;=L97.223^^39^391^187
+41 ;;^UTILITY(U,$J,358.3,8026,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,8026,1,3,0)
+44 ;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Necrosis of Muscle
+45 ;;^UTILITY(U,$J,358.3,8026,1,4,0)
+46 ;;=4^L97.223
+47 ;;^UTILITY(U,$J,358.3,8026,2)
+48 ;;=^5009507
+49 ;;^UTILITY(U,$J,358.3,8027,0)
+50 ;;=L97.224^^39^391^188
+51 ;;^UTILITY(U,$J,358.3,8027,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,8027,1,3,0)
+54 ;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Necrosis of Bone
+55 ;;^UTILITY(U,$J,358.3,8027,1,4,0)
+56 ;;=4^L97.224
+57 ;;^UTILITY(U,$J,358.3,8027,2)
+58 ;;=^5009508
+59 ;;^UTILITY(U,$J,358.3,8028,0)
+60 ;;=L97.229^^39^391^189
+61 ;;^UTILITY(U,$J,358.3,8028,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,8028,1,3,0)
+64 ;;=3^Non-Pressure Chr Ulcer of Left Calf w/ Unspec Severity
+65 ;;^UTILITY(U,$J,358.3,8028,1,4,0)
+66 ;;=4^L97.229
+67 ;;^UTILITY(U,$J,358.3,8028,2)
+68 ;;=^5009509
+69 ;;^UTILITY(U,$J,358.3,8029,0)
+70 ;;=L97.311^^39^391^222
+71 ;;^UTILITY(U,$J,358.3,8029,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,8029,1,3,0)
+74 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Breakdown of Skin
+75 ;;^UTILITY(U,$J,358.3,8029,1,4,0)
+76 ;;=4^L97.311
+77 ;;^UTILITY(U,$J,358.3,8029,2)
+78 ;;=^5009515
+79 ;;^UTILITY(U,$J,358.3,8030,0)
+80 ;;=L97.312^^39^391^223
+81 ;;^UTILITY(U,$J,358.3,8030,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,8030,1,3,0)
+84 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Fat Layer Exposed
+85 ;;^UTILITY(U,$J,358.3,8030,1,4,0)
+86 ;;=4^L97.312
+87 ;;^UTILITY(U,$J,358.3,8030,2)
+88 ;;=^5009516
+89 ;;^UTILITY(U,$J,358.3,8031,0)
+90 ;;=L97.313^^39^391^224
+91 ;;^UTILITY(U,$J,358.3,8031,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,8031,1,3,0)
+94 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Muscle
+95 ;;^UTILITY(U,$J,358.3,8031,1,4,0)
+96 ;;=4^L97.313
+97 ;;^UTILITY(U,$J,358.3,8031,2)
+98 ;;=^5009517
+99 ;;^UTILITY(U,$J,358.3,8032,0)
+100 ;;=L97.314^^39^391^225
+101 ;;^UTILITY(U,$J,358.3,8032,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,8032,1,3,0)
+104 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Bone
+105 ;;^UTILITY(U,$J,358.3,8032,1,4,0)
+106 ;;=4^L97.314
+107 ;;^UTILITY(U,$J,358.3,8032,2)
+108 ;;=^5009518
+109 ;;^UTILITY(U,$J,358.3,8033,0)
+110 ;;=L97.319^^39^391^226
+111 ;;^UTILITY(U,$J,358.3,8033,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,8033,1,3,0)
+114 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Unspec Severity