IBDEI1HI ; ; 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,24014,0)
;;=L97.116^^82^1041^51
;;^UTILITY(U,$J,358.3,24014,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24014,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Thigh,Bone Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24014,1,4,0)
;;=4^L97.116
;;^UTILITY(U,$J,358.3,24014,2)
;;=^5151434
;;^UTILITY(U,$J,358.3,24015,0)
;;=L97.118^^82^1041^53
;;^UTILITY(U,$J,358.3,24015,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24015,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Thigh,Oth Spec Severity
;;^UTILITY(U,$J,358.3,24015,1,4,0)
;;=4^L97.118
;;^UTILITY(U,$J,358.3,24015,2)
;;=^5151435
;;^UTILITY(U,$J,358.3,24016,0)
;;=L97.125^^82^1041^29
;;^UTILITY(U,$J,358.3,24016,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24016,1,3,0)
;;=3^Non-Prs Chr Ulc,Lt Thigh,Musc Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24016,1,4,0)
;;=4^L97.125
;;^UTILITY(U,$J,358.3,24016,2)
;;=^5151436
;;^UTILITY(U,$J,358.3,24017,0)
;;=L97.126^^82^1041^28
;;^UTILITY(U,$J,358.3,24017,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24017,1,3,0)
;;=3^Non-Prs Chr Ulc,Lt Thigh,Bone Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24017,1,4,0)
;;=4^L97.126
;;^UTILITY(U,$J,358.3,24017,2)
;;=^5151437
;;^UTILITY(U,$J,358.3,24018,0)
;;=L97.128^^82^1041^30
;;^UTILITY(U,$J,358.3,24018,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24018,1,3,0)
;;=3^Non-Prs Chr Ulc,Lt Thigh,Oth Spec Severity
;;^UTILITY(U,$J,358.3,24018,1,4,0)
;;=4^L97.128
;;^UTILITY(U,$J,358.3,24018,2)
;;=^5151438
;;^UTILITY(U,$J,358.3,24019,0)
;;=L97.215^^82^1041^43
;;^UTILITY(U,$J,358.3,24019,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24019,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Calf,Musc Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24019,1,4,0)
;;=4^L97.215
;;^UTILITY(U,$J,358.3,24019,2)
;;=^5151442
;;^UTILITY(U,$J,358.3,24020,0)
;;=L97.216^^82^1041^42
;;^UTILITY(U,$J,358.3,24020,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24020,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Calf,Bone Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24020,1,4,0)
;;=4^L97.216
;;^UTILITY(U,$J,358.3,24020,2)
;;=^5151443
;;^UTILITY(U,$J,358.3,24021,0)
;;=L97.218^^82^1041^44
;;^UTILITY(U,$J,358.3,24021,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24021,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Calf,Oth Spec Severity
;;^UTILITY(U,$J,358.3,24021,1,4,0)
;;=4^L97.218
;;^UTILITY(U,$J,358.3,24021,2)
;;=^5151444
;;^UTILITY(U,$J,358.3,24022,0)
;;=L97.315^^82^1041^40
;;^UTILITY(U,$J,358.3,24022,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24022,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Ankle,Musc Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24022,1,4,0)
;;=4^L97.315
;;^UTILITY(U,$J,358.3,24022,2)
;;=^5151451
;;^UTILITY(U,$J,358.3,24023,0)
;;=L97.316^^82^1041^39
;;^UTILITY(U,$J,358.3,24023,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24023,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Ankle,Bone Invlv w/o Necro
;;^UTILITY(U,$J,358.3,24023,1,4,0)
;;=4^L97.316
;;^UTILITY(U,$J,358.3,24023,2)
;;=^5151452
;;^UTILITY(U,$J,358.3,24024,0)
;;=L97.318^^82^1041^41
;;^UTILITY(U,$J,358.3,24024,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24024,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Ankle,Oth Spec Severity
;;^UTILITY(U,$J,358.3,24024,1,4,0)
;;=4^L97.318
;;^UTILITY(U,$J,358.3,24024,2)
;;=^5151453
;;^UTILITY(U,$J,358.3,24025,0)
;;=L97.415^^82^1041^49
;;^UTILITY(U,$J,358.3,24025,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,24025,1,3,0)
;;=3^Non-Prs Chr Ulc,Rt Heel/Midft,Musc Invlv w/o Necro
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1HI 3759 printed Dec 13, 2024@02:08:49 Page 2
IBDEI1HI ; ; 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,24014,0)
+2 ;;=L97.116^^82^1041^51
+3 ;;^UTILITY(U,$J,358.3,24014,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,24014,1,3,0)
+6 ;;=3^Non-Prs Chr Ulc,Rt Thigh,Bone Invlv w/o Necro
+7 ;;^UTILITY(U,$J,358.3,24014,1,4,0)
+8 ;;=4^L97.116
+9 ;;^UTILITY(U,$J,358.3,24014,2)
+10 ;;=^5151434
+11 ;;^UTILITY(U,$J,358.3,24015,0)
+12 ;;=L97.118^^82^1041^53
+13 ;;^UTILITY(U,$J,358.3,24015,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,24015,1,3,0)
+16 ;;=3^Non-Prs Chr Ulc,Rt Thigh,Oth Spec Severity
+17 ;;^UTILITY(U,$J,358.3,24015,1,4,0)
+18 ;;=4^L97.118
+19 ;;^UTILITY(U,$J,358.3,24015,2)
+20 ;;=^5151435
+21 ;;^UTILITY(U,$J,358.3,24016,0)
+22 ;;=L97.125^^82^1041^29
+23 ;;^UTILITY(U,$J,358.3,24016,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,24016,1,3,0)
+26 ;;=3^Non-Prs Chr Ulc,Lt Thigh,Musc Invlv w/o Necro
+27 ;;^UTILITY(U,$J,358.3,24016,1,4,0)
+28 ;;=4^L97.125
+29 ;;^UTILITY(U,$J,358.3,24016,2)
+30 ;;=^5151436
+31 ;;^UTILITY(U,$J,358.3,24017,0)
+32 ;;=L97.126^^82^1041^28
+33 ;;^UTILITY(U,$J,358.3,24017,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,24017,1,3,0)
+36 ;;=3^Non-Prs Chr Ulc,Lt Thigh,Bone Invlv w/o Necro
+37 ;;^UTILITY(U,$J,358.3,24017,1,4,0)
+38 ;;=4^L97.126
+39 ;;^UTILITY(U,$J,358.3,24017,2)
+40 ;;=^5151437
+41 ;;^UTILITY(U,$J,358.3,24018,0)
+42 ;;=L97.128^^82^1041^30
+43 ;;^UTILITY(U,$J,358.3,24018,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,24018,1,3,0)
+46 ;;=3^Non-Prs Chr Ulc,Lt Thigh,Oth Spec Severity
+47 ;;^UTILITY(U,$J,358.3,24018,1,4,0)
+48 ;;=4^L97.128
+49 ;;^UTILITY(U,$J,358.3,24018,2)
+50 ;;=^5151438
+51 ;;^UTILITY(U,$J,358.3,24019,0)
+52 ;;=L97.215^^82^1041^43
+53 ;;^UTILITY(U,$J,358.3,24019,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,24019,1,3,0)
+56 ;;=3^Non-Prs Chr Ulc,Rt Calf,Musc Invlv w/o Necro
+57 ;;^UTILITY(U,$J,358.3,24019,1,4,0)
+58 ;;=4^L97.215
+59 ;;^UTILITY(U,$J,358.3,24019,2)
+60 ;;=^5151442
+61 ;;^UTILITY(U,$J,358.3,24020,0)
+62 ;;=L97.216^^82^1041^42
+63 ;;^UTILITY(U,$J,358.3,24020,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,24020,1,3,0)
+66 ;;=3^Non-Prs Chr Ulc,Rt Calf,Bone Invlv w/o Necro
+67 ;;^UTILITY(U,$J,358.3,24020,1,4,0)
+68 ;;=4^L97.216
+69 ;;^UTILITY(U,$J,358.3,24020,2)
+70 ;;=^5151443
+71 ;;^UTILITY(U,$J,358.3,24021,0)
+72 ;;=L97.218^^82^1041^44
+73 ;;^UTILITY(U,$J,358.3,24021,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,24021,1,3,0)
+76 ;;=3^Non-Prs Chr Ulc,Rt Calf,Oth Spec Severity
+77 ;;^UTILITY(U,$J,358.3,24021,1,4,0)
+78 ;;=4^L97.218
+79 ;;^UTILITY(U,$J,358.3,24021,2)
+80 ;;=^5151444
+81 ;;^UTILITY(U,$J,358.3,24022,0)
+82 ;;=L97.315^^82^1041^40
+83 ;;^UTILITY(U,$J,358.3,24022,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,24022,1,3,0)
+86 ;;=3^Non-Prs Chr Ulc,Rt Ankle,Musc Invlv w/o Necro
+87 ;;^UTILITY(U,$J,358.3,24022,1,4,0)
+88 ;;=4^L97.315
+89 ;;^UTILITY(U,$J,358.3,24022,2)
+90 ;;=^5151451
+91 ;;^UTILITY(U,$J,358.3,24023,0)
+92 ;;=L97.316^^82^1041^39
+93 ;;^UTILITY(U,$J,358.3,24023,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,24023,1,3,0)
+96 ;;=3^Non-Prs Chr Ulc,Rt Ankle,Bone Invlv w/o Necro
+97 ;;^UTILITY(U,$J,358.3,24023,1,4,0)
+98 ;;=4^L97.316
+99 ;;^UTILITY(U,$J,358.3,24023,2)
+100 ;;=^5151452
+101 ;;^UTILITY(U,$J,358.3,24024,0)
+102 ;;=L97.318^^82^1041^41
+103 ;;^UTILITY(U,$J,358.3,24024,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,24024,1,3,0)
+106 ;;=3^Non-Prs Chr Ulc,Rt Ankle,Oth Spec Severity
+107 ;;^UTILITY(U,$J,358.3,24024,1,4,0)
+108 ;;=4^L97.318
+109 ;;^UTILITY(U,$J,358.3,24024,2)
+110 ;;=^5151453
+111 ;;^UTILITY(U,$J,358.3,24025,0)
+112 ;;=L97.415^^82^1041^49
+113 ;;^UTILITY(U,$J,358.3,24025,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,24025,1,3,0)
+116 ;;=3^Non-Prs Chr Ulc,Rt Heel/Midft,Musc Invlv w/o Necro