IBDEI248 ; ; 04-FEB-2020
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
 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,33802,0)
 ;;=S73.014D^^132^1711^41
 ;;^UTILITY(U,$J,358.3,33802,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33802,1,3,0)
 ;;=3^Posterior dislocation of right hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,33802,1,4,0)
 ;;=4^S73.014D
 ;;^UTILITY(U,$J,358.3,33802,2)
 ;;=^5039247
 ;;^UTILITY(U,$J,358.3,33803,0)
 ;;=M25.451^^132^1711^20
 ;;^UTILITY(U,$J,358.3,33803,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33803,1,3,0)
 ;;=3^Effusion, right hip
 ;;^UTILITY(U,$J,358.3,33803,1,4,0)
 ;;=4^M25.451
 ;;^UTILITY(U,$J,358.3,33803,2)
 ;;=^5011588
 ;;^UTILITY(U,$J,358.3,33804,0)
 ;;=M25.452^^132^1711^19
 ;;^UTILITY(U,$J,358.3,33804,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33804,1,3,0)
 ;;=3^Effusion, left hip
 ;;^UTILITY(U,$J,358.3,33804,1,4,0)
 ;;=4^M25.452
 ;;^UTILITY(U,$J,358.3,33804,2)
 ;;=^5011589
 ;;^UTILITY(U,$J,358.3,33805,0)
 ;;=T84.020A^^132^1711^9
 ;;^UTILITY(U,$J,358.3,33805,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33805,1,3,0)
 ;;=3^Dislocation of internal right hip prosthesis, init encntr
 ;;^UTILITY(U,$J,358.3,33805,1,4,0)
 ;;=4^T84.020A
 ;;^UTILITY(U,$J,358.3,33805,2)
 ;;=^5055121
 ;;^UTILITY(U,$J,358.3,33806,0)
 ;;=T84.020D^^132^1711^10
 ;;^UTILITY(U,$J,358.3,33806,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33806,1,3,0)
 ;;=3^Dislocation of internal right hip prosthesis, subs encntr
 ;;^UTILITY(U,$J,358.3,33806,1,4,0)
 ;;=4^T84.020D
 ;;^UTILITY(U,$J,358.3,33806,2)
 ;;=^5055122
 ;;^UTILITY(U,$J,358.3,33807,0)
 ;;=M75.02^^132^1712^1
 ;;^UTILITY(U,$J,358.3,33807,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33807,1,3,0)
 ;;=3^Adhesive capsulitis of left shoulder
 ;;^UTILITY(U,$J,358.3,33807,1,4,0)
 ;;=4^M75.02
 ;;^UTILITY(U,$J,358.3,33807,2)
 ;;=^5013240
 ;;^UTILITY(U,$J,358.3,33808,0)
 ;;=M75.01^^132^1712^2
 ;;^UTILITY(U,$J,358.3,33808,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33808,1,3,0)
 ;;=3^Adhesive capsulitis of right shoulder
 ;;^UTILITY(U,$J,358.3,33808,1,4,0)
 ;;=4^M75.01
 ;;^UTILITY(U,$J,358.3,33808,2)
 ;;=^5013239
 ;;^UTILITY(U,$J,358.3,33809,0)
 ;;=M00.812^^132^1712^3
 ;;^UTILITY(U,$J,358.3,33809,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33809,1,3,0)
 ;;=3^Arthritis d/t other bacteria, left shoulder
 ;;^UTILITY(U,$J,358.3,33809,1,4,0)
 ;;=4^M00.812
 ;;^UTILITY(U,$J,358.3,33809,2)
 ;;=^5009671
 ;;^UTILITY(U,$J,358.3,33810,0)
 ;;=M00.811^^132^1712^4
 ;;^UTILITY(U,$J,358.3,33810,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33810,1,3,0)
 ;;=3^Arthritis d/t other bacteria, right shoulder
 ;;^UTILITY(U,$J,358.3,33810,1,4,0)
 ;;=4^M00.811
 ;;^UTILITY(U,$J,358.3,33810,2)
 ;;=^5009670
 ;;^UTILITY(U,$J,358.3,33811,0)
 ;;=M75.22^^132^1712^5
 ;;^UTILITY(U,$J,358.3,33811,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33811,1,3,0)
 ;;=3^Bicipital tendinitis, left shoulder
 ;;^UTILITY(U,$J,358.3,33811,1,4,0)
 ;;=4^M75.22
 ;;^UTILITY(U,$J,358.3,33811,2)
 ;;=^5013252
 ;;^UTILITY(U,$J,358.3,33812,0)
 ;;=M75.21^^132^1712^6
 ;;^UTILITY(U,$J,358.3,33812,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33812,1,3,0)
 ;;=3^Bicipital tendinitis, right shoulder
 ;;^UTILITY(U,$J,358.3,33812,1,4,0)
 ;;=4^M75.21
 ;;^UTILITY(U,$J,358.3,33812,2)
 ;;=^5013251
 ;;^UTILITY(U,$J,358.3,33813,0)
 ;;=M75.52^^132^1712^7
 ;;^UTILITY(U,$J,358.3,33813,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33813,1,3,0)
 ;;=3^Bursitis of left shoulder
 ;;^UTILITY(U,$J,358.3,33813,1,4,0)
 ;;=4^M75.52
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI248   3744     printed  Sep 23, 2025@19:57:29                                                                                                                                                                                                    Page 2
IBDEI248  ; ; 04-FEB-2020
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
 +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,33802,0)
 +2       ;;=S73.014D^^132^1711^41
 +3       ;;^UTILITY(U,$J,358.3,33802,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,33802,1,3,0)
 +6       ;;=3^Posterior dislocation of right hip, subsequent encounter
 +7       ;;^UTILITY(U,$J,358.3,33802,1,4,0)
 +8       ;;=4^S73.014D
 +9       ;;^UTILITY(U,$J,358.3,33802,2)
 +10      ;;=^5039247
 +11      ;;^UTILITY(U,$J,358.3,33803,0)
 +12      ;;=M25.451^^132^1711^20
 +13      ;;^UTILITY(U,$J,358.3,33803,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,33803,1,3,0)
 +16      ;;=3^Effusion, right hip
 +17      ;;^UTILITY(U,$J,358.3,33803,1,4,0)
 +18      ;;=4^M25.451
 +19      ;;^UTILITY(U,$J,358.3,33803,2)
 +20      ;;=^5011588
 +21      ;;^UTILITY(U,$J,358.3,33804,0)
 +22      ;;=M25.452^^132^1711^19
 +23      ;;^UTILITY(U,$J,358.3,33804,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,33804,1,3,0)
 +26      ;;=3^Effusion, left hip
 +27      ;;^UTILITY(U,$J,358.3,33804,1,4,0)
 +28      ;;=4^M25.452
 +29      ;;^UTILITY(U,$J,358.3,33804,2)
 +30      ;;=^5011589
 +31      ;;^UTILITY(U,$J,358.3,33805,0)
 +32      ;;=T84.020A^^132^1711^9
 +33      ;;^UTILITY(U,$J,358.3,33805,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,33805,1,3,0)
 +36      ;;=3^Dislocation of internal right hip prosthesis, init encntr
 +37      ;;^UTILITY(U,$J,358.3,33805,1,4,0)
 +38      ;;=4^T84.020A
 +39      ;;^UTILITY(U,$J,358.3,33805,2)
 +40      ;;=^5055121
 +41      ;;^UTILITY(U,$J,358.3,33806,0)
 +42      ;;=T84.020D^^132^1711^10
 +43      ;;^UTILITY(U,$J,358.3,33806,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,33806,1,3,0)
 +46      ;;=3^Dislocation of internal right hip prosthesis, subs encntr
 +47      ;;^UTILITY(U,$J,358.3,33806,1,4,0)
 +48      ;;=4^T84.020D
 +49      ;;^UTILITY(U,$J,358.3,33806,2)
 +50      ;;=^5055122
 +51      ;;^UTILITY(U,$J,358.3,33807,0)
 +52      ;;=M75.02^^132^1712^1
 +53      ;;^UTILITY(U,$J,358.3,33807,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,33807,1,3,0)
 +56      ;;=3^Adhesive capsulitis of left shoulder
 +57      ;;^UTILITY(U,$J,358.3,33807,1,4,0)
 +58      ;;=4^M75.02
 +59      ;;^UTILITY(U,$J,358.3,33807,2)
 +60      ;;=^5013240
 +61      ;;^UTILITY(U,$J,358.3,33808,0)
 +62      ;;=M75.01^^132^1712^2
 +63      ;;^UTILITY(U,$J,358.3,33808,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,33808,1,3,0)
 +66      ;;=3^Adhesive capsulitis of right shoulder
 +67      ;;^UTILITY(U,$J,358.3,33808,1,4,0)
 +68      ;;=4^M75.01
 +69      ;;^UTILITY(U,$J,358.3,33808,2)
 +70      ;;=^5013239
 +71      ;;^UTILITY(U,$J,358.3,33809,0)
 +72      ;;=M00.812^^132^1712^3
 +73      ;;^UTILITY(U,$J,358.3,33809,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,33809,1,3,0)
 +76      ;;=3^Arthritis d/t other bacteria, left shoulder
 +77      ;;^UTILITY(U,$J,358.3,33809,1,4,0)
 +78      ;;=4^M00.812
 +79      ;;^UTILITY(U,$J,358.3,33809,2)
 +80      ;;=^5009671
 +81      ;;^UTILITY(U,$J,358.3,33810,0)
 +82      ;;=M00.811^^132^1712^4
 +83      ;;^UTILITY(U,$J,358.3,33810,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,33810,1,3,0)
 +86      ;;=3^Arthritis d/t other bacteria, right shoulder
 +87      ;;^UTILITY(U,$J,358.3,33810,1,4,0)
 +88      ;;=4^M00.811
 +89      ;;^UTILITY(U,$J,358.3,33810,2)
 +90      ;;=^5009670
 +91      ;;^UTILITY(U,$J,358.3,33811,0)
 +92      ;;=M75.22^^132^1712^5
 +93      ;;^UTILITY(U,$J,358.3,33811,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,33811,1,3,0)
 +96      ;;=3^Bicipital tendinitis, left shoulder
 +97      ;;^UTILITY(U,$J,358.3,33811,1,4,0)
 +98      ;;=4^M75.22
 +99      ;;^UTILITY(U,$J,358.3,33811,2)
 +100     ;;=^5013252
 +101     ;;^UTILITY(U,$J,358.3,33812,0)
 +102     ;;=M75.21^^132^1712^6
 +103     ;;^UTILITY(U,$J,358.3,33812,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,33812,1,3,0)
 +106     ;;=3^Bicipital tendinitis, right shoulder
 +107     ;;^UTILITY(U,$J,358.3,33812,1,4,0)
 +108     ;;=4^M75.21
 +109     ;;^UTILITY(U,$J,358.3,33812,2)
 +110     ;;=^5013251
 +111     ;;^UTILITY(U,$J,358.3,33813,0)
 +112     ;;=M75.52^^132^1712^7
 +113     ;;^UTILITY(U,$J,358.3,33813,1,0)
 +114     ;;=^358.31IA^4^2
 +115     ;;^UTILITY(U,$J,358.3,33813,1,3,0)
 +116     ;;=3^Bursitis of left shoulder
 +117     ;;^UTILITY(U,$J,358.3,33813,1,4,0)
 +118     ;;=4^M75.52