IBDEI0R8 ; ; 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,12262,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,12262,1,4,0)
;;=4^L97.122
;;^UTILITY(U,$J,358.3,12262,2)
;;=^5009491
;;^UTILITY(U,$J,358.3,12263,0)
;;=L97.123^^49^596^78
;;^UTILITY(U,$J,358.3,12263,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12263,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Necrosis of Msl
;;^UTILITY(U,$J,358.3,12263,1,4,0)
;;=4^L97.123
;;^UTILITY(U,$J,358.3,12263,2)
;;=^5009492
;;^UTILITY(U,$J,358.3,12264,0)
;;=L97.124^^49^596^79
;;^UTILITY(U,$J,358.3,12264,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12264,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,12264,1,4,0)
;;=4^L97.124
;;^UTILITY(U,$J,358.3,12264,2)
;;=^5009493
;;^UTILITY(U,$J,358.3,12265,0)
;;=L97.125^^49^596^77
;;^UTILITY(U,$J,358.3,12265,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12265,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,12265,1,4,0)
;;=4^L97.125
;;^UTILITY(U,$J,358.3,12265,2)
;;=^5151436
;;^UTILITY(U,$J,358.3,12266,0)
;;=L97.126^^49^596^75
;;^UTILITY(U,$J,358.3,12266,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12266,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Bone Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,12266,1,4,0)
;;=4^L97.126
;;^UTILITY(U,$J,358.3,12266,2)
;;=^5151437
;;^UTILITY(U,$J,358.3,12267,0)
;;=L97.128^^49^596^80
;;^UTILITY(U,$J,358.3,12267,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12267,1,3,0)
;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Oth Severity
;;^UTILITY(U,$J,358.3,12267,1,4,0)
;;=4^L97.128
;;^UTILITY(U,$J,358.3,12267,2)
;;=^5151438
;;^UTILITY(U,$J,358.3,12268,0)
;;=L97.311^^49^596^82
;;^UTILITY(U,$J,358.3,12268,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12268,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle Limited to Brkdwn Skin
;;^UTILITY(U,$J,358.3,12268,1,4,0)
;;=4^L97.311
;;^UTILITY(U,$J,358.3,12268,2)
;;=^5009515
;;^UTILITY(U,$J,358.3,12269,0)
;;=L97.312^^49^596^84
;;^UTILITY(U,$J,358.3,12269,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12269,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Fat Layer Exposed
;;^UTILITY(U,$J,358.3,12269,1,4,0)
;;=4^L97.312
;;^UTILITY(U,$J,358.3,12269,2)
;;=^5009516
;;^UTILITY(U,$J,358.3,12270,0)
;;=L97.313^^49^596^86
;;^UTILITY(U,$J,358.3,12270,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12270,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Necrosis of Msl
;;^UTILITY(U,$J,358.3,12270,1,4,0)
;;=4^L97.313
;;^UTILITY(U,$J,358.3,12270,2)
;;=^5009517
;;^UTILITY(U,$J,358.3,12271,0)
;;=L97.314^^49^596^87
;;^UTILITY(U,$J,358.3,12271,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12271,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Necrosis of Bone
;;^UTILITY(U,$J,358.3,12271,1,4,0)
;;=4^L97.314
;;^UTILITY(U,$J,358.3,12271,2)
;;=^5009518
;;^UTILITY(U,$J,358.3,12272,0)
;;=L97.315^^49^596^85
;;^UTILITY(U,$J,358.3,12272,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12272,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Msl Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,12272,1,4,0)
;;=4^L97.315
;;^UTILITY(U,$J,358.3,12272,2)
;;=^5151451
;;^UTILITY(U,$J,358.3,12273,0)
;;=L97.316^^49^596^83
;;^UTILITY(U,$J,358.3,12273,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12273,1,3,0)
;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Bone Invl w/o Necrosis
;;^UTILITY(U,$J,358.3,12273,1,4,0)
;;=4^L97.316
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0R8 3791 printed Dec 13, 2024@01:54:12 Page 2
IBDEI0R8 ; ; 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,12262,1,3,0)
+2 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Fat Layer Exposed
+3 ;;^UTILITY(U,$J,358.3,12262,1,4,0)
+4 ;;=4^L97.122
+5 ;;^UTILITY(U,$J,358.3,12262,2)
+6 ;;=^5009491
+7 ;;^UTILITY(U,$J,358.3,12263,0)
+8 ;;=L97.123^^49^596^78
+9 ;;^UTILITY(U,$J,358.3,12263,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,12263,1,3,0)
+12 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Necrosis of Msl
+13 ;;^UTILITY(U,$J,358.3,12263,1,4,0)
+14 ;;=4^L97.123
+15 ;;^UTILITY(U,$J,358.3,12263,2)
+16 ;;=^5009492
+17 ;;^UTILITY(U,$J,358.3,12264,0)
+18 ;;=L97.124^^49^596^79
+19 ;;^UTILITY(U,$J,358.3,12264,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,12264,1,3,0)
+22 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Necrosis of Bone
+23 ;;^UTILITY(U,$J,358.3,12264,1,4,0)
+24 ;;=4^L97.124
+25 ;;^UTILITY(U,$J,358.3,12264,2)
+26 ;;=^5009493
+27 ;;^UTILITY(U,$J,358.3,12265,0)
+28 ;;=L97.125^^49^596^77
+29 ;;^UTILITY(U,$J,358.3,12265,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,12265,1,3,0)
+32 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Msl Invl w/o Necrosis
+33 ;;^UTILITY(U,$J,358.3,12265,1,4,0)
+34 ;;=4^L97.125
+35 ;;^UTILITY(U,$J,358.3,12265,2)
+36 ;;=^5151436
+37 ;;^UTILITY(U,$J,358.3,12266,0)
+38 ;;=L97.126^^49^596^75
+39 ;;^UTILITY(U,$J,358.3,12266,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,12266,1,3,0)
+42 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Bone Invl w/o Necrosis
+43 ;;^UTILITY(U,$J,358.3,12266,1,4,0)
+44 ;;=4^L97.126
+45 ;;^UTILITY(U,$J,358.3,12266,2)
+46 ;;=^5151437
+47 ;;^UTILITY(U,$J,358.3,12267,0)
+48 ;;=L97.128^^49^596^80
+49 ;;^UTILITY(U,$J,358.3,12267,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,12267,1,3,0)
+52 ;;=3^Non-Pressure Chr Ulcer Lt Thigh w/ Oth Severity
+53 ;;^UTILITY(U,$J,358.3,12267,1,4,0)
+54 ;;=4^L97.128
+55 ;;^UTILITY(U,$J,358.3,12267,2)
+56 ;;=^5151438
+57 ;;^UTILITY(U,$J,358.3,12268,0)
+58 ;;=L97.311^^49^596^82
+59 ;;^UTILITY(U,$J,358.3,12268,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,12268,1,3,0)
+62 ;;=3^Non-Pressure Chr Ulcer Rt Ankle Limited to Brkdwn Skin
+63 ;;^UTILITY(U,$J,358.3,12268,1,4,0)
+64 ;;=4^L97.311
+65 ;;^UTILITY(U,$J,358.3,12268,2)
+66 ;;=^5009515
+67 ;;^UTILITY(U,$J,358.3,12269,0)
+68 ;;=L97.312^^49^596^84
+69 ;;^UTILITY(U,$J,358.3,12269,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,12269,1,3,0)
+72 ;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Fat Layer Exposed
+73 ;;^UTILITY(U,$J,358.3,12269,1,4,0)
+74 ;;=4^L97.312
+75 ;;^UTILITY(U,$J,358.3,12269,2)
+76 ;;=^5009516
+77 ;;^UTILITY(U,$J,358.3,12270,0)
+78 ;;=L97.313^^49^596^86
+79 ;;^UTILITY(U,$J,358.3,12270,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,12270,1,3,0)
+82 ;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Necrosis of Msl
+83 ;;^UTILITY(U,$J,358.3,12270,1,4,0)
+84 ;;=4^L97.313
+85 ;;^UTILITY(U,$J,358.3,12270,2)
+86 ;;=^5009517
+87 ;;^UTILITY(U,$J,358.3,12271,0)
+88 ;;=L97.314^^49^596^87
+89 ;;^UTILITY(U,$J,358.3,12271,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,12271,1,3,0)
+92 ;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Necrosis of Bone
+93 ;;^UTILITY(U,$J,358.3,12271,1,4,0)
+94 ;;=4^L97.314
+95 ;;^UTILITY(U,$J,358.3,12271,2)
+96 ;;=^5009518
+97 ;;^UTILITY(U,$J,358.3,12272,0)
+98 ;;=L97.315^^49^596^85
+99 ;;^UTILITY(U,$J,358.3,12272,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,12272,1,3,0)
+102 ;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Msl Invl w/o Necrosis
+103 ;;^UTILITY(U,$J,358.3,12272,1,4,0)
+104 ;;=4^L97.315
+105 ;;^UTILITY(U,$J,358.3,12272,2)
+106 ;;=^5151451
+107 ;;^UTILITY(U,$J,358.3,12273,0)
+108 ;;=L97.316^^49^596^83
+109 ;;^UTILITY(U,$J,358.3,12273,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,12273,1,3,0)
+112 ;;=3^Non-Pressure Chr Ulcer Rt Ankle w/ Bone Invl w/o Necrosis
+113 ;;^UTILITY(U,$J,358.3,12273,1,4,0)
+114 ;;=4^L97.316