IBDEI249 ; ; 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,33813,2)
 ;;=^5133691
 ;;^UTILITY(U,$J,358.3,33814,0)
 ;;=M75.51^^132^1712^8
 ;;^UTILITY(U,$J,358.3,33814,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33814,1,3,0)
 ;;=3^Bursitis of right shoulder
 ;;^UTILITY(U,$J,358.3,33814,1,4,0)
 ;;=4^M75.51
 ;;^UTILITY(U,$J,358.3,33814,2)
 ;;=^5133690
 ;;^UTILITY(U,$J,358.3,33815,0)
 ;;=M75.32^^132^1712^9
 ;;^UTILITY(U,$J,358.3,33815,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33815,1,3,0)
 ;;=3^Calcific tendinitis of left shoulder
 ;;^UTILITY(U,$J,358.3,33815,1,4,0)
 ;;=4^M75.32
 ;;^UTILITY(U,$J,358.3,33815,2)
 ;;=^5013255
 ;;^UTILITY(U,$J,358.3,33816,0)
 ;;=M75.31^^132^1712^10
 ;;^UTILITY(U,$J,358.3,33816,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33816,1,3,0)
 ;;=3^Calcific tendinitis of right shoulder
 ;;^UTILITY(U,$J,358.3,33816,1,4,0)
 ;;=4^M75.31
 ;;^UTILITY(U,$J,358.3,33816,2)
 ;;=^5013254
 ;;^UTILITY(U,$J,358.3,33817,0)
 ;;=M75.122^^132^1712^11
 ;;^UTILITY(U,$J,358.3,33817,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33817,1,3,0)
 ;;=3^Complete rotatr-cuff tear/ruptr of left shoulder, not trauma
 ;;^UTILITY(U,$J,358.3,33817,1,4,0)
 ;;=4^M75.122
 ;;^UTILITY(U,$J,358.3,33817,2)
 ;;=^5013249
 ;;^UTILITY(U,$J,358.3,33818,0)
 ;;=M75.121^^132^1712^12
 ;;^UTILITY(U,$J,358.3,33818,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33818,1,3,0)
 ;;=3^Complete rotatr-cuff tear/ruptr of r shoulder, not trauma
 ;;^UTILITY(U,$J,358.3,33818,1,4,0)
 ;;=4^M75.121
 ;;^UTILITY(U,$J,358.3,33818,2)
 ;;=^5013248
 ;;^UTILITY(U,$J,358.3,33819,0)
 ;;=S40.012A^^132^1712^13
 ;;^UTILITY(U,$J,358.3,33819,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33819,1,3,0)
 ;;=3^Contusion of left shoulder, initial encounter
 ;;^UTILITY(U,$J,358.3,33819,1,4,0)
 ;;=4^S40.012A
 ;;^UTILITY(U,$J,358.3,33819,2)
 ;;=^5026156
 ;;^UTILITY(U,$J,358.3,33820,0)
 ;;=S40.011A^^132^1712^15
 ;;^UTILITY(U,$J,358.3,33820,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33820,1,3,0)
 ;;=3^Contusion of right shoulder, initial encounter
 ;;^UTILITY(U,$J,358.3,33820,1,4,0)
 ;;=4^S40.011A
 ;;^UTILITY(U,$J,358.3,33820,2)
 ;;=^5026153
 ;;^UTILITY(U,$J,358.3,33821,0)
 ;;=S42.002A^^132^1712^25
 ;;^UTILITY(U,$J,358.3,33821,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33821,1,3,0)
 ;;=3^Fracture of unsp part of left clavicle, init for clos fx
 ;;^UTILITY(U,$J,358.3,33821,1,4,0)
 ;;=4^S42.002A
 ;;^UTILITY(U,$J,358.3,33821,2)
 ;;=^5026376
 ;;^UTILITY(U,$J,358.3,33822,0)
 ;;=S42.001A^^132^1712^26
 ;;^UTILITY(U,$J,358.3,33822,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33822,1,3,0)
 ;;=3^Fracture of unsp part of right clavicle, init for clos fx
 ;;^UTILITY(U,$J,358.3,33822,1,4,0)
 ;;=4^S42.001A
 ;;^UTILITY(U,$J,358.3,33822,2)
 ;;=^5026369
 ;;^UTILITY(U,$J,358.3,33823,0)
 ;;=M75.42^^132^1712^29
 ;;^UTILITY(U,$J,358.3,33823,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33823,1,3,0)
 ;;=3^Impingement syndrome of left shoulder
 ;;^UTILITY(U,$J,358.3,33823,1,4,0)
 ;;=4^M75.42
 ;;^UTILITY(U,$J,358.3,33823,2)
 ;;=^5013258
 ;;^UTILITY(U,$J,358.3,33824,0)
 ;;=M75.41^^132^1712^30
 ;;^UTILITY(U,$J,358.3,33824,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33824,1,3,0)
 ;;=3^Impingement syndrome of right shoulder
 ;;^UTILITY(U,$J,358.3,33824,1,4,0)
 ;;=4^M75.41
 ;;^UTILITY(U,$J,358.3,33824,2)
 ;;=^5013257
 ;;^UTILITY(U,$J,358.3,33825,0)
 ;;=M75.112^^132^1712^31
 ;;^UTILITY(U,$J,358.3,33825,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33825,1,3,0)
 ;;=3^Incomplete rotatr-cuff tear/ruptr of l shoulder, not trauma
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI249   3838     printed  Sep 23, 2025@19:57:29                                                                                                                                                                                                    Page 2
IBDEI249  ; ; 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,33813,2)
 +2       ;;=^5133691
 +3       ;;^UTILITY(U,$J,358.3,33814,0)
 +4       ;;=M75.51^^132^1712^8
 +5       ;;^UTILITY(U,$J,358.3,33814,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,33814,1,3,0)
 +8       ;;=3^Bursitis of right shoulder
 +9       ;;^UTILITY(U,$J,358.3,33814,1,4,0)
 +10      ;;=4^M75.51
 +11      ;;^UTILITY(U,$J,358.3,33814,2)
 +12      ;;=^5133690
 +13      ;;^UTILITY(U,$J,358.3,33815,0)
 +14      ;;=M75.32^^132^1712^9
 +15      ;;^UTILITY(U,$J,358.3,33815,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,33815,1,3,0)
 +18      ;;=3^Calcific tendinitis of left shoulder
 +19      ;;^UTILITY(U,$J,358.3,33815,1,4,0)
 +20      ;;=4^M75.32
 +21      ;;^UTILITY(U,$J,358.3,33815,2)
 +22      ;;=^5013255
 +23      ;;^UTILITY(U,$J,358.3,33816,0)
 +24      ;;=M75.31^^132^1712^10
 +25      ;;^UTILITY(U,$J,358.3,33816,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,33816,1,3,0)
 +28      ;;=3^Calcific tendinitis of right shoulder
 +29      ;;^UTILITY(U,$J,358.3,33816,1,4,0)
 +30      ;;=4^M75.31
 +31      ;;^UTILITY(U,$J,358.3,33816,2)
 +32      ;;=^5013254
 +33      ;;^UTILITY(U,$J,358.3,33817,0)
 +34      ;;=M75.122^^132^1712^11
 +35      ;;^UTILITY(U,$J,358.3,33817,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,33817,1,3,0)
 +38      ;;=3^Complete rotatr-cuff tear/ruptr of left shoulder, not trauma
 +39      ;;^UTILITY(U,$J,358.3,33817,1,4,0)
 +40      ;;=4^M75.122
 +41      ;;^UTILITY(U,$J,358.3,33817,2)
 +42      ;;=^5013249
 +43      ;;^UTILITY(U,$J,358.3,33818,0)
 +44      ;;=M75.121^^132^1712^12
 +45      ;;^UTILITY(U,$J,358.3,33818,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,33818,1,3,0)
 +48      ;;=3^Complete rotatr-cuff tear/ruptr of r shoulder, not trauma
 +49      ;;^UTILITY(U,$J,358.3,33818,1,4,0)
 +50      ;;=4^M75.121
 +51      ;;^UTILITY(U,$J,358.3,33818,2)
 +52      ;;=^5013248
 +53      ;;^UTILITY(U,$J,358.3,33819,0)
 +54      ;;=S40.012A^^132^1712^13
 +55      ;;^UTILITY(U,$J,358.3,33819,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,33819,1,3,0)
 +58      ;;=3^Contusion of left shoulder, initial encounter
 +59      ;;^UTILITY(U,$J,358.3,33819,1,4,0)
 +60      ;;=4^S40.012A
 +61      ;;^UTILITY(U,$J,358.3,33819,2)
 +62      ;;=^5026156
 +63      ;;^UTILITY(U,$J,358.3,33820,0)
 +64      ;;=S40.011A^^132^1712^15
 +65      ;;^UTILITY(U,$J,358.3,33820,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,33820,1,3,0)
 +68      ;;=3^Contusion of right shoulder, initial encounter
 +69      ;;^UTILITY(U,$J,358.3,33820,1,4,0)
 +70      ;;=4^S40.011A
 +71      ;;^UTILITY(U,$J,358.3,33820,2)
 +72      ;;=^5026153
 +73      ;;^UTILITY(U,$J,358.3,33821,0)
 +74      ;;=S42.002A^^132^1712^25
 +75      ;;^UTILITY(U,$J,358.3,33821,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,33821,1,3,0)
 +78      ;;=3^Fracture of unsp part of left clavicle, init for clos fx
 +79      ;;^UTILITY(U,$J,358.3,33821,1,4,0)
 +80      ;;=4^S42.002A
 +81      ;;^UTILITY(U,$J,358.3,33821,2)
 +82      ;;=^5026376
 +83      ;;^UTILITY(U,$J,358.3,33822,0)
 +84      ;;=S42.001A^^132^1712^26
 +85      ;;^UTILITY(U,$J,358.3,33822,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,33822,1,3,0)
 +88      ;;=3^Fracture of unsp part of right clavicle, init for clos fx
 +89      ;;^UTILITY(U,$J,358.3,33822,1,4,0)
 +90      ;;=4^S42.001A
 +91      ;;^UTILITY(U,$J,358.3,33822,2)
 +92      ;;=^5026369
 +93      ;;^UTILITY(U,$J,358.3,33823,0)
 +94      ;;=M75.42^^132^1712^29
 +95      ;;^UTILITY(U,$J,358.3,33823,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,33823,1,3,0)
 +98      ;;=3^Impingement syndrome of left shoulder
 +99      ;;^UTILITY(U,$J,358.3,33823,1,4,0)
 +100     ;;=4^M75.42
 +101     ;;^UTILITY(U,$J,358.3,33823,2)
 +102     ;;=^5013258
 +103     ;;^UTILITY(U,$J,358.3,33824,0)
 +104     ;;=M75.41^^132^1712^30
 +105     ;;^UTILITY(U,$J,358.3,33824,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,33824,1,3,0)
 +108     ;;=3^Impingement syndrome of right shoulder
 +109     ;;^UTILITY(U,$J,358.3,33824,1,4,0)
 +110     ;;=4^M75.41
 +111     ;;^UTILITY(U,$J,358.3,33824,2)
 +112     ;;=^5013257
 +113     ;;^UTILITY(U,$J,358.3,33825,0)
 +114     ;;=M75.112^^132^1712^31
 +115     ;;^UTILITY(U,$J,358.3,33825,1,0)
 +116     ;;=^358.31IA^4^2
 +117     ;;^UTILITY(U,$J,358.3,33825,1,3,0)
 +118     ;;=3^Incomplete rotatr-cuff tear/ruptr of l shoulder, not trauma