IBDEI2D9 ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,37775,2)
;;=^5044497
;;^UTILITY(U,$J,358.3,37776,0)
;;=M84.675K^^146^1917^404
;;^UTILITY(U,$J,358.3,37776,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37776,1,3,0)
;;=3^Path fx lft ft, subs w/ nonunion, oth disease
;;^UTILITY(U,$J,358.3,37776,1,4,0)
;;=4^M84.675K
;;^UTILITY(U,$J,358.3,37776,2)
;;=^5134042
;;^UTILITY(U,$J,358.3,37777,0)
;;=M84.674K^^146^1917^417
;;^UTILITY(U,$J,358.3,37777,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37777,1,3,0)
;;=3^Path fx rt ft, subs w/ nonunion, oth disease
;;^UTILITY(U,$J,358.3,37777,1,4,0)
;;=4^M84.674K
;;^UTILITY(U,$J,358.3,37777,2)
;;=^5014301
;;^UTILITY(U,$J,358.3,37778,0)
;;=M84.68XK^^146^1917^420
;;^UTILITY(U,$J,358.3,37778,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37778,1,3,0)
;;=3^Path fx subs w/ nonunion, oth disease, oth site
;;^UTILITY(U,$J,358.3,37778,1,4,0)
;;=4^M84.68XK
;;^UTILITY(U,$J,358.3,37778,2)
;;=^5134054
;;^UTILITY(U,$J,358.3,37779,0)
;;=S82.65XN^^146^1917^268
;;^UTILITY(U,$J,358.3,37779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37779,1,3,0)
;;=3^Nondisp fx ltrl lmall lft fib, subs for opn fx type IIIA/B/C w/ nonunion
;;^UTILITY(U,$J,358.3,37779,1,4,0)
;;=4^S82.65XN
;;^UTILITY(U,$J,358.3,37779,2)
;;=^5042386
;;^UTILITY(U,$J,358.3,37780,0)
;;=S82.65XM^^146^1917^269
;;^UTILITY(U,$J,358.3,37780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37780,1,3,0)
;;=3^Nondisp fx ltrl mall lft fib, subs for opn fx type I/II w/ nonunion
;;^UTILITY(U,$J,358.3,37780,1,4,0)
;;=4^S82.65XM
;;^UTILITY(U,$J,358.3,37780,2)
;;=^5042385
;;^UTILITY(U,$J,358.3,37781,0)
;;=S82.65XK^^146^1917^270
;;^UTILITY(U,$J,358.3,37781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37781,1,3,0)
;;=3^Nondisp fx ltrl mall lft fib, subs for clos fx w/ nonunion
;;^UTILITY(U,$J,358.3,37781,1,4,0)
;;=4^S82.65XK
;;^UTILITY(U,$J,358.3,37781,2)
;;=^5042384
;;^UTILITY(U,$J,358.3,37782,0)
;;=S82.64XN^^146^1917^272
;;^UTILITY(U,$J,358.3,37782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37782,1,3,0)
;;=3^Nondisp fx ltrl mall rt fib, subs for opn fx type IIIA/B/C w/ nonunion
;;^UTILITY(U,$J,358.3,37782,1,4,0)
;;=4^S82.64XN
;;^UTILITY(U,$J,358.3,37782,2)
;;=^5042370
;;^UTILITY(U,$J,358.3,37783,0)
;;=S82.64XM^^146^1917^273
;;^UTILITY(U,$J,358.3,37783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37783,1,3,0)
;;=3^Nondisp fx ltrl mall rt fib, subs for opn fx type I/II w/ nonunion
;;^UTILITY(U,$J,358.3,37783,1,4,0)
;;=4^S82.64XM
;;^UTILITY(U,$J,358.3,37783,2)
;;=^5042369
;;^UTILITY(U,$J,358.3,37784,0)
;;=S82.64XK^^146^1917^271
;;^UTILITY(U,$J,358.3,37784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37784,1,3,0)
;;=3^Nondisp fx ltrl mall rt fib, subs for clos fx w/ nonunion
;;^UTILITY(U,$J,358.3,37784,1,4,0)
;;=4^S82.64XK
;;^UTILITY(U,$J,358.3,37784,2)
;;=^5042368
;;^UTILITY(U,$J,358.3,37785,0)
;;=S82.842N^^146^1917^13
;;^UTILITY(U,$J,358.3,37785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37785,1,3,0)
;;=3^Disp bimal fx lft lwr leg, subs for opn fx type IIIA/B/C w/ nonunion
;;^UTILITY(U,$J,358.3,37785,1,4,0)
;;=4^S82.842N
;;^UTILITY(U,$J,358.3,37785,2)
;;=^5042506
;;^UTILITY(U,$J,358.3,37786,0)
;;=S82.842M^^146^1917^14
;;^UTILITY(U,$J,358.3,37786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,37786,1,3,0)
;;=3^Disp bimal fx lft lwr leg, subs for opn fx type I/II w/ nonunion
;;^UTILITY(U,$J,358.3,37786,1,4,0)
;;=4^S82.842M
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2D9 3772 printed Dec 13, 2024@02:26:29 Page 2
IBDEI2D9 ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,37775,2)
+2 ;;=^5044497
+3 ;;^UTILITY(U,$J,358.3,37776,0)
+4 ;;=M84.675K^^146^1917^404
+5 ;;^UTILITY(U,$J,358.3,37776,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,37776,1,3,0)
+8 ;;=3^Path fx lft ft, subs w/ nonunion, oth disease
+9 ;;^UTILITY(U,$J,358.3,37776,1,4,0)
+10 ;;=4^M84.675K
+11 ;;^UTILITY(U,$J,358.3,37776,2)
+12 ;;=^5134042
+13 ;;^UTILITY(U,$J,358.3,37777,0)
+14 ;;=M84.674K^^146^1917^417
+15 ;;^UTILITY(U,$J,358.3,37777,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,37777,1,3,0)
+18 ;;=3^Path fx rt ft, subs w/ nonunion, oth disease
+19 ;;^UTILITY(U,$J,358.3,37777,1,4,0)
+20 ;;=4^M84.674K
+21 ;;^UTILITY(U,$J,358.3,37777,2)
+22 ;;=^5014301
+23 ;;^UTILITY(U,$J,358.3,37778,0)
+24 ;;=M84.68XK^^146^1917^420
+25 ;;^UTILITY(U,$J,358.3,37778,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,37778,1,3,0)
+28 ;;=3^Path fx subs w/ nonunion, oth disease, oth site
+29 ;;^UTILITY(U,$J,358.3,37778,1,4,0)
+30 ;;=4^M84.68XK
+31 ;;^UTILITY(U,$J,358.3,37778,2)
+32 ;;=^5134054
+33 ;;^UTILITY(U,$J,358.3,37779,0)
+34 ;;=S82.65XN^^146^1917^268
+35 ;;^UTILITY(U,$J,358.3,37779,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,37779,1,3,0)
+38 ;;=3^Nondisp fx ltrl lmall lft fib, subs for opn fx type IIIA/B/C w/ nonunion
+39 ;;^UTILITY(U,$J,358.3,37779,1,4,0)
+40 ;;=4^S82.65XN
+41 ;;^UTILITY(U,$J,358.3,37779,2)
+42 ;;=^5042386
+43 ;;^UTILITY(U,$J,358.3,37780,0)
+44 ;;=S82.65XM^^146^1917^269
+45 ;;^UTILITY(U,$J,358.3,37780,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,37780,1,3,0)
+48 ;;=3^Nondisp fx ltrl mall lft fib, subs for opn fx type I/II w/ nonunion
+49 ;;^UTILITY(U,$J,358.3,37780,1,4,0)
+50 ;;=4^S82.65XM
+51 ;;^UTILITY(U,$J,358.3,37780,2)
+52 ;;=^5042385
+53 ;;^UTILITY(U,$J,358.3,37781,0)
+54 ;;=S82.65XK^^146^1917^270
+55 ;;^UTILITY(U,$J,358.3,37781,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,37781,1,3,0)
+58 ;;=3^Nondisp fx ltrl mall lft fib, subs for clos fx w/ nonunion
+59 ;;^UTILITY(U,$J,358.3,37781,1,4,0)
+60 ;;=4^S82.65XK
+61 ;;^UTILITY(U,$J,358.3,37781,2)
+62 ;;=^5042384
+63 ;;^UTILITY(U,$J,358.3,37782,0)
+64 ;;=S82.64XN^^146^1917^272
+65 ;;^UTILITY(U,$J,358.3,37782,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,37782,1,3,0)
+68 ;;=3^Nondisp fx ltrl mall rt fib, subs for opn fx type IIIA/B/C w/ nonunion
+69 ;;^UTILITY(U,$J,358.3,37782,1,4,0)
+70 ;;=4^S82.64XN
+71 ;;^UTILITY(U,$J,358.3,37782,2)
+72 ;;=^5042370
+73 ;;^UTILITY(U,$J,358.3,37783,0)
+74 ;;=S82.64XM^^146^1917^273
+75 ;;^UTILITY(U,$J,358.3,37783,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,37783,1,3,0)
+78 ;;=3^Nondisp fx ltrl mall rt fib, subs for opn fx type I/II w/ nonunion
+79 ;;^UTILITY(U,$J,358.3,37783,1,4,0)
+80 ;;=4^S82.64XM
+81 ;;^UTILITY(U,$J,358.3,37783,2)
+82 ;;=^5042369
+83 ;;^UTILITY(U,$J,358.3,37784,0)
+84 ;;=S82.64XK^^146^1917^271
+85 ;;^UTILITY(U,$J,358.3,37784,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,37784,1,3,0)
+88 ;;=3^Nondisp fx ltrl mall rt fib, subs for clos fx w/ nonunion
+89 ;;^UTILITY(U,$J,358.3,37784,1,4,0)
+90 ;;=4^S82.64XK
+91 ;;^UTILITY(U,$J,358.3,37784,2)
+92 ;;=^5042368
+93 ;;^UTILITY(U,$J,358.3,37785,0)
+94 ;;=S82.842N^^146^1917^13
+95 ;;^UTILITY(U,$J,358.3,37785,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,37785,1,3,0)
+98 ;;=3^Disp bimal fx lft lwr leg, subs for opn fx type IIIA/B/C w/ nonunion
+99 ;;^UTILITY(U,$J,358.3,37785,1,4,0)
+100 ;;=4^S82.842N
+101 ;;^UTILITY(U,$J,358.3,37785,2)
+102 ;;=^5042506
+103 ;;^UTILITY(U,$J,358.3,37786,0)
+104 ;;=S82.842M^^146^1917^14
+105 ;;^UTILITY(U,$J,358.3,37786,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,37786,1,3,0)
+108 ;;=3^Disp bimal fx lft lwr leg, subs for opn fx type I/II w/ nonunion
+109 ;;^UTILITY(U,$J,358.3,37786,1,4,0)
+110 ;;=4^S82.842M