IBDEI0VN ; ; 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,14266,2)
 ;;=^5010808
 ;;^UTILITY(U,$J,358.3,14267,0)
 ;;=M24.412^^55^674^43
 ;;^UTILITY(U,$J,358.3,14267,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14267,1,3,0)
 ;;=3^Recurrent dislocation, left shoulder
 ;;^UTILITY(U,$J,358.3,14267,1,4,0)
 ;;=4^M24.412
 ;;^UTILITY(U,$J,358.3,14267,2)
 ;;=^5011372
 ;;^UTILITY(U,$J,358.3,14268,0)
 ;;=M24.411^^55^674^44
 ;;^UTILITY(U,$J,358.3,14268,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14268,1,3,0)
 ;;=3^Recurrent dislocation, right shoulder
 ;;^UTILITY(U,$J,358.3,14268,1,4,0)
 ;;=4^M24.411
 ;;^UTILITY(U,$J,358.3,14268,2)
 ;;=^5011371
 ;;^UTILITY(U,$J,358.3,14269,0)
 ;;=M75.122^^55^674^45
 ;;^UTILITY(U,$J,358.3,14269,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14269,1,3,0)
 ;;=3^Rotatr-cuff tear/ruptr of left shoulder, not trauma, complete
 ;;^UTILITY(U,$J,358.3,14269,1,4,0)
 ;;=4^M75.122
 ;;^UTILITY(U,$J,358.3,14269,2)
 ;;=^5013249
 ;;^UTILITY(U,$J,358.3,14270,0)
 ;;=M75.121^^55^674^46
 ;;^UTILITY(U,$J,358.3,14270,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14270,1,3,0)
 ;;=3^Rotatr-cuff tear/ruptr of r shoulder, not trauma, complete
 ;;^UTILITY(U,$J,358.3,14270,1,4,0)
 ;;=4^M75.121
 ;;^UTILITY(U,$J,358.3,14270,2)
 ;;=^5013248
 ;;^UTILITY(U,$J,358.3,14271,0)
 ;;=M12.512^^55^674^49
 ;;^UTILITY(U,$J,358.3,14271,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14271,1,3,0)
 ;;=3^Traumatic arthropathy, left shoulder
 ;;^UTILITY(U,$J,358.3,14271,1,4,0)
 ;;=4^M12.512
 ;;^UTILITY(U,$J,358.3,14271,2)
 ;;=^5010620
 ;;^UTILITY(U,$J,358.3,14272,0)
 ;;=M12.511^^55^674^50
 ;;^UTILITY(U,$J,358.3,14272,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14272,1,3,0)
 ;;=3^Traumatic arthropathy, right shoulder
 ;;^UTILITY(U,$J,358.3,14272,1,4,0)
 ;;=4^M12.511
 ;;^UTILITY(U,$J,358.3,14272,2)
 ;;=^5010619
 ;;^UTILITY(U,$J,358.3,14273,0)
 ;;=S43.102A^^55^674^17
 ;;^UTILITY(U,$J,358.3,14273,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14273,1,3,0)
 ;;=3^Dislocation of left acromioclavicular joint, init encntr,Unspec
 ;;^UTILITY(U,$J,358.3,14273,1,4,0)
 ;;=4^S43.102A
 ;;^UTILITY(U,$J,358.3,14273,2)
 ;;=^5027732
 ;;^UTILITY(U,$J,358.3,14274,0)
 ;;=S43.005A^^55^674^19
 ;;^UTILITY(U,$J,358.3,14274,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14274,1,3,0)
 ;;=3^Dislocation of left shoulder joint, init encntr,Unspec
 ;;^UTILITY(U,$J,358.3,14274,1,4,0)
 ;;=4^S43.005A
 ;;^UTILITY(U,$J,358.3,14274,2)
 ;;=^5027666
 ;;^UTILITY(U,$J,358.3,14275,0)
 ;;=S43.101A^^55^674^21
 ;;^UTILITY(U,$J,358.3,14275,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14275,1,3,0)
 ;;=3^Dislocation of right acromioclavicular joint, init encntr,Unspec
 ;;^UTILITY(U,$J,358.3,14275,1,4,0)
 ;;=4^S43.101A
 ;;^UTILITY(U,$J,358.3,14275,2)
 ;;=^5027729
 ;;^UTILITY(U,$J,358.3,14276,0)
 ;;=S43.004A^^55^674^23
 ;;^UTILITY(U,$J,358.3,14276,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14276,1,3,0)
 ;;=3^Dislocation of right shoulder joint, init encntr,Unspec
 ;;^UTILITY(U,$J,358.3,14276,1,4,0)
 ;;=4^S43.004A
 ;;^UTILITY(U,$J,358.3,14276,2)
 ;;=^5027663
 ;;^UTILITY(U,$J,358.3,14277,0)
 ;;=S40.012D^^55^674^14
 ;;^UTILITY(U,$J,358.3,14277,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14277,1,3,0)
 ;;=3^Contusion of left shoulder, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14277,1,4,0)
 ;;=4^S40.012D
 ;;^UTILITY(U,$J,358.3,14277,2)
 ;;=^5026157
 ;;^UTILITY(U,$J,358.3,14278,0)
 ;;=S40.011D^^55^674^16
 ;;^UTILITY(U,$J,358.3,14278,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VN   3779     printed  Sep 23, 2025@19:32:38                                                                                                                                                                                                    Page 2
IBDEI0VN  ; ; 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,14266,2)
 +2       ;;=^5010808
 +3       ;;^UTILITY(U,$J,358.3,14267,0)
 +4       ;;=M24.412^^55^674^43
 +5       ;;^UTILITY(U,$J,358.3,14267,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,14267,1,3,0)
 +8       ;;=3^Recurrent dislocation, left shoulder
 +9       ;;^UTILITY(U,$J,358.3,14267,1,4,0)
 +10      ;;=4^M24.412
 +11      ;;^UTILITY(U,$J,358.3,14267,2)
 +12      ;;=^5011372
 +13      ;;^UTILITY(U,$J,358.3,14268,0)
 +14      ;;=M24.411^^55^674^44
 +15      ;;^UTILITY(U,$J,358.3,14268,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,14268,1,3,0)
 +18      ;;=3^Recurrent dislocation, right shoulder
 +19      ;;^UTILITY(U,$J,358.3,14268,1,4,0)
 +20      ;;=4^M24.411
 +21      ;;^UTILITY(U,$J,358.3,14268,2)
 +22      ;;=^5011371
 +23      ;;^UTILITY(U,$J,358.3,14269,0)
 +24      ;;=M75.122^^55^674^45
 +25      ;;^UTILITY(U,$J,358.3,14269,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,14269,1,3,0)
 +28      ;;=3^Rotatr-cuff tear/ruptr of left shoulder, not trauma, complete
 +29      ;;^UTILITY(U,$J,358.3,14269,1,4,0)
 +30      ;;=4^M75.122
 +31      ;;^UTILITY(U,$J,358.3,14269,2)
 +32      ;;=^5013249
 +33      ;;^UTILITY(U,$J,358.3,14270,0)
 +34      ;;=M75.121^^55^674^46
 +35      ;;^UTILITY(U,$J,358.3,14270,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,14270,1,3,0)
 +38      ;;=3^Rotatr-cuff tear/ruptr of r shoulder, not trauma, complete
 +39      ;;^UTILITY(U,$J,358.3,14270,1,4,0)
 +40      ;;=4^M75.121
 +41      ;;^UTILITY(U,$J,358.3,14270,2)
 +42      ;;=^5013248
 +43      ;;^UTILITY(U,$J,358.3,14271,0)
 +44      ;;=M12.512^^55^674^49
 +45      ;;^UTILITY(U,$J,358.3,14271,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,14271,1,3,0)
 +48      ;;=3^Traumatic arthropathy, left shoulder
 +49      ;;^UTILITY(U,$J,358.3,14271,1,4,0)
 +50      ;;=4^M12.512
 +51      ;;^UTILITY(U,$J,358.3,14271,2)
 +52      ;;=^5010620
 +53      ;;^UTILITY(U,$J,358.3,14272,0)
 +54      ;;=M12.511^^55^674^50
 +55      ;;^UTILITY(U,$J,358.3,14272,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,14272,1,3,0)
 +58      ;;=3^Traumatic arthropathy, right shoulder
 +59      ;;^UTILITY(U,$J,358.3,14272,1,4,0)
 +60      ;;=4^M12.511
 +61      ;;^UTILITY(U,$J,358.3,14272,2)
 +62      ;;=^5010619
 +63      ;;^UTILITY(U,$J,358.3,14273,0)
 +64      ;;=S43.102A^^55^674^17
 +65      ;;^UTILITY(U,$J,358.3,14273,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,14273,1,3,0)
 +68      ;;=3^Dislocation of left acromioclavicular joint, init encntr,Unspec
 +69      ;;^UTILITY(U,$J,358.3,14273,1,4,0)
 +70      ;;=4^S43.102A
 +71      ;;^UTILITY(U,$J,358.3,14273,2)
 +72      ;;=^5027732
 +73      ;;^UTILITY(U,$J,358.3,14274,0)
 +74      ;;=S43.005A^^55^674^19
 +75      ;;^UTILITY(U,$J,358.3,14274,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,14274,1,3,0)
 +78      ;;=3^Dislocation of left shoulder joint, init encntr,Unspec
 +79      ;;^UTILITY(U,$J,358.3,14274,1,4,0)
 +80      ;;=4^S43.005A
 +81      ;;^UTILITY(U,$J,358.3,14274,2)
 +82      ;;=^5027666
 +83      ;;^UTILITY(U,$J,358.3,14275,0)
 +84      ;;=S43.101A^^55^674^21
 +85      ;;^UTILITY(U,$J,358.3,14275,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,14275,1,3,0)
 +88      ;;=3^Dislocation of right acromioclavicular joint, init encntr,Unspec
 +89      ;;^UTILITY(U,$J,358.3,14275,1,4,0)
 +90      ;;=4^S43.101A
 +91      ;;^UTILITY(U,$J,358.3,14275,2)
 +92      ;;=^5027729
 +93      ;;^UTILITY(U,$J,358.3,14276,0)
 +94      ;;=S43.004A^^55^674^23
 +95      ;;^UTILITY(U,$J,358.3,14276,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,14276,1,3,0)
 +98      ;;=3^Dislocation of right shoulder joint, init encntr,Unspec
 +99      ;;^UTILITY(U,$J,358.3,14276,1,4,0)
 +100     ;;=4^S43.004A
 +101     ;;^UTILITY(U,$J,358.3,14276,2)
 +102     ;;=^5027663
 +103     ;;^UTILITY(U,$J,358.3,14277,0)
 +104     ;;=S40.012D^^55^674^14
 +105     ;;^UTILITY(U,$J,358.3,14277,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,14277,1,3,0)
 +108     ;;=3^Contusion of left shoulder, subsequent encounter
 +109     ;;^UTILITY(U,$J,358.3,14277,1,4,0)
 +110     ;;=4^S40.012D
 +111     ;;^UTILITY(U,$J,358.3,14277,2)
 +112     ;;=^5026157
 +113     ;;^UTILITY(U,$J,358.3,14278,0)
 +114     ;;=S40.011D^^55^674^16
 +115     ;;^UTILITY(U,$J,358.3,14278,1,0)
 +116     ;;=^358.31IA^4^2