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