IBDEI0UV ; ; 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,13934,2)
;;=^5014262
;;^UTILITY(U,$J,358.3,13935,0)
;;=M84.452A^^55^665^23
;;^UTILITY(U,$J,358.3,13935,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13935,1,3,0)
;;=3^Pathological fracture, left femur, init encntr for fracture
;;^UTILITY(U,$J,358.3,13935,1,4,0)
;;=4^M84.452A
;;^UTILITY(U,$J,358.3,13935,2)
;;=^5013908
;;^UTILITY(U,$J,358.3,13936,0)
;;=M84.451A^^55^665^25
;;^UTILITY(U,$J,358.3,13936,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13936,1,3,0)
;;=3^Pathological fracture, right femur, init encntr for fracture
;;^UTILITY(U,$J,358.3,13936,1,4,0)
;;=4^M84.451A
;;^UTILITY(U,$J,358.3,13936,2)
;;=^5013902
;;^UTILITY(U,$J,358.3,13937,0)
;;=M84.352A^^55^665^27
;;^UTILITY(U,$J,358.3,13937,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13937,1,3,0)
;;=3^Stress fracture, left femur, initial encounter for fracture
;;^UTILITY(U,$J,358.3,13937,1,4,0)
;;=4^M84.352A
;;^UTILITY(U,$J,358.3,13937,2)
;;=^5013686
;;^UTILITY(U,$J,358.3,13938,0)
;;=M84.351A^^55^665^29
;;^UTILITY(U,$J,358.3,13938,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13938,1,3,0)
;;=3^Stress fracture, right femur, initial encounter for fracture
;;^UTILITY(U,$J,358.3,13938,1,4,0)
;;=4^M84.351A
;;^UTILITY(U,$J,358.3,13938,2)
;;=^5013680
;;^UTILITY(U,$J,358.3,13939,0)
;;=S70.12XD^^55^665^2
;;^UTILITY(U,$J,358.3,13939,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13939,1,3,0)
;;=3^Contusion of left thigh, subsequent encounter
;;^UTILITY(U,$J,358.3,13939,1,4,0)
;;=4^S70.12XD
;;^UTILITY(U,$J,358.3,13939,2)
;;=^5036847
;;^UTILITY(U,$J,358.3,13940,0)
;;=S70.11XD^^55^665^4
;;^UTILITY(U,$J,358.3,13940,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13940,1,3,0)
;;=3^Contusion of right thigh, subsequent encounter
;;^UTILITY(U,$J,358.3,13940,1,4,0)
;;=4^S70.11XD
;;^UTILITY(U,$J,358.3,13940,2)
;;=^5036844
;;^UTILITY(U,$J,358.3,13941,0)
;;=S72.352D^^55^665^6
;;^UTILITY(U,$J,358.3,13941,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13941,1,3,0)
;;=3^Displ comminuted fx shaft of left femur, subs encntr
;;^UTILITY(U,$J,358.3,13941,1,4,0)
;;=4^S72.352D
;;^UTILITY(U,$J,358.3,13941,2)
;;=^5038451
;;^UTILITY(U,$J,358.3,13942,0)
;;=S72.351D^^55^665^8
;;^UTILITY(U,$J,358.3,13942,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13942,1,3,0)
;;=3^Displ comminuted fx shaft of right femur, subs encntr
;;^UTILITY(U,$J,358.3,13942,1,4,0)
;;=4^S72.351D
;;^UTILITY(U,$J,358.3,13942,2)
;;=^5038435
;;^UTILITY(U,$J,358.3,13943,0)
;;=S72.354D^^55^665^14
;;^UTILITY(U,$J,358.3,13943,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13943,1,3,0)
;;=3^Nondisp commnt fx shaft of right femur, subs encntr
;;^UTILITY(U,$J,358.3,13943,1,4,0)
;;=4^S72.354D
;;^UTILITY(U,$J,358.3,13943,2)
;;=^5038483
;;^UTILITY(U,$J,358.3,13944,0)
;;=S72.355D^^55^665^12
;;^UTILITY(U,$J,358.3,13944,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13944,1,3,0)
;;=3^Nondisp commnt fx shaft of left femur, subs encntr
;;^UTILITY(U,$J,358.3,13944,1,4,0)
;;=4^S72.355D
;;^UTILITY(U,$J,358.3,13944,2)
;;=^5038499
;;^UTILITY(U,$J,358.3,13945,0)
;;=M84.552D^^55^665^16
;;^UTILITY(U,$J,358.3,13945,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13945,1,3,0)
;;=3^Path fx in neopltc dis, left femur, subs encntr
;;^UTILITY(U,$J,358.3,13945,1,4,0)
;;=4^M84.552D
;;^UTILITY(U,$J,358.3,13945,2)
;;=^5014125
;;^UTILITY(U,$J,358.3,13946,0)
;;=M84.551D^^55^665^17
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0UV 3766 printed Nov 22, 2024@17:06:25 Page 2
IBDEI0UV ; ; 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,13934,2)
+2 ;;=^5014262
+3 ;;^UTILITY(U,$J,358.3,13935,0)
+4 ;;=M84.452A^^55^665^23
+5 ;;^UTILITY(U,$J,358.3,13935,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,13935,1,3,0)
+8 ;;=3^Pathological fracture, left femur, init encntr for fracture
+9 ;;^UTILITY(U,$J,358.3,13935,1,4,0)
+10 ;;=4^M84.452A
+11 ;;^UTILITY(U,$J,358.3,13935,2)
+12 ;;=^5013908
+13 ;;^UTILITY(U,$J,358.3,13936,0)
+14 ;;=M84.451A^^55^665^25
+15 ;;^UTILITY(U,$J,358.3,13936,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,13936,1,3,0)
+18 ;;=3^Pathological fracture, right femur, init encntr for fracture
+19 ;;^UTILITY(U,$J,358.3,13936,1,4,0)
+20 ;;=4^M84.451A
+21 ;;^UTILITY(U,$J,358.3,13936,2)
+22 ;;=^5013902
+23 ;;^UTILITY(U,$J,358.3,13937,0)
+24 ;;=M84.352A^^55^665^27
+25 ;;^UTILITY(U,$J,358.3,13937,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,13937,1,3,0)
+28 ;;=3^Stress fracture, left femur, initial encounter for fracture
+29 ;;^UTILITY(U,$J,358.3,13937,1,4,0)
+30 ;;=4^M84.352A
+31 ;;^UTILITY(U,$J,358.3,13937,2)
+32 ;;=^5013686
+33 ;;^UTILITY(U,$J,358.3,13938,0)
+34 ;;=M84.351A^^55^665^29
+35 ;;^UTILITY(U,$J,358.3,13938,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,13938,1,3,0)
+38 ;;=3^Stress fracture, right femur, initial encounter for fracture
+39 ;;^UTILITY(U,$J,358.3,13938,1,4,0)
+40 ;;=4^M84.351A
+41 ;;^UTILITY(U,$J,358.3,13938,2)
+42 ;;=^5013680
+43 ;;^UTILITY(U,$J,358.3,13939,0)
+44 ;;=S70.12XD^^55^665^2
+45 ;;^UTILITY(U,$J,358.3,13939,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,13939,1,3,0)
+48 ;;=3^Contusion of left thigh, subsequent encounter
+49 ;;^UTILITY(U,$J,358.3,13939,1,4,0)
+50 ;;=4^S70.12XD
+51 ;;^UTILITY(U,$J,358.3,13939,2)
+52 ;;=^5036847
+53 ;;^UTILITY(U,$J,358.3,13940,0)
+54 ;;=S70.11XD^^55^665^4
+55 ;;^UTILITY(U,$J,358.3,13940,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,13940,1,3,0)
+58 ;;=3^Contusion of right thigh, subsequent encounter
+59 ;;^UTILITY(U,$J,358.3,13940,1,4,0)
+60 ;;=4^S70.11XD
+61 ;;^UTILITY(U,$J,358.3,13940,2)
+62 ;;=^5036844
+63 ;;^UTILITY(U,$J,358.3,13941,0)
+64 ;;=S72.352D^^55^665^6
+65 ;;^UTILITY(U,$J,358.3,13941,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,13941,1,3,0)
+68 ;;=3^Displ comminuted fx shaft of left femur, subs encntr
+69 ;;^UTILITY(U,$J,358.3,13941,1,4,0)
+70 ;;=4^S72.352D
+71 ;;^UTILITY(U,$J,358.3,13941,2)
+72 ;;=^5038451
+73 ;;^UTILITY(U,$J,358.3,13942,0)
+74 ;;=S72.351D^^55^665^8
+75 ;;^UTILITY(U,$J,358.3,13942,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,13942,1,3,0)
+78 ;;=3^Displ comminuted fx shaft of right femur, subs encntr
+79 ;;^UTILITY(U,$J,358.3,13942,1,4,0)
+80 ;;=4^S72.351D
+81 ;;^UTILITY(U,$J,358.3,13942,2)
+82 ;;=^5038435
+83 ;;^UTILITY(U,$J,358.3,13943,0)
+84 ;;=S72.354D^^55^665^14
+85 ;;^UTILITY(U,$J,358.3,13943,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,13943,1,3,0)
+88 ;;=3^Nondisp commnt fx shaft of right femur, subs encntr
+89 ;;^UTILITY(U,$J,358.3,13943,1,4,0)
+90 ;;=4^S72.354D
+91 ;;^UTILITY(U,$J,358.3,13943,2)
+92 ;;=^5038483
+93 ;;^UTILITY(U,$J,358.3,13944,0)
+94 ;;=S72.355D^^55^665^12
+95 ;;^UTILITY(U,$J,358.3,13944,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,13944,1,3,0)
+98 ;;=3^Nondisp commnt fx shaft of left femur, subs encntr
+99 ;;^UTILITY(U,$J,358.3,13944,1,4,0)
+100 ;;=4^S72.355D
+101 ;;^UTILITY(U,$J,358.3,13944,2)
+102 ;;=^5038499
+103 ;;^UTILITY(U,$J,358.3,13945,0)
+104 ;;=M84.552D^^55^665^16
+105 ;;^UTILITY(U,$J,358.3,13945,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,13945,1,3,0)
+108 ;;=3^Path fx in neopltc dis, left femur, subs encntr
+109 ;;^UTILITY(U,$J,358.3,13945,1,4,0)
+110 ;;=4^M84.552D
+111 ;;^UTILITY(U,$J,358.3,13945,2)
+112 ;;=^5014125
+113 ;;^UTILITY(U,$J,358.3,13946,0)
+114 ;;=M84.551D^^55^665^17