IBDEI0VI ; ; 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,14207,2)
;;=^5010772
;;^UTILITY(U,$J,358.3,14208,0)
;;=M16.11^^55^673^35
;;^UTILITY(U,$J,358.3,14208,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14208,1,3,0)
;;=3^Osteoarthritis, primary, right hip unilateral
;;^UTILITY(U,$J,358.3,14208,1,4,0)
;;=4^M16.11
;;^UTILITY(U,$J,358.3,14208,2)
;;=^5010771
;;^UTILITY(U,$J,358.3,14209,0)
;;=M16.0^^55^673^33
;;^UTILITY(U,$J,358.3,14209,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14209,1,3,0)
;;=3^Osteoarthritis, primary bilateral hip
;;^UTILITY(U,$J,358.3,14209,1,4,0)
;;=4^M16.0
;;^UTILITY(U,$J,358.3,14209,2)
;;=^5010769
;;^UTILITY(U,$J,358.3,14210,0)
;;=M25.552^^55^673^36
;;^UTILITY(U,$J,358.3,14210,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14210,1,3,0)
;;=3^Pain in left hip
;;^UTILITY(U,$J,358.3,14210,1,4,0)
;;=4^M25.552
;;^UTILITY(U,$J,358.3,14210,2)
;;=^5011612
;;^UTILITY(U,$J,358.3,14211,0)
;;=M25.551^^55^673^37
;;^UTILITY(U,$J,358.3,14211,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14211,1,3,0)
;;=3^Pain in right hip
;;^UTILITY(U,$J,358.3,14211,1,4,0)
;;=4^M25.551
;;^UTILITY(U,$J,358.3,14211,2)
;;=^5011611
;;^UTILITY(U,$J,358.3,14212,0)
;;=S73.015A^^55^673^38
;;^UTILITY(U,$J,358.3,14212,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14212,1,3,0)
;;=3^Posterior dislocation of left hip, initial encounter
;;^UTILITY(U,$J,358.3,14212,1,4,0)
;;=4^S73.015A
;;^UTILITY(U,$J,358.3,14212,2)
;;=^5039249
;;^UTILITY(U,$J,358.3,14213,0)
;;=S73.014A^^55^673^40
;;^UTILITY(U,$J,358.3,14213,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14213,1,3,0)
;;=3^Posterior dislocation of right hip, initial encounter
;;^UTILITY(U,$J,358.3,14213,1,4,0)
;;=4^S73.014A
;;^UTILITY(U,$J,358.3,14213,2)
;;=^5039246
;;^UTILITY(U,$J,358.3,14214,0)
;;=M00.052^^55^673^42
;;^UTILITY(U,$J,358.3,14214,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14214,1,3,0)
;;=3^Staphylococcal arthritis, left hip
;;^UTILITY(U,$J,358.3,14214,1,4,0)
;;=4^M00.052
;;^UTILITY(U,$J,358.3,14214,2)
;;=^5009611
;;^UTILITY(U,$J,358.3,14215,0)
;;=M00.051^^55^673^43
;;^UTILITY(U,$J,358.3,14215,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14215,1,3,0)
;;=3^Staphylococcal arthritis, right hip
;;^UTILITY(U,$J,358.3,14215,1,4,0)
;;=4^M00.051
;;^UTILITY(U,$J,358.3,14215,2)
;;=^5009610
;;^UTILITY(U,$J,358.3,14216,0)
;;=M12.552^^55^673^44
;;^UTILITY(U,$J,358.3,14216,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14216,1,3,0)
;;=3^Traumatic arthropathy, left hip
;;^UTILITY(U,$J,358.3,14216,1,4,0)
;;=4^M12.552
;;^UTILITY(U,$J,358.3,14216,2)
;;=^5010632
;;^UTILITY(U,$J,358.3,14217,0)
;;=M12.551^^55^673^45
;;^UTILITY(U,$J,358.3,14217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14217,1,3,0)
;;=3^Traumatic arthropathy, right hip
;;^UTILITY(U,$J,358.3,14217,1,4,0)
;;=4^M12.551
;;^UTILITY(U,$J,358.3,14217,2)
;;=^5010631
;;^UTILITY(U,$J,358.3,14218,0)
;;=M70.62^^55^673^46
;;^UTILITY(U,$J,358.3,14218,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14218,1,3,0)
;;=3^Trochanteric bursitis, left hip
;;^UTILITY(U,$J,358.3,14218,1,4,0)
;;=4^M70.62
;;^UTILITY(U,$J,358.3,14218,2)
;;=^5013060
;;^UTILITY(U,$J,358.3,14219,0)
;;=M70.61^^55^673^47
;;^UTILITY(U,$J,358.3,14219,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14219,1,3,0)
;;=3^Trochanteric bursitis, right hip
;;^UTILITY(U,$J,358.3,14219,1,4,0)
;;=4^M70.61
;;^UTILITY(U,$J,358.3,14219,2)
;;=^5013059
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VI 3772 printed Dec 13, 2024@01:56:35 Page 2
IBDEI0VI ; ; 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,14207,2)
+2 ;;=^5010772
+3 ;;^UTILITY(U,$J,358.3,14208,0)
+4 ;;=M16.11^^55^673^35
+5 ;;^UTILITY(U,$J,358.3,14208,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,14208,1,3,0)
+8 ;;=3^Osteoarthritis, primary, right hip unilateral
+9 ;;^UTILITY(U,$J,358.3,14208,1,4,0)
+10 ;;=4^M16.11
+11 ;;^UTILITY(U,$J,358.3,14208,2)
+12 ;;=^5010771
+13 ;;^UTILITY(U,$J,358.3,14209,0)
+14 ;;=M16.0^^55^673^33
+15 ;;^UTILITY(U,$J,358.3,14209,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,14209,1,3,0)
+18 ;;=3^Osteoarthritis, primary bilateral hip
+19 ;;^UTILITY(U,$J,358.3,14209,1,4,0)
+20 ;;=4^M16.0
+21 ;;^UTILITY(U,$J,358.3,14209,2)
+22 ;;=^5010769
+23 ;;^UTILITY(U,$J,358.3,14210,0)
+24 ;;=M25.552^^55^673^36
+25 ;;^UTILITY(U,$J,358.3,14210,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,14210,1,3,0)
+28 ;;=3^Pain in left hip
+29 ;;^UTILITY(U,$J,358.3,14210,1,4,0)
+30 ;;=4^M25.552
+31 ;;^UTILITY(U,$J,358.3,14210,2)
+32 ;;=^5011612
+33 ;;^UTILITY(U,$J,358.3,14211,0)
+34 ;;=M25.551^^55^673^37
+35 ;;^UTILITY(U,$J,358.3,14211,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,14211,1,3,0)
+38 ;;=3^Pain in right hip
+39 ;;^UTILITY(U,$J,358.3,14211,1,4,0)
+40 ;;=4^M25.551
+41 ;;^UTILITY(U,$J,358.3,14211,2)
+42 ;;=^5011611
+43 ;;^UTILITY(U,$J,358.3,14212,0)
+44 ;;=S73.015A^^55^673^38
+45 ;;^UTILITY(U,$J,358.3,14212,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,14212,1,3,0)
+48 ;;=3^Posterior dislocation of left hip, initial encounter
+49 ;;^UTILITY(U,$J,358.3,14212,1,4,0)
+50 ;;=4^S73.015A
+51 ;;^UTILITY(U,$J,358.3,14212,2)
+52 ;;=^5039249
+53 ;;^UTILITY(U,$J,358.3,14213,0)
+54 ;;=S73.014A^^55^673^40
+55 ;;^UTILITY(U,$J,358.3,14213,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,14213,1,3,0)
+58 ;;=3^Posterior dislocation of right hip, initial encounter
+59 ;;^UTILITY(U,$J,358.3,14213,1,4,0)
+60 ;;=4^S73.014A
+61 ;;^UTILITY(U,$J,358.3,14213,2)
+62 ;;=^5039246
+63 ;;^UTILITY(U,$J,358.3,14214,0)
+64 ;;=M00.052^^55^673^42
+65 ;;^UTILITY(U,$J,358.3,14214,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,14214,1,3,0)
+68 ;;=3^Staphylococcal arthritis, left hip
+69 ;;^UTILITY(U,$J,358.3,14214,1,4,0)
+70 ;;=4^M00.052
+71 ;;^UTILITY(U,$J,358.3,14214,2)
+72 ;;=^5009611
+73 ;;^UTILITY(U,$J,358.3,14215,0)
+74 ;;=M00.051^^55^673^43
+75 ;;^UTILITY(U,$J,358.3,14215,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,14215,1,3,0)
+78 ;;=3^Staphylococcal arthritis, right hip
+79 ;;^UTILITY(U,$J,358.3,14215,1,4,0)
+80 ;;=4^M00.051
+81 ;;^UTILITY(U,$J,358.3,14215,2)
+82 ;;=^5009610
+83 ;;^UTILITY(U,$J,358.3,14216,0)
+84 ;;=M12.552^^55^673^44
+85 ;;^UTILITY(U,$J,358.3,14216,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,14216,1,3,0)
+88 ;;=3^Traumatic arthropathy, left hip
+89 ;;^UTILITY(U,$J,358.3,14216,1,4,0)
+90 ;;=4^M12.552
+91 ;;^UTILITY(U,$J,358.3,14216,2)
+92 ;;=^5010632
+93 ;;^UTILITY(U,$J,358.3,14217,0)
+94 ;;=M12.551^^55^673^45
+95 ;;^UTILITY(U,$J,358.3,14217,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,14217,1,3,0)
+98 ;;=3^Traumatic arthropathy, right hip
+99 ;;^UTILITY(U,$J,358.3,14217,1,4,0)
+100 ;;=4^M12.551
+101 ;;^UTILITY(U,$J,358.3,14217,2)
+102 ;;=^5010631
+103 ;;^UTILITY(U,$J,358.3,14218,0)
+104 ;;=M70.62^^55^673^46
+105 ;;^UTILITY(U,$J,358.3,14218,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,14218,1,3,0)
+108 ;;=3^Trochanteric bursitis, left hip
+109 ;;^UTILITY(U,$J,358.3,14218,1,4,0)
+110 ;;=4^M70.62
+111 ;;^UTILITY(U,$J,358.3,14218,2)
+112 ;;=^5013060
+113 ;;^UTILITY(U,$J,358.3,14219,0)
+114 ;;=M70.61^^55^673^47
+115 ;;^UTILITY(U,$J,358.3,14219,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,14219,1,3,0)
+118 ;;=3^Trochanteric bursitis, right hip
+119 ;;^UTILITY(U,$J,358.3,14219,1,4,0)
+120 ;;=4^M70.61
+121 ;;^UTILITY(U,$J,358.3,14219,2)
+122 ;;=^5013059