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