IBDEI0VL ; ; 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,14243,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14243,1,3,0)
 ;;=3^Arthritis d/t other bacteria, left shoulder
 ;;^UTILITY(U,$J,358.3,14243,1,4,0)
 ;;=4^M00.812
 ;;^UTILITY(U,$J,358.3,14243,2)
 ;;=^5009671
 ;;^UTILITY(U,$J,358.3,14244,0)
 ;;=M00.811^^55^674^4
 ;;^UTILITY(U,$J,358.3,14244,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14244,1,3,0)
 ;;=3^Arthritis d/t other bacteria, right shoulder
 ;;^UTILITY(U,$J,358.3,14244,1,4,0)
 ;;=4^M00.811
 ;;^UTILITY(U,$J,358.3,14244,2)
 ;;=^5009670
 ;;^UTILITY(U,$J,358.3,14245,0)
 ;;=M75.22^^55^674^5
 ;;^UTILITY(U,$J,358.3,14245,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14245,1,3,0)
 ;;=3^Bicipital tendinitis, left shoulder
 ;;^UTILITY(U,$J,358.3,14245,1,4,0)
 ;;=4^M75.22
 ;;^UTILITY(U,$J,358.3,14245,2)
 ;;=^5013252
 ;;^UTILITY(U,$J,358.3,14246,0)
 ;;=M75.21^^55^674^6
 ;;^UTILITY(U,$J,358.3,14246,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14246,1,3,0)
 ;;=3^Bicipital tendinitis, right shoulder
 ;;^UTILITY(U,$J,358.3,14246,1,4,0)
 ;;=4^M75.21
 ;;^UTILITY(U,$J,358.3,14246,2)
 ;;=^5013251
 ;;^UTILITY(U,$J,358.3,14247,0)
 ;;=M75.52^^55^674^7
 ;;^UTILITY(U,$J,358.3,14247,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14247,1,3,0)
 ;;=3^Bursitis of left shoulder
 ;;^UTILITY(U,$J,358.3,14247,1,4,0)
 ;;=4^M75.52
 ;;^UTILITY(U,$J,358.3,14247,2)
 ;;=^5133691
 ;;^UTILITY(U,$J,358.3,14248,0)
 ;;=M75.51^^55^674^8
 ;;^UTILITY(U,$J,358.3,14248,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14248,1,3,0)
 ;;=3^Bursitis of right shoulder
 ;;^UTILITY(U,$J,358.3,14248,1,4,0)
 ;;=4^M75.51
 ;;^UTILITY(U,$J,358.3,14248,2)
 ;;=^5133690
 ;;^UTILITY(U,$J,358.3,14249,0)
 ;;=M75.32^^55^674^9
 ;;^UTILITY(U,$J,358.3,14249,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14249,1,3,0)
 ;;=3^Calcific tendinitis of left shoulder
 ;;^UTILITY(U,$J,358.3,14249,1,4,0)
 ;;=4^M75.32
 ;;^UTILITY(U,$J,358.3,14249,2)
 ;;=^5013255
 ;;^UTILITY(U,$J,358.3,14250,0)
 ;;=M75.31^^55^674^10
 ;;^UTILITY(U,$J,358.3,14250,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14250,1,3,0)
 ;;=3^Calcific tendinitis of right shoulder
 ;;^UTILITY(U,$J,358.3,14250,1,4,0)
 ;;=4^M75.31
 ;;^UTILITY(U,$J,358.3,14250,2)
 ;;=^5013254
 ;;^UTILITY(U,$J,358.3,14251,0)
 ;;=M75.122^^55^674^11
 ;;^UTILITY(U,$J,358.3,14251,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14251,1,3,0)
 ;;=3^Complete rotatr-cuff tear/ruptr of left shoulder, not trauma
 ;;^UTILITY(U,$J,358.3,14251,1,4,0)
 ;;=4^M75.122
 ;;^UTILITY(U,$J,358.3,14251,2)
 ;;=^5013249
 ;;^UTILITY(U,$J,358.3,14252,0)
 ;;=M75.121^^55^674^12
 ;;^UTILITY(U,$J,358.3,14252,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14252,1,3,0)
 ;;=3^Complete rotatr-cuff tear/ruptr of r shoulder, not trauma
 ;;^UTILITY(U,$J,358.3,14252,1,4,0)
 ;;=4^M75.121
 ;;^UTILITY(U,$J,358.3,14252,2)
 ;;=^5013248
 ;;^UTILITY(U,$J,358.3,14253,0)
 ;;=S40.012A^^55^674^13
 ;;^UTILITY(U,$J,358.3,14253,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14253,1,3,0)
 ;;=3^Contusion of left shoulder, initial encounter
 ;;^UTILITY(U,$J,358.3,14253,1,4,0)
 ;;=4^S40.012A
 ;;^UTILITY(U,$J,358.3,14253,2)
 ;;=^5026156
 ;;^UTILITY(U,$J,358.3,14254,0)
 ;;=S40.011A^^55^674^15
 ;;^UTILITY(U,$J,358.3,14254,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14254,1,3,0)
 ;;=3^Contusion of right shoulder, initial encounter
 ;;^UTILITY(U,$J,358.3,14254,1,4,0)
 ;;=4^S40.011A
 ;;^UTILITY(U,$J,358.3,14254,2)
 ;;=^5026153
 ;;^UTILITY(U,$J,358.3,14255,0)
 ;;=S42.002A^^55^674^25
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VL   3793     printed  Sep 23, 2025@19:32:37                                                                                                                                                                                                    Page 2
IBDEI0VL  ; ; 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,14243,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,14243,1,3,0)
 +4       ;;=3^Arthritis d/t other bacteria, left shoulder
 +5       ;;^UTILITY(U,$J,358.3,14243,1,4,0)
 +6       ;;=4^M00.812
 +7       ;;^UTILITY(U,$J,358.3,14243,2)
 +8       ;;=^5009671
 +9       ;;^UTILITY(U,$J,358.3,14244,0)
 +10      ;;=M00.811^^55^674^4
 +11      ;;^UTILITY(U,$J,358.3,14244,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,14244,1,3,0)
 +14      ;;=3^Arthritis d/t other bacteria, right shoulder
 +15      ;;^UTILITY(U,$J,358.3,14244,1,4,0)
 +16      ;;=4^M00.811
 +17      ;;^UTILITY(U,$J,358.3,14244,2)
 +18      ;;=^5009670
 +19      ;;^UTILITY(U,$J,358.3,14245,0)
 +20      ;;=M75.22^^55^674^5
 +21      ;;^UTILITY(U,$J,358.3,14245,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,14245,1,3,0)
 +24      ;;=3^Bicipital tendinitis, left shoulder
 +25      ;;^UTILITY(U,$J,358.3,14245,1,4,0)
 +26      ;;=4^M75.22
 +27      ;;^UTILITY(U,$J,358.3,14245,2)
 +28      ;;=^5013252
 +29      ;;^UTILITY(U,$J,358.3,14246,0)
 +30      ;;=M75.21^^55^674^6
 +31      ;;^UTILITY(U,$J,358.3,14246,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,14246,1,3,0)
 +34      ;;=3^Bicipital tendinitis, right shoulder
 +35      ;;^UTILITY(U,$J,358.3,14246,1,4,0)
 +36      ;;=4^M75.21
 +37      ;;^UTILITY(U,$J,358.3,14246,2)
 +38      ;;=^5013251
 +39      ;;^UTILITY(U,$J,358.3,14247,0)
 +40      ;;=M75.52^^55^674^7
 +41      ;;^UTILITY(U,$J,358.3,14247,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,14247,1,3,0)
 +44      ;;=3^Bursitis of left shoulder
 +45      ;;^UTILITY(U,$J,358.3,14247,1,4,0)
 +46      ;;=4^M75.52
 +47      ;;^UTILITY(U,$J,358.3,14247,2)
 +48      ;;=^5133691
 +49      ;;^UTILITY(U,$J,358.3,14248,0)
 +50      ;;=M75.51^^55^674^8
 +51      ;;^UTILITY(U,$J,358.3,14248,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,14248,1,3,0)
 +54      ;;=3^Bursitis of right shoulder
 +55      ;;^UTILITY(U,$J,358.3,14248,1,4,0)
 +56      ;;=4^M75.51
 +57      ;;^UTILITY(U,$J,358.3,14248,2)
 +58      ;;=^5133690
 +59      ;;^UTILITY(U,$J,358.3,14249,0)
 +60      ;;=M75.32^^55^674^9
 +61      ;;^UTILITY(U,$J,358.3,14249,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,14249,1,3,0)
 +64      ;;=3^Calcific tendinitis of left shoulder
 +65      ;;^UTILITY(U,$J,358.3,14249,1,4,0)
 +66      ;;=4^M75.32
 +67      ;;^UTILITY(U,$J,358.3,14249,2)
 +68      ;;=^5013255
 +69      ;;^UTILITY(U,$J,358.3,14250,0)
 +70      ;;=M75.31^^55^674^10
 +71      ;;^UTILITY(U,$J,358.3,14250,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,14250,1,3,0)
 +74      ;;=3^Calcific tendinitis of right shoulder
 +75      ;;^UTILITY(U,$J,358.3,14250,1,4,0)
 +76      ;;=4^M75.31
 +77      ;;^UTILITY(U,$J,358.3,14250,2)
 +78      ;;=^5013254
 +79      ;;^UTILITY(U,$J,358.3,14251,0)
 +80      ;;=M75.122^^55^674^11
 +81      ;;^UTILITY(U,$J,358.3,14251,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,14251,1,3,0)
 +84      ;;=3^Complete rotatr-cuff tear/ruptr of left shoulder, not trauma
 +85      ;;^UTILITY(U,$J,358.3,14251,1,4,0)
 +86      ;;=4^M75.122
 +87      ;;^UTILITY(U,$J,358.3,14251,2)
 +88      ;;=^5013249
 +89      ;;^UTILITY(U,$J,358.3,14252,0)
 +90      ;;=M75.121^^55^674^12
 +91      ;;^UTILITY(U,$J,358.3,14252,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,14252,1,3,0)
 +94      ;;=3^Complete rotatr-cuff tear/ruptr of r shoulder, not trauma
 +95      ;;^UTILITY(U,$J,358.3,14252,1,4,0)
 +96      ;;=4^M75.121
 +97      ;;^UTILITY(U,$J,358.3,14252,2)
 +98      ;;=^5013248
 +99      ;;^UTILITY(U,$J,358.3,14253,0)
 +100     ;;=S40.012A^^55^674^13
 +101     ;;^UTILITY(U,$J,358.3,14253,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,14253,1,3,0)
 +104     ;;=3^Contusion of left shoulder, initial encounter
 +105     ;;^UTILITY(U,$J,358.3,14253,1,4,0)
 +106     ;;=4^S40.012A
 +107     ;;^UTILITY(U,$J,358.3,14253,2)
 +108     ;;=^5026156
 +109     ;;^UTILITY(U,$J,358.3,14254,0)
 +110     ;;=S40.011A^^55^674^15
 +111     ;;^UTILITY(U,$J,358.3,14254,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,14254,1,3,0)
 +114     ;;=3^Contusion of right shoulder, initial encounter
 +115     ;;^UTILITY(U,$J,358.3,14254,1,4,0)
 +116     ;;=4^S40.011A
 +117     ;;^UTILITY(U,$J,358.3,14254,2)
 +118     ;;=^5026153
 +119     ;;^UTILITY(U,$J,358.3,14255,0)
 +120     ;;=S42.002A^^55^674^25