IBDEI246 ; ; 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,33778,2)
;;=^5039249
;;^UTILITY(U,$J,358.3,33779,0)
;;=S73.014A^^132^1711^40
;;^UTILITY(U,$J,358.3,33779,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33779,1,3,0)
;;=3^Posterior dislocation of right hip, initial encounter
;;^UTILITY(U,$J,358.3,33779,1,4,0)
;;=4^S73.014A
;;^UTILITY(U,$J,358.3,33779,2)
;;=^5039246
;;^UTILITY(U,$J,358.3,33780,0)
;;=M00.052^^132^1711^42
;;^UTILITY(U,$J,358.3,33780,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33780,1,3,0)
;;=3^Staphylococcal arthritis, left hip
;;^UTILITY(U,$J,358.3,33780,1,4,0)
;;=4^M00.052
;;^UTILITY(U,$J,358.3,33780,2)
;;=^5009611
;;^UTILITY(U,$J,358.3,33781,0)
;;=M00.051^^132^1711^43
;;^UTILITY(U,$J,358.3,33781,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33781,1,3,0)
;;=3^Staphylococcal arthritis, right hip
;;^UTILITY(U,$J,358.3,33781,1,4,0)
;;=4^M00.051
;;^UTILITY(U,$J,358.3,33781,2)
;;=^5009610
;;^UTILITY(U,$J,358.3,33782,0)
;;=M12.552^^132^1711^44
;;^UTILITY(U,$J,358.3,33782,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33782,1,3,0)
;;=3^Traumatic arthropathy, left hip
;;^UTILITY(U,$J,358.3,33782,1,4,0)
;;=4^M12.552
;;^UTILITY(U,$J,358.3,33782,2)
;;=^5010632
;;^UTILITY(U,$J,358.3,33783,0)
;;=M12.551^^132^1711^45
;;^UTILITY(U,$J,358.3,33783,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33783,1,3,0)
;;=3^Traumatic arthropathy, right hip
;;^UTILITY(U,$J,358.3,33783,1,4,0)
;;=4^M12.551
;;^UTILITY(U,$J,358.3,33783,2)
;;=^5010631
;;^UTILITY(U,$J,358.3,33784,0)
;;=M70.62^^132^1711^46
;;^UTILITY(U,$J,358.3,33784,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33784,1,3,0)
;;=3^Trochanteric bursitis, left hip
;;^UTILITY(U,$J,358.3,33784,1,4,0)
;;=4^M70.62
;;^UTILITY(U,$J,358.3,33784,2)
;;=^5013060
;;^UTILITY(U,$J,358.3,33785,0)
;;=M70.61^^132^1711^47
;;^UTILITY(U,$J,358.3,33785,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33785,1,3,0)
;;=3^Trochanteric bursitis, right hip
;;^UTILITY(U,$J,358.3,33785,1,4,0)
;;=4^M70.61
;;^UTILITY(U,$J,358.3,33785,2)
;;=^5013059
;;^UTILITY(U,$J,358.3,33786,0)
;;=S70.02XD^^132^1711^6
;;^UTILITY(U,$J,358.3,33786,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33786,1,3,0)
;;=3^Contusion of left hip, subsequent encounter
;;^UTILITY(U,$J,358.3,33786,1,4,0)
;;=4^S70.02XD
;;^UTILITY(U,$J,358.3,33786,2)
;;=^5036838
;;^UTILITY(U,$J,358.3,33787,0)
;;=S70.01XD^^132^1711^8
;;^UTILITY(U,$J,358.3,33787,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33787,1,3,0)
;;=3^Contusion of right hip, subsequent encounter
;;^UTILITY(U,$J,358.3,33787,1,4,0)
;;=4^S70.01XD
;;^UTILITY(U,$J,358.3,33787,2)
;;=^5036835
;;^UTILITY(U,$J,358.3,33788,0)
;;=S72.142D^^132^1711^11
;;^UTILITY(U,$J,358.3,33788,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33788,1,3,0)
;;=3^Displ intertroch fx l femur, subs for clos fx w routn heal
;;^UTILITY(U,$J,358.3,33788,1,4,0)
;;=4^S72.142D
;;^UTILITY(U,$J,358.3,33788,2)
;;=^5037934
;;^UTILITY(U,$J,358.3,33789,0)
;;=S72.141D^^132^1711^12
;;^UTILITY(U,$J,358.3,33789,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33789,1,3,0)
;;=3^Displ intertroch fx r femur, subs for clos fx w routn heal
;;^UTILITY(U,$J,358.3,33789,1,4,0)
;;=4^S72.141D
;;^UTILITY(U,$J,358.3,33789,2)
;;=^5037918
;;^UTILITY(U,$J,358.3,33790,0)
;;=S72.22XD^^132^1711^13
;;^UTILITY(U,$J,358.3,33790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,33790,1,3,0)
;;=3^Displ subtrochnt fx l femur, subs for clos fx w routn heal
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI246 3802 printed Dec 13, 2024@02:21:26 Page 2
IBDEI246 ; ; 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,33778,2)
+2 ;;=^5039249
+3 ;;^UTILITY(U,$J,358.3,33779,0)
+4 ;;=S73.014A^^132^1711^40
+5 ;;^UTILITY(U,$J,358.3,33779,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,33779,1,3,0)
+8 ;;=3^Posterior dislocation of right hip, initial encounter
+9 ;;^UTILITY(U,$J,358.3,33779,1,4,0)
+10 ;;=4^S73.014A
+11 ;;^UTILITY(U,$J,358.3,33779,2)
+12 ;;=^5039246
+13 ;;^UTILITY(U,$J,358.3,33780,0)
+14 ;;=M00.052^^132^1711^42
+15 ;;^UTILITY(U,$J,358.3,33780,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,33780,1,3,0)
+18 ;;=3^Staphylococcal arthritis, left hip
+19 ;;^UTILITY(U,$J,358.3,33780,1,4,0)
+20 ;;=4^M00.052
+21 ;;^UTILITY(U,$J,358.3,33780,2)
+22 ;;=^5009611
+23 ;;^UTILITY(U,$J,358.3,33781,0)
+24 ;;=M00.051^^132^1711^43
+25 ;;^UTILITY(U,$J,358.3,33781,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,33781,1,3,0)
+28 ;;=3^Staphylococcal arthritis, right hip
+29 ;;^UTILITY(U,$J,358.3,33781,1,4,0)
+30 ;;=4^M00.051
+31 ;;^UTILITY(U,$J,358.3,33781,2)
+32 ;;=^5009610
+33 ;;^UTILITY(U,$J,358.3,33782,0)
+34 ;;=M12.552^^132^1711^44
+35 ;;^UTILITY(U,$J,358.3,33782,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,33782,1,3,0)
+38 ;;=3^Traumatic arthropathy, left hip
+39 ;;^UTILITY(U,$J,358.3,33782,1,4,0)
+40 ;;=4^M12.552
+41 ;;^UTILITY(U,$J,358.3,33782,2)
+42 ;;=^5010632
+43 ;;^UTILITY(U,$J,358.3,33783,0)
+44 ;;=M12.551^^132^1711^45
+45 ;;^UTILITY(U,$J,358.3,33783,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,33783,1,3,0)
+48 ;;=3^Traumatic arthropathy, right hip
+49 ;;^UTILITY(U,$J,358.3,33783,1,4,0)
+50 ;;=4^M12.551
+51 ;;^UTILITY(U,$J,358.3,33783,2)
+52 ;;=^5010631
+53 ;;^UTILITY(U,$J,358.3,33784,0)
+54 ;;=M70.62^^132^1711^46
+55 ;;^UTILITY(U,$J,358.3,33784,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,33784,1,3,0)
+58 ;;=3^Trochanteric bursitis, left hip
+59 ;;^UTILITY(U,$J,358.3,33784,1,4,0)
+60 ;;=4^M70.62
+61 ;;^UTILITY(U,$J,358.3,33784,2)
+62 ;;=^5013060
+63 ;;^UTILITY(U,$J,358.3,33785,0)
+64 ;;=M70.61^^132^1711^47
+65 ;;^UTILITY(U,$J,358.3,33785,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,33785,1,3,0)
+68 ;;=3^Trochanteric bursitis, right hip
+69 ;;^UTILITY(U,$J,358.3,33785,1,4,0)
+70 ;;=4^M70.61
+71 ;;^UTILITY(U,$J,358.3,33785,2)
+72 ;;=^5013059
+73 ;;^UTILITY(U,$J,358.3,33786,0)
+74 ;;=S70.02XD^^132^1711^6
+75 ;;^UTILITY(U,$J,358.3,33786,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,33786,1,3,0)
+78 ;;=3^Contusion of left hip, subsequent encounter
+79 ;;^UTILITY(U,$J,358.3,33786,1,4,0)
+80 ;;=4^S70.02XD
+81 ;;^UTILITY(U,$J,358.3,33786,2)
+82 ;;=^5036838
+83 ;;^UTILITY(U,$J,358.3,33787,0)
+84 ;;=S70.01XD^^132^1711^8
+85 ;;^UTILITY(U,$J,358.3,33787,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,33787,1,3,0)
+88 ;;=3^Contusion of right hip, subsequent encounter
+89 ;;^UTILITY(U,$J,358.3,33787,1,4,0)
+90 ;;=4^S70.01XD
+91 ;;^UTILITY(U,$J,358.3,33787,2)
+92 ;;=^5036835
+93 ;;^UTILITY(U,$J,358.3,33788,0)
+94 ;;=S72.142D^^132^1711^11
+95 ;;^UTILITY(U,$J,358.3,33788,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,33788,1,3,0)
+98 ;;=3^Displ intertroch fx l femur, subs for clos fx w routn heal
+99 ;;^UTILITY(U,$J,358.3,33788,1,4,0)
+100 ;;=4^S72.142D
+101 ;;^UTILITY(U,$J,358.3,33788,2)
+102 ;;=^5037934
+103 ;;^UTILITY(U,$J,358.3,33789,0)
+104 ;;=S72.141D^^132^1711^12
+105 ;;^UTILITY(U,$J,358.3,33789,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,33789,1,3,0)
+108 ;;=3^Displ intertroch fx r femur, subs for clos fx w routn heal
+109 ;;^UTILITY(U,$J,358.3,33789,1,4,0)
+110 ;;=4^S72.141D
+111 ;;^UTILITY(U,$J,358.3,33789,2)
+112 ;;=^5037918
+113 ;;^UTILITY(U,$J,358.3,33790,0)
+114 ;;=S72.22XD^^132^1711^13
+115 ;;^UTILITY(U,$J,358.3,33790,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,33790,1,3,0)
+118 ;;=3^Displ subtrochnt fx l femur, subs for clos fx w routn heal