IBDEI17S ; ; 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,19718,1,4,0)
 ;;=4^M05.762
 ;;^UTILITY(U,$J,358.3,19718,2)
 ;;=^5010017
 ;;^UTILITY(U,$J,358.3,19719,0)
 ;;=M05.712^^67^880^96
 ;;^UTILITY(U,$J,358.3,19719,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19719,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of left shoulder w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19719,1,4,0)
 ;;=4^M05.712
 ;;^UTILITY(U,$J,358.3,19719,2)
 ;;=^5010002
 ;;^UTILITY(U,$J,358.3,19720,0)
 ;;=M05.732^^67^880^97
 ;;^UTILITY(U,$J,358.3,19720,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19720,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of left wrist w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19720,1,4,0)
 ;;=4^M05.732
 ;;^UTILITY(U,$J,358.3,19720,2)
 ;;=^5010008
 ;;^UTILITY(U,$J,358.3,19721,0)
 ;;=M05.771^^67^880^98
 ;;^UTILITY(U,$J,358.3,19721,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19721,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right ank/ft w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19721,1,4,0)
 ;;=4^M05.771
 ;;^UTILITY(U,$J,358.3,19721,2)
 ;;=^5010019
 ;;^UTILITY(U,$J,358.3,19722,0)
 ;;=M05.721^^67^880^99
 ;;^UTILITY(U,$J,358.3,19722,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19722,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right elbow w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19722,1,4,0)
 ;;=4^M05.721
 ;;^UTILITY(U,$J,358.3,19722,2)
 ;;=^5010004
 ;;^UTILITY(U,$J,358.3,19723,0)
 ;;=M05.741^^67^880^100
 ;;^UTILITY(U,$J,358.3,19723,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19723,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right hand w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19723,1,4,0)
 ;;=4^M05.741
 ;;^UTILITY(U,$J,358.3,19723,2)
 ;;=^5010010
 ;;^UTILITY(U,$J,358.3,19724,0)
 ;;=M05.751^^67^880^101
 ;;^UTILITY(U,$J,358.3,19724,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19724,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right hip w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19724,1,4,0)
 ;;=4^M05.751
 ;;^UTILITY(U,$J,358.3,19724,2)
 ;;=^5010013
 ;;^UTILITY(U,$J,358.3,19725,0)
 ;;=M05.761^^67^880^102
 ;;^UTILITY(U,$J,358.3,19725,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19725,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right knee w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19725,1,4,0)
 ;;=4^M05.761
 ;;^UTILITY(U,$J,358.3,19725,2)
 ;;=^5010016
 ;;^UTILITY(U,$J,358.3,19726,0)
 ;;=M05.711^^67^880^103
 ;;^UTILITY(U,$J,358.3,19726,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19726,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right shoulder w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19726,1,4,0)
 ;;=4^M05.711
 ;;^UTILITY(U,$J,358.3,19726,2)
 ;;=^5010001
 ;;^UTILITY(U,$J,358.3,19727,0)
 ;;=M05.731^^67^880^104
 ;;^UTILITY(U,$J,358.3,19727,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19727,1,3,0)
 ;;=3^Rheu arthrit w rheu factor of right wrist w/o org/sys involv
 ;;^UTILITY(U,$J,358.3,19727,1,4,0)
 ;;=4^M05.731
 ;;^UTILITY(U,$J,358.3,19727,2)
 ;;=^5010007
 ;;^UTILITY(U,$J,358.3,19728,0)
 ;;=M06.072^^67^880^105
 ;;^UTILITY(U,$J,358.3,19728,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19728,1,3,0)
 ;;=3^Rheu arthrit w/o rheu factor of left ank/ft
 ;;^UTILITY(U,$J,358.3,19728,1,4,0)
 ;;=4^M06.072
 ;;^UTILITY(U,$J,358.3,19728,2)
 ;;=^5010067
 ;;^UTILITY(U,$J,358.3,19729,0)
 ;;=M06.022^^67^880^106
 ;;^UTILITY(U,$J,358.3,19729,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,19729,1,3,0)
 ;;=3^Rheu arthrit w/o rheumatoid factor, left elbow 
 ;;^UTILITY(U,$J,358.3,19729,1,4,0)
 ;;=4^M06.022
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI17S   3751     printed  Sep 23, 2025@19:39:25                                                                                                                                                                                                    Page 2
IBDEI17S  ; ; 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,19718,1,4,0)
 +2       ;;=4^M05.762
 +3       ;;^UTILITY(U,$J,358.3,19718,2)
 +4       ;;=^5010017
 +5       ;;^UTILITY(U,$J,358.3,19719,0)
 +6       ;;=M05.712^^67^880^96
 +7       ;;^UTILITY(U,$J,358.3,19719,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,19719,1,3,0)
 +10      ;;=3^Rheu arthrit w rheu factor of left shoulder w/o org/sys involv
 +11      ;;^UTILITY(U,$J,358.3,19719,1,4,0)
 +12      ;;=4^M05.712
 +13      ;;^UTILITY(U,$J,358.3,19719,2)
 +14      ;;=^5010002
 +15      ;;^UTILITY(U,$J,358.3,19720,0)
 +16      ;;=M05.732^^67^880^97
 +17      ;;^UTILITY(U,$J,358.3,19720,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,19720,1,3,0)
 +20      ;;=3^Rheu arthrit w rheu factor of left wrist w/o org/sys involv
 +21      ;;^UTILITY(U,$J,358.3,19720,1,4,0)
 +22      ;;=4^M05.732
 +23      ;;^UTILITY(U,$J,358.3,19720,2)
 +24      ;;=^5010008
 +25      ;;^UTILITY(U,$J,358.3,19721,0)
 +26      ;;=M05.771^^67^880^98
 +27      ;;^UTILITY(U,$J,358.3,19721,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,19721,1,3,0)
 +30      ;;=3^Rheu arthrit w rheu factor of right ank/ft w/o org/sys involv
 +31      ;;^UTILITY(U,$J,358.3,19721,1,4,0)
 +32      ;;=4^M05.771
 +33      ;;^UTILITY(U,$J,358.3,19721,2)
 +34      ;;=^5010019
 +35      ;;^UTILITY(U,$J,358.3,19722,0)
 +36      ;;=M05.721^^67^880^99
 +37      ;;^UTILITY(U,$J,358.3,19722,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,19722,1,3,0)
 +40      ;;=3^Rheu arthrit w rheu factor of right elbow w/o org/sys involv
 +41      ;;^UTILITY(U,$J,358.3,19722,1,4,0)
 +42      ;;=4^M05.721
 +43      ;;^UTILITY(U,$J,358.3,19722,2)
 +44      ;;=^5010004
 +45      ;;^UTILITY(U,$J,358.3,19723,0)
 +46      ;;=M05.741^^67^880^100
 +47      ;;^UTILITY(U,$J,358.3,19723,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,19723,1,3,0)
 +50      ;;=3^Rheu arthrit w rheu factor of right hand w/o org/sys involv
 +51      ;;^UTILITY(U,$J,358.3,19723,1,4,0)
 +52      ;;=4^M05.741
 +53      ;;^UTILITY(U,$J,358.3,19723,2)
 +54      ;;=^5010010
 +55      ;;^UTILITY(U,$J,358.3,19724,0)
 +56      ;;=M05.751^^67^880^101
 +57      ;;^UTILITY(U,$J,358.3,19724,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,19724,1,3,0)
 +60      ;;=3^Rheu arthrit w rheu factor of right hip w/o org/sys involv
 +61      ;;^UTILITY(U,$J,358.3,19724,1,4,0)
 +62      ;;=4^M05.751
 +63      ;;^UTILITY(U,$J,358.3,19724,2)
 +64      ;;=^5010013
 +65      ;;^UTILITY(U,$J,358.3,19725,0)
 +66      ;;=M05.761^^67^880^102
 +67      ;;^UTILITY(U,$J,358.3,19725,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,19725,1,3,0)
 +70      ;;=3^Rheu arthrit w rheu factor of right knee w/o org/sys involv
 +71      ;;^UTILITY(U,$J,358.3,19725,1,4,0)
 +72      ;;=4^M05.761
 +73      ;;^UTILITY(U,$J,358.3,19725,2)
 +74      ;;=^5010016
 +75      ;;^UTILITY(U,$J,358.3,19726,0)
 +76      ;;=M05.711^^67^880^103
 +77      ;;^UTILITY(U,$J,358.3,19726,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,19726,1,3,0)
 +80      ;;=3^Rheu arthrit w rheu factor of right shoulder w/o org/sys involv
 +81      ;;^UTILITY(U,$J,358.3,19726,1,4,0)
 +82      ;;=4^M05.711
 +83      ;;^UTILITY(U,$J,358.3,19726,2)
 +84      ;;=^5010001
 +85      ;;^UTILITY(U,$J,358.3,19727,0)
 +86      ;;=M05.731^^67^880^104
 +87      ;;^UTILITY(U,$J,358.3,19727,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,19727,1,3,0)
 +90      ;;=3^Rheu arthrit w rheu factor of right wrist w/o org/sys involv
 +91      ;;^UTILITY(U,$J,358.3,19727,1,4,0)
 +92      ;;=4^M05.731
 +93      ;;^UTILITY(U,$J,358.3,19727,2)
 +94      ;;=^5010007
 +95      ;;^UTILITY(U,$J,358.3,19728,0)
 +96      ;;=M06.072^^67^880^105
 +97      ;;^UTILITY(U,$J,358.3,19728,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,19728,1,3,0)
 +100     ;;=3^Rheu arthrit w/o rheu factor of left ank/ft
 +101     ;;^UTILITY(U,$J,358.3,19728,1,4,0)
 +102     ;;=4^M06.072
 +103     ;;^UTILITY(U,$J,358.3,19728,2)
 +104     ;;=^5010067
 +105     ;;^UTILITY(U,$J,358.3,19729,0)
 +106     ;;=M06.022^^67^880^106
 +107     ;;^UTILITY(U,$J,358.3,19729,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,19729,1,3,0)
 +110     ;;=3^Rheu arthrit w/o rheumatoid factor, left elbow 
 +111     ;;^UTILITY(U,$J,358.3,19729,1,4,0)
 +112     ;;=4^M06.022