IBDEI0ZF ; ; 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,15989,1,4,0)
;;=4^L97.311
;;^UTILITY(U,$J,358.3,15989,2)
;;=^5009515
;;^UTILITY(U,$J,358.3,15990,0)
;;=L97.312^^61^765^223
;;^UTILITY(U,$J,358.3,15990,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15990,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,15990,1,4,0)
;;=4^L97.312
;;^UTILITY(U,$J,358.3,15990,2)
;;=^5009516
;;^UTILITY(U,$J,358.3,15991,0)
;;=L97.313^^61^765^224
;;^UTILITY(U,$J,358.3,15991,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15991,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,15991,1,4,0)
;;=4^L97.313
;;^UTILITY(U,$J,358.3,15991,2)
;;=^5009517
;;^UTILITY(U,$J,358.3,15992,0)
;;=L97.314^^61^765^225
;;^UTILITY(U,$J,358.3,15992,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15992,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,15992,1,4,0)
;;=4^L97.314
;;^UTILITY(U,$J,358.3,15992,2)
;;=^5009518
;;^UTILITY(U,$J,358.3,15993,0)
;;=L97.319^^61^765^226
;;^UTILITY(U,$J,358.3,15993,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15993,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Unspec Severity
;;^UTILITY(U,$J,358.3,15993,1,4,0)
;;=4^L97.319
;;^UTILITY(U,$J,358.3,15993,2)
;;=^5009519
;;^UTILITY(U,$J,358.3,15994,0)
;;=L97.321^^61^765^177
;;^UTILITY(U,$J,358.3,15994,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15994,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,15994,1,4,0)
;;=4^L97.321
;;^UTILITY(U,$J,358.3,15994,2)
;;=^5009520
;;^UTILITY(U,$J,358.3,15995,0)
;;=L97.322^^61^765^178
;;^UTILITY(U,$J,358.3,15995,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15995,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,15995,1,4,0)
;;=4^L97.322
;;^UTILITY(U,$J,358.3,15995,2)
;;=^5009521
;;^UTILITY(U,$J,358.3,15996,0)
;;=L97.323^^61^765^179
;;^UTILITY(U,$J,358.3,15996,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15996,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Necrosis of Muscle
;;^UTILITY(U,$J,358.3,15996,1,4,0)
;;=4^L97.323
;;^UTILITY(U,$J,358.3,15996,2)
;;=^5009522
;;^UTILITY(U,$J,358.3,15997,0)
;;=L97.324^^61^765^180
;;^UTILITY(U,$J,358.3,15997,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15997,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,15997,1,4,0)
;;=4^L97.324
;;^UTILITY(U,$J,358.3,15997,2)
;;=^5009523
;;^UTILITY(U,$J,358.3,15998,0)
;;=L97.329^^61^765^181
;;^UTILITY(U,$J,358.3,15998,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15998,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Unspec Severity
;;^UTILITY(U,$J,358.3,15998,1,4,0)
;;=4^L97.329
;;^UTILITY(U,$J,358.3,15998,2)
;;=^5009524
;;^UTILITY(U,$J,358.3,15999,0)
;;=L97.411^^61^765^246
;;^UTILITY(U,$J,358.3,15999,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15999,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Breakdown of Skin
;;^UTILITY(U,$J,358.3,15999,1,4,0)
;;=4^L97.411
;;^UTILITY(U,$J,358.3,15999,2)
;;=^5009530
;;^UTILITY(U,$J,358.3,16000,0)
;;=L97.412^^61^765^247
;;^UTILITY(U,$J,358.3,16000,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,16000,1,3,0)
;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,16000,1,4,0)
;;=4^L97.412
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0ZF 3767 printed Dec 13, 2024@01:58:45 Page 2
IBDEI0ZF ; ; 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,15989,1,4,0)
+2 ;;=4^L97.311
+3 ;;^UTILITY(U,$J,358.3,15989,2)
+4 ;;=^5009515
+5 ;;^UTILITY(U,$J,358.3,15990,0)
+6 ;;=L97.312^^61^765^223
+7 ;;^UTILITY(U,$J,358.3,15990,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,15990,1,3,0)
+10 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Fat Layer Exposed
+11 ;;^UTILITY(U,$J,358.3,15990,1,4,0)
+12 ;;=4^L97.312
+13 ;;^UTILITY(U,$J,358.3,15990,2)
+14 ;;=^5009516
+15 ;;^UTILITY(U,$J,358.3,15991,0)
+16 ;;=L97.313^^61^765^224
+17 ;;^UTILITY(U,$J,358.3,15991,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,15991,1,3,0)
+20 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Muscle
+21 ;;^UTILITY(U,$J,358.3,15991,1,4,0)
+22 ;;=4^L97.313
+23 ;;^UTILITY(U,$J,358.3,15991,2)
+24 ;;=^5009517
+25 ;;^UTILITY(U,$J,358.3,15992,0)
+26 ;;=L97.314^^61^765^225
+27 ;;^UTILITY(U,$J,358.3,15992,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,15992,1,3,0)
+30 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Necrosis of Bone
+31 ;;^UTILITY(U,$J,358.3,15992,1,4,0)
+32 ;;=4^L97.314
+33 ;;^UTILITY(U,$J,358.3,15992,2)
+34 ;;=^5009518
+35 ;;^UTILITY(U,$J,358.3,15993,0)
+36 ;;=L97.319^^61^765^226
+37 ;;^UTILITY(U,$J,358.3,15993,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,15993,1,3,0)
+40 ;;=3^Non-Pressure Chr Ulcer of Right Ankle w/ Unspec Severity
+41 ;;^UTILITY(U,$J,358.3,15993,1,4,0)
+42 ;;=4^L97.319
+43 ;;^UTILITY(U,$J,358.3,15993,2)
+44 ;;=^5009519
+45 ;;^UTILITY(U,$J,358.3,15994,0)
+46 ;;=L97.321^^61^765^177
+47 ;;^UTILITY(U,$J,358.3,15994,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,15994,1,3,0)
+50 ;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Breakdown of Skin
+51 ;;^UTILITY(U,$J,358.3,15994,1,4,0)
+52 ;;=4^L97.321
+53 ;;^UTILITY(U,$J,358.3,15994,2)
+54 ;;=^5009520
+55 ;;^UTILITY(U,$J,358.3,15995,0)
+56 ;;=L97.322^^61^765^178
+57 ;;^UTILITY(U,$J,358.3,15995,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,15995,1,3,0)
+60 ;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Fat Layer Exposed
+61 ;;^UTILITY(U,$J,358.3,15995,1,4,0)
+62 ;;=4^L97.322
+63 ;;^UTILITY(U,$J,358.3,15995,2)
+64 ;;=^5009521
+65 ;;^UTILITY(U,$J,358.3,15996,0)
+66 ;;=L97.323^^61^765^179
+67 ;;^UTILITY(U,$J,358.3,15996,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,15996,1,3,0)
+70 ;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Necrosis of Muscle
+71 ;;^UTILITY(U,$J,358.3,15996,1,4,0)
+72 ;;=4^L97.323
+73 ;;^UTILITY(U,$J,358.3,15996,2)
+74 ;;=^5009522
+75 ;;^UTILITY(U,$J,358.3,15997,0)
+76 ;;=L97.324^^61^765^180
+77 ;;^UTILITY(U,$J,358.3,15997,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,15997,1,3,0)
+80 ;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Necrosis of Bone
+81 ;;^UTILITY(U,$J,358.3,15997,1,4,0)
+82 ;;=4^L97.324
+83 ;;^UTILITY(U,$J,358.3,15997,2)
+84 ;;=^5009523
+85 ;;^UTILITY(U,$J,358.3,15998,0)
+86 ;;=L97.329^^61^765^181
+87 ;;^UTILITY(U,$J,358.3,15998,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,15998,1,3,0)
+90 ;;=3^Non-Pressure Chr Ulcer of Left Ankle w/ Unspec Severity
+91 ;;^UTILITY(U,$J,358.3,15998,1,4,0)
+92 ;;=4^L97.329
+93 ;;^UTILITY(U,$J,358.3,15998,2)
+94 ;;=^5009524
+95 ;;^UTILITY(U,$J,358.3,15999,0)
+96 ;;=L97.411^^61^765^246
+97 ;;^UTILITY(U,$J,358.3,15999,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,15999,1,3,0)
+100 ;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Breakdown of Skin
+101 ;;^UTILITY(U,$J,358.3,15999,1,4,0)
+102 ;;=4^L97.411
+103 ;;^UTILITY(U,$J,358.3,15999,2)
+104 ;;=^5009530
+105 ;;^UTILITY(U,$J,358.3,16000,0)
+106 ;;=L97.412^^61^765^247
+107 ;;^UTILITY(U,$J,358.3,16000,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,16000,1,3,0)
+110 ;;=3^Non-Pressure Chr Ulcer of Right Heel/Midfoot w/ Fat Layer Exposed
+111 ;;^UTILITY(U,$J,358.3,16000,1,4,0)
+112 ;;=4^L97.412