IBDEI0UZ ; ; 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,13982,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13982,1,3,0)
 ;;=3^Secondary osteoarthritis, right ankle & foot
 ;;^UTILITY(U,$J,358.3,13982,1,4,0)
 ;;=4^M19.271
 ;;^UTILITY(U,$J,358.3,13982,2)
 ;;=^5010850
 ;;^UTILITY(U,$J,358.3,13983,0)
 ;;=M19.272^^55^666^24
 ;;^UTILITY(U,$J,358.3,13983,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13983,1,3,0)
 ;;=3^Secondary osteoarthritis, left ankle & foot
 ;;^UTILITY(U,$J,358.3,13983,1,4,0)
 ;;=4^M19.272
 ;;^UTILITY(U,$J,358.3,13983,2)
 ;;=^5010851
 ;;^UTILITY(U,$J,358.3,13984,0)
 ;;=M19.031^^55^667^10
 ;;^UTILITY(U,$J,358.3,13984,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13984,1,3,0)
 ;;=3^Primary osteoarthritis, right wrist
 ;;^UTILITY(U,$J,358.3,13984,1,4,0)
 ;;=4^M19.031
 ;;^UTILITY(U,$J,358.3,13984,2)
 ;;=^5010814
 ;;^UTILITY(U,$J,358.3,13985,0)
 ;;=M19.032^^55^667^9
 ;;^UTILITY(U,$J,358.3,13985,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13985,1,3,0)
 ;;=3^Primary osteoarthritis, left wrist
 ;;^UTILITY(U,$J,358.3,13985,1,4,0)
 ;;=4^M19.032
 ;;^UTILITY(U,$J,358.3,13985,2)
 ;;=^5010815
 ;;^UTILITY(U,$J,358.3,13986,0)
 ;;=S50.11XA^^55^667^4
 ;;^UTILITY(U,$J,358.3,13986,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13986,1,3,0)
 ;;=3^Contusion of right forearm, initial encounter
 ;;^UTILITY(U,$J,358.3,13986,1,4,0)
 ;;=4^S50.11XA
 ;;^UTILITY(U,$J,358.3,13986,2)
 ;;=^5028494
 ;;^UTILITY(U,$J,358.3,13987,0)
 ;;=S50.12XA^^55^667^1
 ;;^UTILITY(U,$J,358.3,13987,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13987,1,3,0)
 ;;=3^Contusion of left forearm, initial encounter
 ;;^UTILITY(U,$J,358.3,13987,1,4,0)
 ;;=4^S50.12XA
 ;;^UTILITY(U,$J,358.3,13987,2)
 ;;=^5028497
 ;;^UTILITY(U,$J,358.3,13988,0)
 ;;=S50.11XD^^55^667^6
 ;;^UTILITY(U,$J,358.3,13988,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13988,1,3,0)
 ;;=3^Contusion of right forearm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,13988,1,4,0)
 ;;=4^S50.11XD
 ;;^UTILITY(U,$J,358.3,13988,2)
 ;;=^5028495
 ;;^UTILITY(U,$J,358.3,13989,0)
 ;;=S50.11XS^^55^667^5
 ;;^UTILITY(U,$J,358.3,13989,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13989,1,3,0)
 ;;=3^Contusion of right forearm, sequela
 ;;^UTILITY(U,$J,358.3,13989,1,4,0)
 ;;=4^S50.11XS
 ;;^UTILITY(U,$J,358.3,13989,2)
 ;;=^5028496
 ;;^UTILITY(U,$J,358.3,13990,0)
 ;;=S50.12XD^^55^667^3
 ;;^UTILITY(U,$J,358.3,13990,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13990,1,3,0)
 ;;=3^Contusion of left forearm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,13990,1,4,0)
 ;;=4^S50.12XD
 ;;^UTILITY(U,$J,358.3,13990,2)
 ;;=^5028498
 ;;^UTILITY(U,$J,358.3,13991,0)
 ;;=S50.12XS^^55^667^2
 ;;^UTILITY(U,$J,358.3,13991,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13991,1,3,0)
 ;;=3^Contusion of left forearm, sequela
 ;;^UTILITY(U,$J,358.3,13991,1,4,0)
 ;;=4^S50.12XS
 ;;^UTILITY(U,$J,358.3,13991,2)
 ;;=^5028499
 ;;^UTILITY(U,$J,358.3,13992,0)
 ;;=M19.131^^55^667^8
 ;;^UTILITY(U,$J,358.3,13992,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13992,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, right wrist
 ;;^UTILITY(U,$J,358.3,13992,1,4,0)
 ;;=4^M19.131
 ;;^UTILITY(U,$J,358.3,13992,2)
 ;;=^5010829
 ;;^UTILITY(U,$J,358.3,13993,0)
 ;;=M19.132^^55^667^7
 ;;^UTILITY(U,$J,358.3,13993,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13993,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, left wrist
 ;;^UTILITY(U,$J,358.3,13993,1,4,0)
 ;;=4^M19.132
 ;;^UTILITY(U,$J,358.3,13993,2)
 ;;=^5010830
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0UZ   3754     printed  Sep 23, 2025@19:32:16                                                                                                                                                                                                    Page 2
IBDEI0UZ  ; ; 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,13982,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,13982,1,3,0)
 +4       ;;=3^Secondary osteoarthritis, right ankle & foot
 +5       ;;^UTILITY(U,$J,358.3,13982,1,4,0)
 +6       ;;=4^M19.271
 +7       ;;^UTILITY(U,$J,358.3,13982,2)
 +8       ;;=^5010850
 +9       ;;^UTILITY(U,$J,358.3,13983,0)
 +10      ;;=M19.272^^55^666^24
 +11      ;;^UTILITY(U,$J,358.3,13983,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,13983,1,3,0)
 +14      ;;=3^Secondary osteoarthritis, left ankle & foot
 +15      ;;^UTILITY(U,$J,358.3,13983,1,4,0)
 +16      ;;=4^M19.272
 +17      ;;^UTILITY(U,$J,358.3,13983,2)
 +18      ;;=^5010851
 +19      ;;^UTILITY(U,$J,358.3,13984,0)
 +20      ;;=M19.031^^55^667^10
 +21      ;;^UTILITY(U,$J,358.3,13984,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,13984,1,3,0)
 +24      ;;=3^Primary osteoarthritis, right wrist
 +25      ;;^UTILITY(U,$J,358.3,13984,1,4,0)
 +26      ;;=4^M19.031
 +27      ;;^UTILITY(U,$J,358.3,13984,2)
 +28      ;;=^5010814
 +29      ;;^UTILITY(U,$J,358.3,13985,0)
 +30      ;;=M19.032^^55^667^9
 +31      ;;^UTILITY(U,$J,358.3,13985,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,13985,1,3,0)
 +34      ;;=3^Primary osteoarthritis, left wrist
 +35      ;;^UTILITY(U,$J,358.3,13985,1,4,0)
 +36      ;;=4^M19.032
 +37      ;;^UTILITY(U,$J,358.3,13985,2)
 +38      ;;=^5010815
 +39      ;;^UTILITY(U,$J,358.3,13986,0)
 +40      ;;=S50.11XA^^55^667^4
 +41      ;;^UTILITY(U,$J,358.3,13986,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,13986,1,3,0)
 +44      ;;=3^Contusion of right forearm, initial encounter
 +45      ;;^UTILITY(U,$J,358.3,13986,1,4,0)
 +46      ;;=4^S50.11XA
 +47      ;;^UTILITY(U,$J,358.3,13986,2)
 +48      ;;=^5028494
 +49      ;;^UTILITY(U,$J,358.3,13987,0)
 +50      ;;=S50.12XA^^55^667^1
 +51      ;;^UTILITY(U,$J,358.3,13987,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,13987,1,3,0)
 +54      ;;=3^Contusion of left forearm, initial encounter
 +55      ;;^UTILITY(U,$J,358.3,13987,1,4,0)
 +56      ;;=4^S50.12XA
 +57      ;;^UTILITY(U,$J,358.3,13987,2)
 +58      ;;=^5028497
 +59      ;;^UTILITY(U,$J,358.3,13988,0)
 +60      ;;=S50.11XD^^55^667^6
 +61      ;;^UTILITY(U,$J,358.3,13988,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,13988,1,3,0)
 +64      ;;=3^Contusion of right forearm, subsequent encounter
 +65      ;;^UTILITY(U,$J,358.3,13988,1,4,0)
 +66      ;;=4^S50.11XD
 +67      ;;^UTILITY(U,$J,358.3,13988,2)
 +68      ;;=^5028495
 +69      ;;^UTILITY(U,$J,358.3,13989,0)
 +70      ;;=S50.11XS^^55^667^5
 +71      ;;^UTILITY(U,$J,358.3,13989,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,13989,1,3,0)
 +74      ;;=3^Contusion of right forearm, sequela
 +75      ;;^UTILITY(U,$J,358.3,13989,1,4,0)
 +76      ;;=4^S50.11XS
 +77      ;;^UTILITY(U,$J,358.3,13989,2)
 +78      ;;=^5028496
 +79      ;;^UTILITY(U,$J,358.3,13990,0)
 +80      ;;=S50.12XD^^55^667^3
 +81      ;;^UTILITY(U,$J,358.3,13990,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,13990,1,3,0)
 +84      ;;=3^Contusion of left forearm, subsequent encounter
 +85      ;;^UTILITY(U,$J,358.3,13990,1,4,0)
 +86      ;;=4^S50.12XD
 +87      ;;^UTILITY(U,$J,358.3,13990,2)
 +88      ;;=^5028498
 +89      ;;^UTILITY(U,$J,358.3,13991,0)
 +90      ;;=S50.12XS^^55^667^2
 +91      ;;^UTILITY(U,$J,358.3,13991,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,13991,1,3,0)
 +94      ;;=3^Contusion of left forearm, sequela
 +95      ;;^UTILITY(U,$J,358.3,13991,1,4,0)
 +96      ;;=4^S50.12XS
 +97      ;;^UTILITY(U,$J,358.3,13991,2)
 +98      ;;=^5028499
 +99      ;;^UTILITY(U,$J,358.3,13992,0)
 +100     ;;=M19.131^^55^667^8
 +101     ;;^UTILITY(U,$J,358.3,13992,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,13992,1,3,0)
 +104     ;;=3^Post-traumatic osteoarthritis, right wrist
 +105     ;;^UTILITY(U,$J,358.3,13992,1,4,0)
 +106     ;;=4^M19.131
 +107     ;;^UTILITY(U,$J,358.3,13992,2)
 +108     ;;=^5010829
 +109     ;;^UTILITY(U,$J,358.3,13993,0)
 +110     ;;=M19.132^^55^667^7
 +111     ;;^UTILITY(U,$J,358.3,13993,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,13993,1,3,0)
 +114     ;;=3^Post-traumatic osteoarthritis, left wrist
 +115     ;;^UTILITY(U,$J,358.3,13993,1,4,0)
 +116     ;;=4^M19.132
 +117     ;;^UTILITY(U,$J,358.3,13993,2)
 +118     ;;=^5010830