IBDEI0HS ; ; 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,8010,1,4,0)
;;=4^L97.112
;;^UTILITY(U,$J,358.3,8010,2)
;;=^5009486
;;^UTILITY(U,$J,358.3,8011,0)
;;=L97.113^^39^391^264
;;^UTILITY(U,$J,358.3,8011,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8011,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,8011,1,4,0)
;;=4^L97.113
;;^UTILITY(U,$J,358.3,8011,2)
;;=^5009487
;;^UTILITY(U,$J,358.3,8012,0)
;;=L97.114^^39^391^265
;;^UTILITY(U,$J,358.3,8012,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8012,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,8012,1,4,0)
;;=4^L97.114
;;^UTILITY(U,$J,358.3,8012,2)
;;=^5009488
;;^UTILITY(U,$J,358.3,8013,0)
;;=L97.119^^39^391^266
;;^UTILITY(U,$J,358.3,8013,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8013,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Unspec Severity
;;^UTILITY(U,$J,358.3,8013,1,4,0)
;;=4^L97.119
;;^UTILITY(U,$J,358.3,8013,2)
;;=^5009489
;;^UTILITY(U,$J,358.3,8014,0)
;;=L97.121^^39^391^214
;;^UTILITY(U,$J,358.3,8014,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8014,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,8014,1,4,0)
;;=4^L97.121
;;^UTILITY(U,$J,358.3,8014,2)
;;=^5009490
;;^UTILITY(U,$J,358.3,8015,0)
;;=L97.122^^39^391^215
;;^UTILITY(U,$J,358.3,8015,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8015,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,8015,1,4,0)
;;=4^L97.122
;;^UTILITY(U,$J,358.3,8015,2)
;;=^5009491
;;^UTILITY(U,$J,358.3,8016,0)
;;=L97.123^^39^391^216
;;^UTILITY(U,$J,358.3,8016,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8016,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,8016,1,4,0)
;;=4^L97.123
;;^UTILITY(U,$J,358.3,8016,2)
;;=^5009492
;;^UTILITY(U,$J,358.3,8017,0)
;;=L97.124^^39^391^217
;;^UTILITY(U,$J,358.3,8017,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8017,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,8017,1,4,0)
;;=4^L97.124
;;^UTILITY(U,$J,358.3,8017,2)
;;=^5009493
;;^UTILITY(U,$J,358.3,8018,0)
;;=L97.129^^39^391^218
;;^UTILITY(U,$J,358.3,8018,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8018,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Unspec Severity
;;^UTILITY(U,$J,358.3,8018,1,4,0)
;;=4^L97.129
;;^UTILITY(U,$J,358.3,8018,2)
;;=^5009494
;;^UTILITY(U,$J,358.3,8019,0)
;;=L97.211^^39^391^230
;;^UTILITY(U,$J,358.3,8019,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8019,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,8019,1,4,0)
;;=4^L97.211
;;^UTILITY(U,$J,358.3,8019,2)
;;=^5009500
;;^UTILITY(U,$J,358.3,8020,0)
;;=L97.212^^39^391^231
;;^UTILITY(U,$J,358.3,8020,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8020,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,8020,1,4,0)
;;=4^L97.212
;;^UTILITY(U,$J,358.3,8020,2)
;;=^5009501
;;^UTILITY(U,$J,358.3,8021,0)
;;=L97.213^^39^391^232
;;^UTILITY(U,$J,358.3,8021,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,8021,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,8021,1,4,0)
;;=4^L97.213
;;^UTILITY(U,$J,358.3,8021,2)
;;=^5009502
;;^UTILITY(U,$J,358.3,8022,0)
;;=L97.214^^39^391^233
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0HS 3798 printed Nov 22, 2024@16:59:09 Page 2
IBDEI0HS ; ; 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,8010,1,4,0)
+2 ;;=4^L97.112
+3 ;;^UTILITY(U,$J,358.3,8010,2)
+4 ;;=^5009486
+5 ;;^UTILITY(U,$J,358.3,8011,0)
+6 ;;=L97.113^^39^391^264
+7 ;;^UTILITY(U,$J,358.3,8011,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,8011,1,3,0)
+10 ;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Necrosis of Muscle
+11 ;;^UTILITY(U,$J,358.3,8011,1,4,0)
+12 ;;=4^L97.113
+13 ;;^UTILITY(U,$J,358.3,8011,2)
+14 ;;=^5009487
+15 ;;^UTILITY(U,$J,358.3,8012,0)
+16 ;;=L97.114^^39^391^265
+17 ;;^UTILITY(U,$J,358.3,8012,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,8012,1,3,0)
+20 ;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Necrosis of Bone
+21 ;;^UTILITY(U,$J,358.3,8012,1,4,0)
+22 ;;=4^L97.114
+23 ;;^UTILITY(U,$J,358.3,8012,2)
+24 ;;=^5009488
+25 ;;^UTILITY(U,$J,358.3,8013,0)
+26 ;;=L97.119^^39^391^266
+27 ;;^UTILITY(U,$J,358.3,8013,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,8013,1,3,0)
+30 ;;=3^Non-Pressure Chr Ulcer of Right Thigh w/ Unspec Severity
+31 ;;^UTILITY(U,$J,358.3,8013,1,4,0)
+32 ;;=4^L97.119
+33 ;;^UTILITY(U,$J,358.3,8013,2)
+34 ;;=^5009489
+35 ;;^UTILITY(U,$J,358.3,8014,0)
+36 ;;=L97.121^^39^391^214
+37 ;;^UTILITY(U,$J,358.3,8014,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,8014,1,3,0)
+40 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Breakdown of Skin
+41 ;;^UTILITY(U,$J,358.3,8014,1,4,0)
+42 ;;=4^L97.121
+43 ;;^UTILITY(U,$J,358.3,8014,2)
+44 ;;=^5009490
+45 ;;^UTILITY(U,$J,358.3,8015,0)
+46 ;;=L97.122^^39^391^215
+47 ;;^UTILITY(U,$J,358.3,8015,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,8015,1,3,0)
+50 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Fat Layer Exposed
+51 ;;^UTILITY(U,$J,358.3,8015,1,4,0)
+52 ;;=4^L97.122
+53 ;;^UTILITY(U,$J,358.3,8015,2)
+54 ;;=^5009491
+55 ;;^UTILITY(U,$J,358.3,8016,0)
+56 ;;=L97.123^^39^391^216
+57 ;;^UTILITY(U,$J,358.3,8016,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,8016,1,3,0)
+60 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Necrosis of Muscle
+61 ;;^UTILITY(U,$J,358.3,8016,1,4,0)
+62 ;;=4^L97.123
+63 ;;^UTILITY(U,$J,358.3,8016,2)
+64 ;;=^5009492
+65 ;;^UTILITY(U,$J,358.3,8017,0)
+66 ;;=L97.124^^39^391^217
+67 ;;^UTILITY(U,$J,358.3,8017,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,8017,1,3,0)
+70 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Necrosis of Bone
+71 ;;^UTILITY(U,$J,358.3,8017,1,4,0)
+72 ;;=4^L97.124
+73 ;;^UTILITY(U,$J,358.3,8017,2)
+74 ;;=^5009493
+75 ;;^UTILITY(U,$J,358.3,8018,0)
+76 ;;=L97.129^^39^391^218
+77 ;;^UTILITY(U,$J,358.3,8018,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,8018,1,3,0)
+80 ;;=3^Non-Pressure Chr Ulcer of Left Thigh w/ Unspec Severity
+81 ;;^UTILITY(U,$J,358.3,8018,1,4,0)
+82 ;;=4^L97.129
+83 ;;^UTILITY(U,$J,358.3,8018,2)
+84 ;;=^5009494
+85 ;;^UTILITY(U,$J,358.3,8019,0)
+86 ;;=L97.211^^39^391^230
+87 ;;^UTILITY(U,$J,358.3,8019,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,8019,1,3,0)
+90 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Breakdown of Skin
+91 ;;^UTILITY(U,$J,358.3,8019,1,4,0)
+92 ;;=4^L97.211
+93 ;;^UTILITY(U,$J,358.3,8019,2)
+94 ;;=^5009500
+95 ;;^UTILITY(U,$J,358.3,8020,0)
+96 ;;=L97.212^^39^391^231
+97 ;;^UTILITY(U,$J,358.3,8020,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,8020,1,3,0)
+100 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Fat Layer Exposed
+101 ;;^UTILITY(U,$J,358.3,8020,1,4,0)
+102 ;;=4^L97.212
+103 ;;^UTILITY(U,$J,358.3,8020,2)
+104 ;;=^5009501
+105 ;;^UTILITY(U,$J,358.3,8021,0)
+106 ;;=L97.213^^39^391^232
+107 ;;^UTILITY(U,$J,358.3,8021,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,8021,1,3,0)
+110 ;;=3^Non-Pressure Chr Ulcer of Right Calf w/ Necrosis of Muscle
+111 ;;^UTILITY(U,$J,358.3,8021,1,4,0)
+112 ;;=4^L97.213
+113 ;;^UTILITY(U,$J,358.3,8021,2)
+114 ;;=^5009502
+115 ;;^UTILITY(U,$J,358.3,8022,0)
+116 ;;=L97.214^^39^391^233