IBDEI0VK ; ; 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,14231,1,3,0)
 ;;=3^Unilateral post-traumatic osteoarthritis, right hip
 ;;^UTILITY(U,$J,358.3,14231,1,4,0)
 ;;=4^M16.51
 ;;^UTILITY(U,$J,358.3,14231,2)
 ;;=^5010779
 ;;^UTILITY(U,$J,358.3,14232,0)
 ;;=M16.52^^55^673^49
 ;;^UTILITY(U,$J,358.3,14232,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14232,1,3,0)
 ;;=3^Unilateral post-traumatic osteoarthritis, left hip
 ;;^UTILITY(U,$J,358.3,14232,1,4,0)
 ;;=4^M16.52
 ;;^UTILITY(U,$J,358.3,14232,2)
 ;;=^5010780
 ;;^UTILITY(U,$J,358.3,14233,0)
 ;;=M16.6^^55^673^4
 ;;^UTILITY(U,$J,358.3,14233,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14233,1,3,0)
 ;;=3^Bilateral secondary osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,14233,1,4,0)
 ;;=4^M16.6
 ;;^UTILITY(U,$J,358.3,14233,2)
 ;;=^5010781
 ;;^UTILITY(U,$J,358.3,14234,0)
 ;;=M16.7^^55^673^50
 ;;^UTILITY(U,$J,358.3,14234,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14234,1,3,0)
 ;;=3^Unilateral secondary osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,14234,1,4,0)
 ;;=4^M16.7
 ;;^UTILITY(U,$J,358.3,14234,2)
 ;;=^5010782
 ;;^UTILITY(U,$J,358.3,14235,0)
 ;;=S73.015D^^55^673^39
 ;;^UTILITY(U,$J,358.3,14235,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14235,1,3,0)
 ;;=3^Posterior dislocation of left hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14235,1,4,0)
 ;;=4^S73.015D
 ;;^UTILITY(U,$J,358.3,14235,2)
 ;;=^5039250
 ;;^UTILITY(U,$J,358.3,14236,0)
 ;;=S73.014D^^55^673^41
 ;;^UTILITY(U,$J,358.3,14236,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14236,1,3,0)
 ;;=3^Posterior dislocation of right hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14236,1,4,0)
 ;;=4^S73.014D
 ;;^UTILITY(U,$J,358.3,14236,2)
 ;;=^5039247
 ;;^UTILITY(U,$J,358.3,14237,0)
 ;;=M25.451^^55^673^20
 ;;^UTILITY(U,$J,358.3,14237,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14237,1,3,0)
 ;;=3^Effusion, right hip
 ;;^UTILITY(U,$J,358.3,14237,1,4,0)
 ;;=4^M25.451
 ;;^UTILITY(U,$J,358.3,14237,2)
 ;;=^5011588
 ;;^UTILITY(U,$J,358.3,14238,0)
 ;;=M25.452^^55^673^19
 ;;^UTILITY(U,$J,358.3,14238,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14238,1,3,0)
 ;;=3^Effusion, left hip
 ;;^UTILITY(U,$J,358.3,14238,1,4,0)
 ;;=4^M25.452
 ;;^UTILITY(U,$J,358.3,14238,2)
 ;;=^5011589
 ;;^UTILITY(U,$J,358.3,14239,0)
 ;;=T84.020A^^55^673^9
 ;;^UTILITY(U,$J,358.3,14239,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14239,1,3,0)
 ;;=3^Dislocation of internal right hip prosthesis, init encntr
 ;;^UTILITY(U,$J,358.3,14239,1,4,0)
 ;;=4^T84.020A
 ;;^UTILITY(U,$J,358.3,14239,2)
 ;;=^5055121
 ;;^UTILITY(U,$J,358.3,14240,0)
 ;;=T84.020D^^55^673^10
 ;;^UTILITY(U,$J,358.3,14240,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14240,1,3,0)
 ;;=3^Dislocation of internal right hip prosthesis, subs encntr
 ;;^UTILITY(U,$J,358.3,14240,1,4,0)
 ;;=4^T84.020D
 ;;^UTILITY(U,$J,358.3,14240,2)
 ;;=^5055122
 ;;^UTILITY(U,$J,358.3,14241,0)
 ;;=M75.02^^55^674^1
 ;;^UTILITY(U,$J,358.3,14241,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14241,1,3,0)
 ;;=3^Adhesive capsulitis of left shoulder
 ;;^UTILITY(U,$J,358.3,14241,1,4,0)
 ;;=4^M75.02
 ;;^UTILITY(U,$J,358.3,14241,2)
 ;;=^5013240
 ;;^UTILITY(U,$J,358.3,14242,0)
 ;;=M75.01^^55^674^2
 ;;^UTILITY(U,$J,358.3,14242,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14242,1,3,0)
 ;;=3^Adhesive capsulitis of right shoulder
 ;;^UTILITY(U,$J,358.3,14242,1,4,0)
 ;;=4^M75.01
 ;;^UTILITY(U,$J,358.3,14242,2)
 ;;=^5013239
 ;;^UTILITY(U,$J,358.3,14243,0)
 ;;=M00.812^^55^674^3
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VK   3769     printed  Sep 23, 2025@19:32:36                                                                                                                                                                                                    Page 2
IBDEI0VK  ; ; 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,14231,1,3,0)
 +2       ;;=3^Unilateral post-traumatic osteoarthritis, right hip
 +3       ;;^UTILITY(U,$J,358.3,14231,1,4,0)
 +4       ;;=4^M16.51
 +5       ;;^UTILITY(U,$J,358.3,14231,2)
 +6       ;;=^5010779
 +7       ;;^UTILITY(U,$J,358.3,14232,0)
 +8       ;;=M16.52^^55^673^49
 +9       ;;^UTILITY(U,$J,358.3,14232,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,14232,1,3,0)
 +12      ;;=3^Unilateral post-traumatic osteoarthritis, left hip
 +13      ;;^UTILITY(U,$J,358.3,14232,1,4,0)
 +14      ;;=4^M16.52
 +15      ;;^UTILITY(U,$J,358.3,14232,2)
 +16      ;;=^5010780
 +17      ;;^UTILITY(U,$J,358.3,14233,0)
 +18      ;;=M16.6^^55^673^4
 +19      ;;^UTILITY(U,$J,358.3,14233,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,14233,1,3,0)
 +22      ;;=3^Bilateral secondary osteoarthritis of hip
 +23      ;;^UTILITY(U,$J,358.3,14233,1,4,0)
 +24      ;;=4^M16.6
 +25      ;;^UTILITY(U,$J,358.3,14233,2)
 +26      ;;=^5010781
 +27      ;;^UTILITY(U,$J,358.3,14234,0)
 +28      ;;=M16.7^^55^673^50
 +29      ;;^UTILITY(U,$J,358.3,14234,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,14234,1,3,0)
 +32      ;;=3^Unilateral secondary osteoarthritis of hip
 +33      ;;^UTILITY(U,$J,358.3,14234,1,4,0)
 +34      ;;=4^M16.7
 +35      ;;^UTILITY(U,$J,358.3,14234,2)
 +36      ;;=^5010782
 +37      ;;^UTILITY(U,$J,358.3,14235,0)
 +38      ;;=S73.015D^^55^673^39
 +39      ;;^UTILITY(U,$J,358.3,14235,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,14235,1,3,0)
 +42      ;;=3^Posterior dislocation of left hip, subsequent encounter
 +43      ;;^UTILITY(U,$J,358.3,14235,1,4,0)
 +44      ;;=4^S73.015D
 +45      ;;^UTILITY(U,$J,358.3,14235,2)
 +46      ;;=^5039250
 +47      ;;^UTILITY(U,$J,358.3,14236,0)
 +48      ;;=S73.014D^^55^673^41
 +49      ;;^UTILITY(U,$J,358.3,14236,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,14236,1,3,0)
 +52      ;;=3^Posterior dislocation of right hip, subsequent encounter
 +53      ;;^UTILITY(U,$J,358.3,14236,1,4,0)
 +54      ;;=4^S73.014D
 +55      ;;^UTILITY(U,$J,358.3,14236,2)
 +56      ;;=^5039247
 +57      ;;^UTILITY(U,$J,358.3,14237,0)
 +58      ;;=M25.451^^55^673^20
 +59      ;;^UTILITY(U,$J,358.3,14237,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,14237,1,3,0)
 +62      ;;=3^Effusion, right hip
 +63      ;;^UTILITY(U,$J,358.3,14237,1,4,0)
 +64      ;;=4^M25.451
 +65      ;;^UTILITY(U,$J,358.3,14237,2)
 +66      ;;=^5011588
 +67      ;;^UTILITY(U,$J,358.3,14238,0)
 +68      ;;=M25.452^^55^673^19
 +69      ;;^UTILITY(U,$J,358.3,14238,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,14238,1,3,0)
 +72      ;;=3^Effusion, left hip
 +73      ;;^UTILITY(U,$J,358.3,14238,1,4,0)
 +74      ;;=4^M25.452
 +75      ;;^UTILITY(U,$J,358.3,14238,2)
 +76      ;;=^5011589
 +77      ;;^UTILITY(U,$J,358.3,14239,0)
 +78      ;;=T84.020A^^55^673^9
 +79      ;;^UTILITY(U,$J,358.3,14239,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,14239,1,3,0)
 +82      ;;=3^Dislocation of internal right hip prosthesis, init encntr
 +83      ;;^UTILITY(U,$J,358.3,14239,1,4,0)
 +84      ;;=4^T84.020A
 +85      ;;^UTILITY(U,$J,358.3,14239,2)
 +86      ;;=^5055121
 +87      ;;^UTILITY(U,$J,358.3,14240,0)
 +88      ;;=T84.020D^^55^673^10
 +89      ;;^UTILITY(U,$J,358.3,14240,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,14240,1,3,0)
 +92      ;;=3^Dislocation of internal right hip prosthesis, subs encntr
 +93      ;;^UTILITY(U,$J,358.3,14240,1,4,0)
 +94      ;;=4^T84.020D
 +95      ;;^UTILITY(U,$J,358.3,14240,2)
 +96      ;;=^5055122
 +97      ;;^UTILITY(U,$J,358.3,14241,0)
 +98      ;;=M75.02^^55^674^1
 +99      ;;^UTILITY(U,$J,358.3,14241,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,14241,1,3,0)
 +102     ;;=3^Adhesive capsulitis of left shoulder
 +103     ;;^UTILITY(U,$J,358.3,14241,1,4,0)
 +104     ;;=4^M75.02
 +105     ;;^UTILITY(U,$J,358.3,14241,2)
 +106     ;;=^5013240
 +107     ;;^UTILITY(U,$J,358.3,14242,0)
 +108     ;;=M75.01^^55^674^2
 +109     ;;^UTILITY(U,$J,358.3,14242,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,14242,1,3,0)
 +112     ;;=3^Adhesive capsulitis of right shoulder
 +113     ;;^UTILITY(U,$J,358.3,14242,1,4,0)
 +114     ;;=4^M75.01
 +115     ;;^UTILITY(U,$J,358.3,14242,2)
 +116     ;;=^5013239
 +117     ;;^UTILITY(U,$J,358.3,14243,0)
 +118     ;;=M00.812^^55^674^3