IBDEI11T ; ; 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,17039,1,4,0)
 ;;=4^M16.12
 ;;^UTILITY(U,$J,358.3,17039,2)
 ;;=^5010772
 ;;^UTILITY(U,$J,358.3,17040,0)
 ;;=M17.0^^61^781^129
 ;;^UTILITY(U,$J,358.3,17040,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17040,1,3,0)
 ;;=3^Primary Osteoarthritis of Bilateral Knees
 ;;^UTILITY(U,$J,358.3,17040,1,4,0)
 ;;=4^M17.0
 ;;^UTILITY(U,$J,358.3,17040,2)
 ;;=^5010784
 ;;^UTILITY(U,$J,358.3,17041,0)
 ;;=M17.11^^61^781^140
 ;;^UTILITY(U,$J,358.3,17041,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17041,1,3,0)
 ;;=3^Primary Osteoarthritis of Right Knee
 ;;^UTILITY(U,$J,358.3,17041,1,4,0)
 ;;=4^M17.11
 ;;^UTILITY(U,$J,358.3,17041,2)
 ;;=^5010786
 ;;^UTILITY(U,$J,358.3,17042,0)
 ;;=M17.12^^61^781^134
 ;;^UTILITY(U,$J,358.3,17042,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17042,1,3,0)
 ;;=3^Primary Osteoarthritis of Left Knee
 ;;^UTILITY(U,$J,358.3,17042,1,4,0)
 ;;=4^M17.12
 ;;^UTILITY(U,$J,358.3,17042,2)
 ;;=^5010787
 ;;^UTILITY(U,$J,358.3,17043,0)
 ;;=M18.0^^61^781^128
 ;;^UTILITY(U,$J,358.3,17043,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17043,1,3,0)
 ;;=3^Primary Osteoarthritis of Bilateral 1st Carpometacarp Jts
 ;;^UTILITY(U,$J,358.3,17043,1,4,0)
 ;;=4^M18.0
 ;;^UTILITY(U,$J,358.3,17043,2)
 ;;=^5010795
 ;;^UTILITY(U,$J,358.3,17044,0)
 ;;=M18.11^^61^781^138
 ;;^UTILITY(U,$J,358.3,17044,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17044,1,3,0)
 ;;=3^Primary Osteoarthritis of Right Hand 1st Carpometacarp Jt
 ;;^UTILITY(U,$J,358.3,17044,1,4,0)
 ;;=4^M18.11
 ;;^UTILITY(U,$J,358.3,17044,2)
 ;;=^5010797
 ;;^UTILITY(U,$J,358.3,17045,0)
 ;;=M18.12^^61^781^132
 ;;^UTILITY(U,$J,358.3,17045,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17045,1,3,0)
 ;;=3^Primary Osteoarthritis of Left Hand 1st Carpometacarp Jt
 ;;^UTILITY(U,$J,358.3,17045,1,4,0)
 ;;=4^M18.12
 ;;^UTILITY(U,$J,358.3,17045,2)
 ;;=^5010798
 ;;^UTILITY(U,$J,358.3,17046,0)
 ;;=M19.011^^61^781^141
 ;;^UTILITY(U,$J,358.3,17046,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17046,1,3,0)
 ;;=3^Primary Osteoarthritis of Right Shoulder
 ;;^UTILITY(U,$J,358.3,17046,1,4,0)
 ;;=4^M19.011
 ;;^UTILITY(U,$J,358.3,17046,2)
 ;;=^5010808
 ;;^UTILITY(U,$J,358.3,17047,0)
 ;;=M19.012^^61^781^135
 ;;^UTILITY(U,$J,358.3,17047,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17047,1,3,0)
 ;;=3^Primary Osteoarthritis of Left Shoulder
 ;;^UTILITY(U,$J,358.3,17047,1,4,0)
 ;;=4^M19.012
 ;;^UTILITY(U,$J,358.3,17047,2)
 ;;=^5010809
 ;;^UTILITY(U,$J,358.3,17048,0)
 ;;=M19.031^^61^781^142
 ;;^UTILITY(U,$J,358.3,17048,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17048,1,3,0)
 ;;=3^Primary Osteoarthritis of Right Wrist
 ;;^UTILITY(U,$J,358.3,17048,1,4,0)
 ;;=4^M19.031
 ;;^UTILITY(U,$J,358.3,17048,2)
 ;;=^5010814
 ;;^UTILITY(U,$J,358.3,17049,0)
 ;;=M19.032^^61^781^136
 ;;^UTILITY(U,$J,358.3,17049,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17049,1,3,0)
 ;;=3^Primary Osteoarthritis of Left Wrist
 ;;^UTILITY(U,$J,358.3,17049,1,4,0)
 ;;=4^M19.032
 ;;^UTILITY(U,$J,358.3,17049,2)
 ;;=^5010815
 ;;^UTILITY(U,$J,358.3,17050,0)
 ;;=M19.041^^61^781^137
 ;;^UTILITY(U,$J,358.3,17050,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17050,1,3,0)
 ;;=3^Primary Osteoarthritis of Right Hand
 ;;^UTILITY(U,$J,358.3,17050,1,4,0)
 ;;=4^M19.041
 ;;^UTILITY(U,$J,358.3,17050,2)
 ;;=^5010817
 ;;^UTILITY(U,$J,358.3,17051,0)
 ;;=M19.042^^61^781^131
 ;;^UTILITY(U,$J,358.3,17051,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,17051,1,3,0)
 ;;=3^Primary Osteoarthritis of Left Hand
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI11T   3816     printed  Sep 23, 2025@19:36:06                                                                                                                                                                                                    Page 2
IBDEI11T  ; ; 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,17039,1,4,0)
 +2       ;;=4^M16.12
 +3       ;;^UTILITY(U,$J,358.3,17039,2)
 +4       ;;=^5010772
 +5       ;;^UTILITY(U,$J,358.3,17040,0)
 +6       ;;=M17.0^^61^781^129
 +7       ;;^UTILITY(U,$J,358.3,17040,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,17040,1,3,0)
 +10      ;;=3^Primary Osteoarthritis of Bilateral Knees
 +11      ;;^UTILITY(U,$J,358.3,17040,1,4,0)
 +12      ;;=4^M17.0
 +13      ;;^UTILITY(U,$J,358.3,17040,2)
 +14      ;;=^5010784
 +15      ;;^UTILITY(U,$J,358.3,17041,0)
 +16      ;;=M17.11^^61^781^140
 +17      ;;^UTILITY(U,$J,358.3,17041,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,17041,1,3,0)
 +20      ;;=3^Primary Osteoarthritis of Right Knee
 +21      ;;^UTILITY(U,$J,358.3,17041,1,4,0)
 +22      ;;=4^M17.11
 +23      ;;^UTILITY(U,$J,358.3,17041,2)
 +24      ;;=^5010786
 +25      ;;^UTILITY(U,$J,358.3,17042,0)
 +26      ;;=M17.12^^61^781^134
 +27      ;;^UTILITY(U,$J,358.3,17042,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,17042,1,3,0)
 +30      ;;=3^Primary Osteoarthritis of Left Knee
 +31      ;;^UTILITY(U,$J,358.3,17042,1,4,0)
 +32      ;;=4^M17.12
 +33      ;;^UTILITY(U,$J,358.3,17042,2)
 +34      ;;=^5010787
 +35      ;;^UTILITY(U,$J,358.3,17043,0)
 +36      ;;=M18.0^^61^781^128
 +37      ;;^UTILITY(U,$J,358.3,17043,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,17043,1,3,0)
 +40      ;;=3^Primary Osteoarthritis of Bilateral 1st Carpometacarp Jts
 +41      ;;^UTILITY(U,$J,358.3,17043,1,4,0)
 +42      ;;=4^M18.0
 +43      ;;^UTILITY(U,$J,358.3,17043,2)
 +44      ;;=^5010795
 +45      ;;^UTILITY(U,$J,358.3,17044,0)
 +46      ;;=M18.11^^61^781^138
 +47      ;;^UTILITY(U,$J,358.3,17044,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,17044,1,3,0)
 +50      ;;=3^Primary Osteoarthritis of Right Hand 1st Carpometacarp Jt
 +51      ;;^UTILITY(U,$J,358.3,17044,1,4,0)
 +52      ;;=4^M18.11
 +53      ;;^UTILITY(U,$J,358.3,17044,2)
 +54      ;;=^5010797
 +55      ;;^UTILITY(U,$J,358.3,17045,0)
 +56      ;;=M18.12^^61^781^132
 +57      ;;^UTILITY(U,$J,358.3,17045,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,17045,1,3,0)
 +60      ;;=3^Primary Osteoarthritis of Left Hand 1st Carpometacarp Jt
 +61      ;;^UTILITY(U,$J,358.3,17045,1,4,0)
 +62      ;;=4^M18.12
 +63      ;;^UTILITY(U,$J,358.3,17045,2)
 +64      ;;=^5010798
 +65      ;;^UTILITY(U,$J,358.3,17046,0)
 +66      ;;=M19.011^^61^781^141
 +67      ;;^UTILITY(U,$J,358.3,17046,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,17046,1,3,0)
 +70      ;;=3^Primary Osteoarthritis of Right Shoulder
 +71      ;;^UTILITY(U,$J,358.3,17046,1,4,0)
 +72      ;;=4^M19.011
 +73      ;;^UTILITY(U,$J,358.3,17046,2)
 +74      ;;=^5010808
 +75      ;;^UTILITY(U,$J,358.3,17047,0)
 +76      ;;=M19.012^^61^781^135
 +77      ;;^UTILITY(U,$J,358.3,17047,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,17047,1,3,0)
 +80      ;;=3^Primary Osteoarthritis of Left Shoulder
 +81      ;;^UTILITY(U,$J,358.3,17047,1,4,0)
 +82      ;;=4^M19.012
 +83      ;;^UTILITY(U,$J,358.3,17047,2)
 +84      ;;=^5010809
 +85      ;;^UTILITY(U,$J,358.3,17048,0)
 +86      ;;=M19.031^^61^781^142
 +87      ;;^UTILITY(U,$J,358.3,17048,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,17048,1,3,0)
 +90      ;;=3^Primary Osteoarthritis of Right Wrist
 +91      ;;^UTILITY(U,$J,358.3,17048,1,4,0)
 +92      ;;=4^M19.031
 +93      ;;^UTILITY(U,$J,358.3,17048,2)
 +94      ;;=^5010814
 +95      ;;^UTILITY(U,$J,358.3,17049,0)
 +96      ;;=M19.032^^61^781^136
 +97      ;;^UTILITY(U,$J,358.3,17049,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,17049,1,3,0)
 +100     ;;=3^Primary Osteoarthritis of Left Wrist
 +101     ;;^UTILITY(U,$J,358.3,17049,1,4,0)
 +102     ;;=4^M19.032
 +103     ;;^UTILITY(U,$J,358.3,17049,2)
 +104     ;;=^5010815
 +105     ;;^UTILITY(U,$J,358.3,17050,0)
 +106     ;;=M19.041^^61^781^137
 +107     ;;^UTILITY(U,$J,358.3,17050,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,17050,1,3,0)
 +110     ;;=3^Primary Osteoarthritis of Right Hand
 +111     ;;^UTILITY(U,$J,358.3,17050,1,4,0)
 +112     ;;=4^M19.041
 +113     ;;^UTILITY(U,$J,358.3,17050,2)
 +114     ;;=^5010817
 +115     ;;^UTILITY(U,$J,358.3,17051,0)
 +116     ;;=M19.042^^61^781^131
 +117     ;;^UTILITY(U,$J,358.3,17051,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,17051,1,3,0)
 +120     ;;=3^Primary Osteoarthritis of Left Hand