IBDEI11S ; ; 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,17027,1,3,0)
;;=3^Rheumatoid Arthritis of Left Knee
;;^UTILITY(U,$J,358.3,17027,1,4,0)
;;=4^M05.762
;;^UTILITY(U,$J,358.3,17027,2)
;;=^5010017
;;^UTILITY(U,$J,358.3,17028,0)
;;=M05.771^^61^781^155
;;^UTILITY(U,$J,358.3,17028,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17028,1,3,0)
;;=3^Rheumatoid Arthritis of Right Ankle
;;^UTILITY(U,$J,358.3,17028,1,4,0)
;;=4^M05.771
;;^UTILITY(U,$J,358.3,17028,2)
;;=^5010019
;;^UTILITY(U,$J,358.3,17029,0)
;;=M05.772^^61^781^148
;;^UTILITY(U,$J,358.3,17029,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17029,1,3,0)
;;=3^Rheumatoid Arthritis of Left Ankle
;;^UTILITY(U,$J,358.3,17029,1,4,0)
;;=4^M05.772
;;^UTILITY(U,$J,358.3,17029,2)
;;=^5010020
;;^UTILITY(U,$J,358.3,17030,0)
;;=M05.79^^61^781^154
;;^UTILITY(U,$J,358.3,17030,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17030,1,3,0)
;;=3^Rheumatoid Arthritis of Multiple Sites
;;^UTILITY(U,$J,358.3,17030,1,4,0)
;;=4^M05.79
;;^UTILITY(U,$J,358.3,17030,2)
;;=^5010022
;;^UTILITY(U,$J,358.3,17031,0)
;;=M06.00^^61^781^161
;;^UTILITY(U,$J,358.3,17031,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17031,1,3,0)
;;=3^Rheumatoid Arthritis w/o Rhematoid Factor,Unspec Site
;;^UTILITY(U,$J,358.3,17031,1,4,0)
;;=4^M06.00
;;^UTILITY(U,$J,358.3,17031,2)
;;=^5010047
;;^UTILITY(U,$J,358.3,17032,0)
;;=M06.30^^61^781^164
;;^UTILITY(U,$J,358.3,17032,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17032,1,3,0)
;;=3^Rheumatoid Nodule,Unspec Site
;;^UTILITY(U,$J,358.3,17032,1,4,0)
;;=4^M06.30
;;^UTILITY(U,$J,358.3,17032,2)
;;=^5010096
;;^UTILITY(U,$J,358.3,17033,0)
;;=M06.4^^61^781^51
;;^UTILITY(U,$J,358.3,17033,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17033,1,3,0)
;;=3^Inflammatory Polyarthropathy
;;^UTILITY(U,$J,358.3,17033,1,4,0)
;;=4^M06.4
;;^UTILITY(U,$J,358.3,17033,2)
;;=^5010120
;;^UTILITY(U,$J,358.3,17034,0)
;;=M06.39^^61^781^163
;;^UTILITY(U,$J,358.3,17034,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17034,1,3,0)
;;=3^Rheumatoid Nodule,Mult Sites
;;^UTILITY(U,$J,358.3,17034,1,4,0)
;;=4^M06.39
;;^UTILITY(U,$J,358.3,17034,2)
;;=^5010119
;;^UTILITY(U,$J,358.3,17035,0)
;;=M15.0^^61^781^127
;;^UTILITY(U,$J,358.3,17035,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17035,1,3,0)
;;=3^Primary Generalized Osteoarthritis
;;^UTILITY(U,$J,358.3,17035,1,4,0)
;;=4^M15.0
;;^UTILITY(U,$J,358.3,17035,2)
;;=^5010762
;;^UTILITY(U,$J,358.3,17036,0)
;;=M06.9^^61^781^162
;;^UTILITY(U,$J,358.3,17036,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17036,1,3,0)
;;=3^Rheumatoid Arthritis,Unspec
;;^UTILITY(U,$J,358.3,17036,1,4,0)
;;=4^M06.9
;;^UTILITY(U,$J,358.3,17036,2)
;;=^5010145
;;^UTILITY(U,$J,358.3,17037,0)
;;=M16.0^^61^781^130
;;^UTILITY(U,$J,358.3,17037,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17037,1,3,0)
;;=3^Primary Osteoarthritis of Hip,Bilateral
;;^UTILITY(U,$J,358.3,17037,1,4,0)
;;=4^M16.0
;;^UTILITY(U,$J,358.3,17037,2)
;;=^5010769
;;^UTILITY(U,$J,358.3,17038,0)
;;=M16.11^^61^781^139
;;^UTILITY(U,$J,358.3,17038,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17038,1,3,0)
;;=3^Primary Osteoarthritis of Right Hip
;;^UTILITY(U,$J,358.3,17038,1,4,0)
;;=4^M16.11
;;^UTILITY(U,$J,358.3,17038,2)
;;=^5010771
;;^UTILITY(U,$J,358.3,17039,0)
;;=M16.12^^61^781^133
;;^UTILITY(U,$J,358.3,17039,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17039,1,3,0)
;;=3^Primary Osteoarthritis of Left Hip
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI11S 3792 printed Nov 22, 2024@17:10:16 Page 2
IBDEI11S ; ; 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,17027,1,3,0)
+2 ;;=3^Rheumatoid Arthritis of Left Knee
+3 ;;^UTILITY(U,$J,358.3,17027,1,4,0)
+4 ;;=4^M05.762
+5 ;;^UTILITY(U,$J,358.3,17027,2)
+6 ;;=^5010017
+7 ;;^UTILITY(U,$J,358.3,17028,0)
+8 ;;=M05.771^^61^781^155
+9 ;;^UTILITY(U,$J,358.3,17028,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,17028,1,3,0)
+12 ;;=3^Rheumatoid Arthritis of Right Ankle
+13 ;;^UTILITY(U,$J,358.3,17028,1,4,0)
+14 ;;=4^M05.771
+15 ;;^UTILITY(U,$J,358.3,17028,2)
+16 ;;=^5010019
+17 ;;^UTILITY(U,$J,358.3,17029,0)
+18 ;;=M05.772^^61^781^148
+19 ;;^UTILITY(U,$J,358.3,17029,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,17029,1,3,0)
+22 ;;=3^Rheumatoid Arthritis of Left Ankle
+23 ;;^UTILITY(U,$J,358.3,17029,1,4,0)
+24 ;;=4^M05.772
+25 ;;^UTILITY(U,$J,358.3,17029,2)
+26 ;;=^5010020
+27 ;;^UTILITY(U,$J,358.3,17030,0)
+28 ;;=M05.79^^61^781^154
+29 ;;^UTILITY(U,$J,358.3,17030,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,17030,1,3,0)
+32 ;;=3^Rheumatoid Arthritis of Multiple Sites
+33 ;;^UTILITY(U,$J,358.3,17030,1,4,0)
+34 ;;=4^M05.79
+35 ;;^UTILITY(U,$J,358.3,17030,2)
+36 ;;=^5010022
+37 ;;^UTILITY(U,$J,358.3,17031,0)
+38 ;;=M06.00^^61^781^161
+39 ;;^UTILITY(U,$J,358.3,17031,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,17031,1,3,0)
+42 ;;=3^Rheumatoid Arthritis w/o Rhematoid Factor,Unspec Site
+43 ;;^UTILITY(U,$J,358.3,17031,1,4,0)
+44 ;;=4^M06.00
+45 ;;^UTILITY(U,$J,358.3,17031,2)
+46 ;;=^5010047
+47 ;;^UTILITY(U,$J,358.3,17032,0)
+48 ;;=M06.30^^61^781^164
+49 ;;^UTILITY(U,$J,358.3,17032,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,17032,1,3,0)
+52 ;;=3^Rheumatoid Nodule,Unspec Site
+53 ;;^UTILITY(U,$J,358.3,17032,1,4,0)
+54 ;;=4^M06.30
+55 ;;^UTILITY(U,$J,358.3,17032,2)
+56 ;;=^5010096
+57 ;;^UTILITY(U,$J,358.3,17033,0)
+58 ;;=M06.4^^61^781^51
+59 ;;^UTILITY(U,$J,358.3,17033,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,17033,1,3,0)
+62 ;;=3^Inflammatory Polyarthropathy
+63 ;;^UTILITY(U,$J,358.3,17033,1,4,0)
+64 ;;=4^M06.4
+65 ;;^UTILITY(U,$J,358.3,17033,2)
+66 ;;=^5010120
+67 ;;^UTILITY(U,$J,358.3,17034,0)
+68 ;;=M06.39^^61^781^163
+69 ;;^UTILITY(U,$J,358.3,17034,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,17034,1,3,0)
+72 ;;=3^Rheumatoid Nodule,Mult Sites
+73 ;;^UTILITY(U,$J,358.3,17034,1,4,0)
+74 ;;=4^M06.39
+75 ;;^UTILITY(U,$J,358.3,17034,2)
+76 ;;=^5010119
+77 ;;^UTILITY(U,$J,358.3,17035,0)
+78 ;;=M15.0^^61^781^127
+79 ;;^UTILITY(U,$J,358.3,17035,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,17035,1,3,0)
+82 ;;=3^Primary Generalized Osteoarthritis
+83 ;;^UTILITY(U,$J,358.3,17035,1,4,0)
+84 ;;=4^M15.0
+85 ;;^UTILITY(U,$J,358.3,17035,2)
+86 ;;=^5010762
+87 ;;^UTILITY(U,$J,358.3,17036,0)
+88 ;;=M06.9^^61^781^162
+89 ;;^UTILITY(U,$J,358.3,17036,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,17036,1,3,0)
+92 ;;=3^Rheumatoid Arthritis,Unspec
+93 ;;^UTILITY(U,$J,358.3,17036,1,4,0)
+94 ;;=4^M06.9
+95 ;;^UTILITY(U,$J,358.3,17036,2)
+96 ;;=^5010145
+97 ;;^UTILITY(U,$J,358.3,17037,0)
+98 ;;=M16.0^^61^781^130
+99 ;;^UTILITY(U,$J,358.3,17037,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,17037,1,3,0)
+102 ;;=3^Primary Osteoarthritis of Hip,Bilateral
+103 ;;^UTILITY(U,$J,358.3,17037,1,4,0)
+104 ;;=4^M16.0
+105 ;;^UTILITY(U,$J,358.3,17037,2)
+106 ;;=^5010769
+107 ;;^UTILITY(U,$J,358.3,17038,0)
+108 ;;=M16.11^^61^781^139
+109 ;;^UTILITY(U,$J,358.3,17038,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,17038,1,3,0)
+112 ;;=3^Primary Osteoarthritis of Right Hip
+113 ;;^UTILITY(U,$J,358.3,17038,1,4,0)
+114 ;;=4^M16.11
+115 ;;^UTILITY(U,$J,358.3,17038,2)
+116 ;;=^5010771
+117 ;;^UTILITY(U,$J,358.3,17039,0)
+118 ;;=M16.12^^61^781^133
+119 ;;^UTILITY(U,$J,358.3,17039,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,17039,1,3,0)
+122 ;;=3^Primary Osteoarthritis of Left Hip