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