IBDEI0LS ; ; 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,9804,0)
;;=L08.89^^39^418^2
;;^UTILITY(U,$J,358.3,9804,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9804,1,3,0)
;;=3^Local Infections Skin/Subcutaneous Tissue,Oth Spec
;;^UTILITY(U,$J,358.3,9804,1,4,0)
;;=4^L08.89
;;^UTILITY(U,$J,358.3,9804,2)
;;=^5009081
;;^UTILITY(U,$J,358.3,9805,0)
;;=S91.002A^^39^418^4
;;^UTILITY(U,$J,358.3,9805,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9805,1,3,0)
;;=3^Open Wound,Left Ankle,Unspec
;;^UTILITY(U,$J,358.3,9805,1,4,0)
;;=4^S91.002A
;;^UTILITY(U,$J,358.3,9805,2)
;;=^5044132
;;^UTILITY(U,$J,358.3,9806,0)
;;=S91.302A^^39^418^5
;;^UTILITY(U,$J,358.3,9806,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9806,1,3,0)
;;=3^Open Wound,Left Foot,Unspec
;;^UTILITY(U,$J,358.3,9806,1,4,0)
;;=4^S91.302A
;;^UTILITY(U,$J,358.3,9806,2)
;;=^5044317
;;^UTILITY(U,$J,358.3,9807,0)
;;=S51.802A^^39^418^6
;;^UTILITY(U,$J,358.3,9807,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9807,1,3,0)
;;=3^Open Wound,Left Forearm,Unspec
;;^UTILITY(U,$J,358.3,9807,1,4,0)
;;=4^S51.802A
;;^UTILITY(U,$J,358.3,9807,2)
;;=^5028662
;;^UTILITY(U,$J,358.3,9808,0)
;;=S91.102A^^39^418^7
;;^UTILITY(U,$J,358.3,9808,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9808,1,3,0)
;;=3^Open Wound,Left Great Toe w/o Damage to Nail,Unspec
;;^UTILITY(U,$J,358.3,9808,1,4,0)
;;=4^S91.102A
;;^UTILITY(U,$J,358.3,9808,2)
;;=^5044171
;;^UTILITY(U,$J,358.3,9809,0)
;;=S61.402A^^39^418^8
;;^UTILITY(U,$J,358.3,9809,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9809,1,3,0)
;;=3^Open Wound,Left Hand,Unspec
;;^UTILITY(U,$J,358.3,9809,1,4,0)
;;=4^S61.402A
;;^UTILITY(U,$J,358.3,9809,2)
;;=^5032984
;;^UTILITY(U,$J,358.3,9810,0)
;;=S71.002A^^39^418^9
;;^UTILITY(U,$J,358.3,9810,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9810,1,3,0)
;;=3^Open Wound,Left Hip,Unspec
;;^UTILITY(U,$J,358.3,9810,1,4,0)
;;=4^S71.002A
;;^UTILITY(U,$J,358.3,9810,2)
;;=^5036972
;;^UTILITY(U,$J,358.3,9811,0)
;;=S91.104A^^39^418^20
;;^UTILITY(U,$J,358.3,9811,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9811,1,3,0)
;;=3^Open Wound,Right Lesser Toe(s) w/o Damage to nail,Unspec
;;^UTILITY(U,$J,358.3,9811,1,4,0)
;;=4^S91.104A
;;^UTILITY(U,$J,358.3,9811,2)
;;=^5044174
;;^UTILITY(U,$J,358.3,9812,0)
;;=S81.802A^^39^418^11
;;^UTILITY(U,$J,358.3,9812,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9812,1,3,0)
;;=3^Open Wound,Left Lower Leg,Unspec
;;^UTILITY(U,$J,358.3,9812,1,4,0)
;;=4^S81.802A
;;^UTILITY(U,$J,358.3,9812,2)
;;=^5040068
;;^UTILITY(U,$J,358.3,9813,0)
;;=S41.102A^^39^418^13
;;^UTILITY(U,$J,358.3,9813,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9813,1,3,0)
;;=3^Open Wound,Left Upper Arm,Unspec
;;^UTILITY(U,$J,358.3,9813,1,4,0)
;;=4^S41.102A
;;^UTILITY(U,$J,358.3,9813,2)
;;=^5026333
;;^UTILITY(U,$J,358.3,9814,0)
;;=S91.001A^^39^418^14
;;^UTILITY(U,$J,358.3,9814,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9814,1,3,0)
;;=3^Open Wound,Right Ankle,Unspec
;;^UTILITY(U,$J,358.3,9814,1,4,0)
;;=4^S91.001A
;;^UTILITY(U,$J,358.3,9814,2)
;;=^5044129
;;^UTILITY(U,$J,358.3,9815,0)
;;=S91.301A^^39^418^15
;;^UTILITY(U,$J,358.3,9815,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9815,1,3,0)
;;=3^Open Wound,Right Foot,Unspec
;;^UTILITY(U,$J,358.3,9815,1,4,0)
;;=4^S91.301A
;;^UTILITY(U,$J,358.3,9815,2)
;;=^5044314
;;^UTILITY(U,$J,358.3,9816,0)
;;=S51.801A^^39^418^16
;;^UTILITY(U,$J,358.3,9816,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0LS 3795 printed Nov 22, 2024@17:01:22 Page 2
IBDEI0LS ; ; 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,9804,0)
+2 ;;=L08.89^^39^418^2
+3 ;;^UTILITY(U,$J,358.3,9804,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,9804,1,3,0)
+6 ;;=3^Local Infections Skin/Subcutaneous Tissue,Oth Spec
+7 ;;^UTILITY(U,$J,358.3,9804,1,4,0)
+8 ;;=4^L08.89
+9 ;;^UTILITY(U,$J,358.3,9804,2)
+10 ;;=^5009081
+11 ;;^UTILITY(U,$J,358.3,9805,0)
+12 ;;=S91.002A^^39^418^4
+13 ;;^UTILITY(U,$J,358.3,9805,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,9805,1,3,0)
+16 ;;=3^Open Wound,Left Ankle,Unspec
+17 ;;^UTILITY(U,$J,358.3,9805,1,4,0)
+18 ;;=4^S91.002A
+19 ;;^UTILITY(U,$J,358.3,9805,2)
+20 ;;=^5044132
+21 ;;^UTILITY(U,$J,358.3,9806,0)
+22 ;;=S91.302A^^39^418^5
+23 ;;^UTILITY(U,$J,358.3,9806,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,9806,1,3,0)
+26 ;;=3^Open Wound,Left Foot,Unspec
+27 ;;^UTILITY(U,$J,358.3,9806,1,4,0)
+28 ;;=4^S91.302A
+29 ;;^UTILITY(U,$J,358.3,9806,2)
+30 ;;=^5044317
+31 ;;^UTILITY(U,$J,358.3,9807,0)
+32 ;;=S51.802A^^39^418^6
+33 ;;^UTILITY(U,$J,358.3,9807,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,9807,1,3,0)
+36 ;;=3^Open Wound,Left Forearm,Unspec
+37 ;;^UTILITY(U,$J,358.3,9807,1,4,0)
+38 ;;=4^S51.802A
+39 ;;^UTILITY(U,$J,358.3,9807,2)
+40 ;;=^5028662
+41 ;;^UTILITY(U,$J,358.3,9808,0)
+42 ;;=S91.102A^^39^418^7
+43 ;;^UTILITY(U,$J,358.3,9808,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,9808,1,3,0)
+46 ;;=3^Open Wound,Left Great Toe w/o Damage to Nail,Unspec
+47 ;;^UTILITY(U,$J,358.3,9808,1,4,0)
+48 ;;=4^S91.102A
+49 ;;^UTILITY(U,$J,358.3,9808,2)
+50 ;;=^5044171
+51 ;;^UTILITY(U,$J,358.3,9809,0)
+52 ;;=S61.402A^^39^418^8
+53 ;;^UTILITY(U,$J,358.3,9809,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,9809,1,3,0)
+56 ;;=3^Open Wound,Left Hand,Unspec
+57 ;;^UTILITY(U,$J,358.3,9809,1,4,0)
+58 ;;=4^S61.402A
+59 ;;^UTILITY(U,$J,358.3,9809,2)
+60 ;;=^5032984
+61 ;;^UTILITY(U,$J,358.3,9810,0)
+62 ;;=S71.002A^^39^418^9
+63 ;;^UTILITY(U,$J,358.3,9810,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,9810,1,3,0)
+66 ;;=3^Open Wound,Left Hip,Unspec
+67 ;;^UTILITY(U,$J,358.3,9810,1,4,0)
+68 ;;=4^S71.002A
+69 ;;^UTILITY(U,$J,358.3,9810,2)
+70 ;;=^5036972
+71 ;;^UTILITY(U,$J,358.3,9811,0)
+72 ;;=S91.104A^^39^418^20
+73 ;;^UTILITY(U,$J,358.3,9811,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,9811,1,3,0)
+76 ;;=3^Open Wound,Right Lesser Toe(s) w/o Damage to nail,Unspec
+77 ;;^UTILITY(U,$J,358.3,9811,1,4,0)
+78 ;;=4^S91.104A
+79 ;;^UTILITY(U,$J,358.3,9811,2)
+80 ;;=^5044174
+81 ;;^UTILITY(U,$J,358.3,9812,0)
+82 ;;=S81.802A^^39^418^11
+83 ;;^UTILITY(U,$J,358.3,9812,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,9812,1,3,0)
+86 ;;=3^Open Wound,Left Lower Leg,Unspec
+87 ;;^UTILITY(U,$J,358.3,9812,1,4,0)
+88 ;;=4^S81.802A
+89 ;;^UTILITY(U,$J,358.3,9812,2)
+90 ;;=^5040068
+91 ;;^UTILITY(U,$J,358.3,9813,0)
+92 ;;=S41.102A^^39^418^13
+93 ;;^UTILITY(U,$J,358.3,9813,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,9813,1,3,0)
+96 ;;=3^Open Wound,Left Upper Arm,Unspec
+97 ;;^UTILITY(U,$J,358.3,9813,1,4,0)
+98 ;;=4^S41.102A
+99 ;;^UTILITY(U,$J,358.3,9813,2)
+100 ;;=^5026333
+101 ;;^UTILITY(U,$J,358.3,9814,0)
+102 ;;=S91.001A^^39^418^14
+103 ;;^UTILITY(U,$J,358.3,9814,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,9814,1,3,0)
+106 ;;=3^Open Wound,Right Ankle,Unspec
+107 ;;^UTILITY(U,$J,358.3,9814,1,4,0)
+108 ;;=4^S91.001A
+109 ;;^UTILITY(U,$J,358.3,9814,2)
+110 ;;=^5044129
+111 ;;^UTILITY(U,$J,358.3,9815,0)
+112 ;;=S91.301A^^39^418^15
+113 ;;^UTILITY(U,$J,358.3,9815,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,9815,1,3,0)
+116 ;;=3^Open Wound,Right Foot,Unspec
+117 ;;^UTILITY(U,$J,358.3,9815,1,4,0)
+118 ;;=4^S91.301A
+119 ;;^UTILITY(U,$J,358.3,9815,2)
+120 ;;=^5044314
+121 ;;^UTILITY(U,$J,358.3,9816,0)
+122 ;;=S51.801A^^39^418^16
+123 ;;^UTILITY(U,$J,358.3,9816,1,0)
+124 ;;=^358.31IA^4^2