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