IBDEI0UP ; ; 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,13864,1,4,0)
;;=4^S82.52XD
;;^UTILITY(U,$J,358.3,13864,2)
;;=^5042234
;;^UTILITY(U,$J,358.3,13865,0)
;;=S82.51XD^^55^663^8
;;^UTILITY(U,$J,358.3,13865,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13865,1,3,0)
;;=3^Disp fx of medial malleolus of right tibia, subs encntr
;;^UTILITY(U,$J,358.3,13865,1,4,0)
;;=4^S82.51XD
;;^UTILITY(U,$J,358.3,13865,2)
;;=^5042218
;;^UTILITY(U,$J,358.3,13866,0)
;;=S82.92XD^^55^663^10
;;^UTILITY(U,$J,358.3,13866,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13866,1,3,0)
;;=3^Fracture of left lower leg, subs encntr
;;^UTILITY(U,$J,358.3,13866,1,4,0)
;;=4^S82.92XD
;;^UTILITY(U,$J,358.3,13866,2)
;;=^5136968
;;^UTILITY(U,$J,358.3,13867,0)
;;=S82.91XD^^55^663^12
;;^UTILITY(U,$J,358.3,13867,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13867,1,3,0)
;;=3^Fracture of right lower leg, subs encntr
;;^UTILITY(U,$J,358.3,13867,1,4,0)
;;=4^S82.91XD
;;^UTILITY(U,$J,358.3,13867,2)
;;=^5136967
;;^UTILITY(U,$J,358.3,13868,0)
;;=S82.65XD^^55^663^20
;;^UTILITY(U,$J,358.3,13868,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13868,1,3,0)
;;=3^Nondisp fx of lateral malleolus of left fibula, subs encntr
;;^UTILITY(U,$J,358.3,13868,1,4,0)
;;=4^S82.65XD
;;^UTILITY(U,$J,358.3,13868,2)
;;=^5042378
;;^UTILITY(U,$J,358.3,13869,0)
;;=S82.64XD^^55^663^22
;;^UTILITY(U,$J,358.3,13869,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13869,1,3,0)
;;=3^Nondisp fx of lateral malleolus of right fibula, subs encntr
;;^UTILITY(U,$J,358.3,13869,1,4,0)
;;=4^S82.64XD
;;^UTILITY(U,$J,358.3,13869,2)
;;=^5042362
;;^UTILITY(U,$J,358.3,13870,0)
;;=S82.55XD^^55^663^24
;;^UTILITY(U,$J,358.3,13870,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13870,1,3,0)
;;=3^Nondisp fx of medial malleolus of left tibia, subs encntr
;;^UTILITY(U,$J,358.3,13870,1,4,0)
;;=4^S82.55XD
;;^UTILITY(U,$J,358.3,13870,2)
;;=^5042282
;;^UTILITY(U,$J,358.3,13871,0)
;;=S82.54XD^^55^663^26
;;^UTILITY(U,$J,358.3,13871,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13871,1,3,0)
;;=3^Nondisp fx of medial malleolus of right tibia, subs encntr
;;^UTILITY(U,$J,358.3,13871,1,4,0)
;;=4^S82.54XD
;;^UTILITY(U,$J,358.3,13871,2)
;;=^5042266
;;^UTILITY(U,$J,358.3,13872,0)
;;=M19.171^^55^663^34
;;^UTILITY(U,$J,358.3,13872,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13872,1,3,0)
;;=3^Post-traumatic osteoarthritis, right ankle & foot
;;^UTILITY(U,$J,358.3,13872,1,4,0)
;;=4^M19.171
;;^UTILITY(U,$J,358.3,13872,2)
;;=^5010835
;;^UTILITY(U,$J,358.3,13873,0)
;;=M19.172^^55^663^33
;;^UTILITY(U,$J,358.3,13873,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13873,1,3,0)
;;=3^Post-traumatic osteoarthritis, left ankle & foot
;;^UTILITY(U,$J,358.3,13873,1,4,0)
;;=4^M19.172
;;^UTILITY(U,$J,358.3,13873,2)
;;=^5010836
;;^UTILITY(U,$J,358.3,13874,0)
;;=S93.402D^^55^663^41
;;^UTILITY(U,$J,358.3,13874,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13874,1,3,0)
;;=3^Sprain of unspec ligament of left ankle, subs encntr
;;^UTILITY(U,$J,358.3,13874,1,4,0)
;;=4^S93.402D
;;^UTILITY(U,$J,358.3,13874,2)
;;=^5045778
;;^UTILITY(U,$J,358.3,13875,0)
;;=S93.401D^^55^663^42
;;^UTILITY(U,$J,358.3,13875,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13875,1,3,0)
;;=3^Sprain of unspec ligament of right ankle, subs encntr
;;^UTILITY(U,$J,358.3,13875,1,4,0)
;;=4^S93.401D
;;^UTILITY(U,$J,358.3,13875,2)
;;=^5045775
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0UP 3748 printed Nov 22, 2024@17:06:19 Page 2
IBDEI0UP ; ; 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,13864,1,4,0)
+2 ;;=4^S82.52XD
+3 ;;^UTILITY(U,$J,358.3,13864,2)
+4 ;;=^5042234
+5 ;;^UTILITY(U,$J,358.3,13865,0)
+6 ;;=S82.51XD^^55^663^8
+7 ;;^UTILITY(U,$J,358.3,13865,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,13865,1,3,0)
+10 ;;=3^Disp fx of medial malleolus of right tibia, subs encntr
+11 ;;^UTILITY(U,$J,358.3,13865,1,4,0)
+12 ;;=4^S82.51XD
+13 ;;^UTILITY(U,$J,358.3,13865,2)
+14 ;;=^5042218
+15 ;;^UTILITY(U,$J,358.3,13866,0)
+16 ;;=S82.92XD^^55^663^10
+17 ;;^UTILITY(U,$J,358.3,13866,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,13866,1,3,0)
+20 ;;=3^Fracture of left lower leg, subs encntr
+21 ;;^UTILITY(U,$J,358.3,13866,1,4,0)
+22 ;;=4^S82.92XD
+23 ;;^UTILITY(U,$J,358.3,13866,2)
+24 ;;=^5136968
+25 ;;^UTILITY(U,$J,358.3,13867,0)
+26 ;;=S82.91XD^^55^663^12
+27 ;;^UTILITY(U,$J,358.3,13867,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,13867,1,3,0)
+30 ;;=3^Fracture of right lower leg, subs encntr
+31 ;;^UTILITY(U,$J,358.3,13867,1,4,0)
+32 ;;=4^S82.91XD
+33 ;;^UTILITY(U,$J,358.3,13867,2)
+34 ;;=^5136967
+35 ;;^UTILITY(U,$J,358.3,13868,0)
+36 ;;=S82.65XD^^55^663^20
+37 ;;^UTILITY(U,$J,358.3,13868,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,13868,1,3,0)
+40 ;;=3^Nondisp fx of lateral malleolus of left fibula, subs encntr
+41 ;;^UTILITY(U,$J,358.3,13868,1,4,0)
+42 ;;=4^S82.65XD
+43 ;;^UTILITY(U,$J,358.3,13868,2)
+44 ;;=^5042378
+45 ;;^UTILITY(U,$J,358.3,13869,0)
+46 ;;=S82.64XD^^55^663^22
+47 ;;^UTILITY(U,$J,358.3,13869,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,13869,1,3,0)
+50 ;;=3^Nondisp fx of lateral malleolus of right fibula, subs encntr
+51 ;;^UTILITY(U,$J,358.3,13869,1,4,0)
+52 ;;=4^S82.64XD
+53 ;;^UTILITY(U,$J,358.3,13869,2)
+54 ;;=^5042362
+55 ;;^UTILITY(U,$J,358.3,13870,0)
+56 ;;=S82.55XD^^55^663^24
+57 ;;^UTILITY(U,$J,358.3,13870,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,13870,1,3,0)
+60 ;;=3^Nondisp fx of medial malleolus of left tibia, subs encntr
+61 ;;^UTILITY(U,$J,358.3,13870,1,4,0)
+62 ;;=4^S82.55XD
+63 ;;^UTILITY(U,$J,358.3,13870,2)
+64 ;;=^5042282
+65 ;;^UTILITY(U,$J,358.3,13871,0)
+66 ;;=S82.54XD^^55^663^26
+67 ;;^UTILITY(U,$J,358.3,13871,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,13871,1,3,0)
+70 ;;=3^Nondisp fx of medial malleolus of right tibia, subs encntr
+71 ;;^UTILITY(U,$J,358.3,13871,1,4,0)
+72 ;;=4^S82.54XD
+73 ;;^UTILITY(U,$J,358.3,13871,2)
+74 ;;=^5042266
+75 ;;^UTILITY(U,$J,358.3,13872,0)
+76 ;;=M19.171^^55^663^34
+77 ;;^UTILITY(U,$J,358.3,13872,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,13872,1,3,0)
+80 ;;=3^Post-traumatic osteoarthritis, right ankle & foot
+81 ;;^UTILITY(U,$J,358.3,13872,1,4,0)
+82 ;;=4^M19.171
+83 ;;^UTILITY(U,$J,358.3,13872,2)
+84 ;;=^5010835
+85 ;;^UTILITY(U,$J,358.3,13873,0)
+86 ;;=M19.172^^55^663^33
+87 ;;^UTILITY(U,$J,358.3,13873,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,13873,1,3,0)
+90 ;;=3^Post-traumatic osteoarthritis, left ankle & foot
+91 ;;^UTILITY(U,$J,358.3,13873,1,4,0)
+92 ;;=4^M19.172
+93 ;;^UTILITY(U,$J,358.3,13873,2)
+94 ;;=^5010836
+95 ;;^UTILITY(U,$J,358.3,13874,0)
+96 ;;=S93.402D^^55^663^41
+97 ;;^UTILITY(U,$J,358.3,13874,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,13874,1,3,0)
+100 ;;=3^Sprain of unspec ligament of left ankle, subs encntr
+101 ;;^UTILITY(U,$J,358.3,13874,1,4,0)
+102 ;;=4^S93.402D
+103 ;;^UTILITY(U,$J,358.3,13874,2)
+104 ;;=^5045778
+105 ;;^UTILITY(U,$J,358.3,13875,0)
+106 ;;=S93.401D^^55^663^42
+107 ;;^UTILITY(U,$J,358.3,13875,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,13875,1,3,0)
+110 ;;=3^Sprain of unspec ligament of right ankle, subs encntr
+111 ;;^UTILITY(U,$J,358.3,13875,1,4,0)
+112 ;;=4^S93.401D
+113 ;;^UTILITY(U,$J,358.3,13875,2)
+114 ;;=^5045775