IBDEI2M4 ; ; 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,41719,1,4,0)
 ;;=4^T84.85XS
 ;;^UTILITY(U,$J,358.3,41719,2)
 ;;=^5055468
 ;;^UTILITY(U,$J,358.3,41720,0)
 ;;=T84.86XA^^155^2063^20
 ;;^UTILITY(U,$J,358.3,41720,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41720,1,3,0)
 ;;=3^Thrombosis due to internal orthopedic prosth dev/grft, init
 ;;^UTILITY(U,$J,358.3,41720,1,4,0)
 ;;=4^T84.86XA
 ;;^UTILITY(U,$J,358.3,41720,2)
 ;;=^5055469
 ;;^UTILITY(U,$J,358.3,41721,0)
 ;;=T84.86XD^^155^2063^21
 ;;^UTILITY(U,$J,358.3,41721,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41721,1,3,0)
 ;;=3^Thrombosis due to internal orthopedic prosth dev/grft, subs
 ;;^UTILITY(U,$J,358.3,41721,1,4,0)
 ;;=4^T84.86XD
 ;;^UTILITY(U,$J,358.3,41721,2)
 ;;=^5055470
 ;;^UTILITY(U,$J,358.3,41722,0)
 ;;=T84.86XS^^155^2063^19
 ;;^UTILITY(U,$J,358.3,41722,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41722,1,3,0)
 ;;=3^Thrombosis due to internal orth prosth dev/grft, sequela
 ;;^UTILITY(U,$J,358.3,41722,1,4,0)
 ;;=4^T84.86XS
 ;;^UTILITY(U,$J,358.3,41722,2)
 ;;=^5055471
 ;;^UTILITY(U,$J,358.3,41723,0)
 ;;=M76.62^^155^2064^1
 ;;^UTILITY(U,$J,358.3,41723,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41723,1,3,0)
 ;;=3^Achilles tendinitis, left leg
 ;;^UTILITY(U,$J,358.3,41723,1,4,0)
 ;;=4^M76.62
 ;;^UTILITY(U,$J,358.3,41723,2)
 ;;=^5013286
 ;;^UTILITY(U,$J,358.3,41724,0)
 ;;=M76.61^^155^2064^2
 ;;^UTILITY(U,$J,358.3,41724,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41724,1,3,0)
 ;;=3^Achilles tendinitis, right leg
 ;;^UTILITY(U,$J,358.3,41724,1,4,0)
 ;;=4^M76.61
 ;;^UTILITY(U,$J,358.3,41724,2)
 ;;=^5013285
 ;;^UTILITY(U,$J,358.3,41725,0)
 ;;=M75.02^^155^2064^3
 ;;^UTILITY(U,$J,358.3,41725,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41725,1,3,0)
 ;;=3^Adhesive capsulitis of left shoulder
 ;;^UTILITY(U,$J,358.3,41725,1,4,0)
 ;;=4^M75.02
 ;;^UTILITY(U,$J,358.3,41725,2)
 ;;=^5013240
 ;;^UTILITY(U,$J,358.3,41726,0)
 ;;=M75.01^^155^2064^4
 ;;^UTILITY(U,$J,358.3,41726,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41726,1,3,0)
 ;;=3^Adhesive capsulitis of right shoulder
 ;;^UTILITY(U,$J,358.3,41726,1,4,0)
 ;;=4^M75.01
 ;;^UTILITY(U,$J,358.3,41726,2)
 ;;=^5013239
 ;;^UTILITY(U,$J,358.3,41727,0)
 ;;=M81.0^^155^2064^5
 ;;^UTILITY(U,$J,358.3,41727,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41727,1,3,0)
 ;;=3^Age-related osteoporosis w/o current pathological fracture
 ;;^UTILITY(U,$J,358.3,41727,1,4,0)
 ;;=4^M81.0
 ;;^UTILITY(U,$J,358.3,41727,2)
 ;;=^5013555
 ;;^UTILITY(U,$J,358.3,41728,0)
 ;;=M75.22^^155^2064^6
 ;;^UTILITY(U,$J,358.3,41728,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41728,1,3,0)
 ;;=3^Bicipital tendinitis, left shoulder
 ;;^UTILITY(U,$J,358.3,41728,1,4,0)
 ;;=4^M75.22
 ;;^UTILITY(U,$J,358.3,41728,2)
 ;;=^5013252
 ;;^UTILITY(U,$J,358.3,41729,0)
 ;;=M75.21^^155^2064^7
 ;;^UTILITY(U,$J,358.3,41729,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41729,1,3,0)
 ;;=3^Bicipital tendinitis, right shoulder
 ;;^UTILITY(U,$J,358.3,41729,1,4,0)
 ;;=4^M75.21
 ;;^UTILITY(U,$J,358.3,41729,2)
 ;;=^5013251
 ;;^UTILITY(U,$J,358.3,41730,0)
 ;;=M17.0^^155^2064^77
 ;;^UTILITY(U,$J,358.3,41730,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41730,1,3,0)
 ;;=3^Prim Osteoarth,Knee,Bilateral
 ;;^UTILITY(U,$J,358.3,41730,1,4,0)
 ;;=4^M17.0
 ;;^UTILITY(U,$J,358.3,41730,2)
 ;;=^5010784
 ;;^UTILITY(U,$J,358.3,41731,0)
 ;;=M75.52^^155^2064^10
 ;;^UTILITY(U,$J,358.3,41731,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,41731,1,3,0)
 ;;=3^Bursitis of left shoulder
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2M4   3808     printed  Sep 23, 2025@20:07:26                                                                                                                                                                                                    Page 2
IBDEI2M4  ; ; 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,41719,1,4,0)
 +2       ;;=4^T84.85XS
 +3       ;;^UTILITY(U,$J,358.3,41719,2)
 +4       ;;=^5055468
 +5       ;;^UTILITY(U,$J,358.3,41720,0)
 +6       ;;=T84.86XA^^155^2063^20
 +7       ;;^UTILITY(U,$J,358.3,41720,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,41720,1,3,0)
 +10      ;;=3^Thrombosis due to internal orthopedic prosth dev/grft, init
 +11      ;;^UTILITY(U,$J,358.3,41720,1,4,0)
 +12      ;;=4^T84.86XA
 +13      ;;^UTILITY(U,$J,358.3,41720,2)
 +14      ;;=^5055469
 +15      ;;^UTILITY(U,$J,358.3,41721,0)
 +16      ;;=T84.86XD^^155^2063^21
 +17      ;;^UTILITY(U,$J,358.3,41721,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,41721,1,3,0)
 +20      ;;=3^Thrombosis due to internal orthopedic prosth dev/grft, subs
 +21      ;;^UTILITY(U,$J,358.3,41721,1,4,0)
 +22      ;;=4^T84.86XD
 +23      ;;^UTILITY(U,$J,358.3,41721,2)
 +24      ;;=^5055470
 +25      ;;^UTILITY(U,$J,358.3,41722,0)
 +26      ;;=T84.86XS^^155^2063^19
 +27      ;;^UTILITY(U,$J,358.3,41722,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,41722,1,3,0)
 +30      ;;=3^Thrombosis due to internal orth prosth dev/grft, sequela
 +31      ;;^UTILITY(U,$J,358.3,41722,1,4,0)
 +32      ;;=4^T84.86XS
 +33      ;;^UTILITY(U,$J,358.3,41722,2)
 +34      ;;=^5055471
 +35      ;;^UTILITY(U,$J,358.3,41723,0)
 +36      ;;=M76.62^^155^2064^1
 +37      ;;^UTILITY(U,$J,358.3,41723,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,41723,1,3,0)
 +40      ;;=3^Achilles tendinitis, left leg
 +41      ;;^UTILITY(U,$J,358.3,41723,1,4,0)
 +42      ;;=4^M76.62
 +43      ;;^UTILITY(U,$J,358.3,41723,2)
 +44      ;;=^5013286
 +45      ;;^UTILITY(U,$J,358.3,41724,0)
 +46      ;;=M76.61^^155^2064^2
 +47      ;;^UTILITY(U,$J,358.3,41724,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,41724,1,3,0)
 +50      ;;=3^Achilles tendinitis, right leg
 +51      ;;^UTILITY(U,$J,358.3,41724,1,4,0)
 +52      ;;=4^M76.61
 +53      ;;^UTILITY(U,$J,358.3,41724,2)
 +54      ;;=^5013285
 +55      ;;^UTILITY(U,$J,358.3,41725,0)
 +56      ;;=M75.02^^155^2064^3
 +57      ;;^UTILITY(U,$J,358.3,41725,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,41725,1,3,0)
 +60      ;;=3^Adhesive capsulitis of left shoulder
 +61      ;;^UTILITY(U,$J,358.3,41725,1,4,0)
 +62      ;;=4^M75.02
 +63      ;;^UTILITY(U,$J,358.3,41725,2)
 +64      ;;=^5013240
 +65      ;;^UTILITY(U,$J,358.3,41726,0)
 +66      ;;=M75.01^^155^2064^4
 +67      ;;^UTILITY(U,$J,358.3,41726,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,41726,1,3,0)
 +70      ;;=3^Adhesive capsulitis of right shoulder
 +71      ;;^UTILITY(U,$J,358.3,41726,1,4,0)
 +72      ;;=4^M75.01
 +73      ;;^UTILITY(U,$J,358.3,41726,2)
 +74      ;;=^5013239
 +75      ;;^UTILITY(U,$J,358.3,41727,0)
 +76      ;;=M81.0^^155^2064^5
 +77      ;;^UTILITY(U,$J,358.3,41727,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,41727,1,3,0)
 +80      ;;=3^Age-related osteoporosis w/o current pathological fracture
 +81      ;;^UTILITY(U,$J,358.3,41727,1,4,0)
 +82      ;;=4^M81.0
 +83      ;;^UTILITY(U,$J,358.3,41727,2)
 +84      ;;=^5013555
 +85      ;;^UTILITY(U,$J,358.3,41728,0)
 +86      ;;=M75.22^^155^2064^6
 +87      ;;^UTILITY(U,$J,358.3,41728,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,41728,1,3,0)
 +90      ;;=3^Bicipital tendinitis, left shoulder
 +91      ;;^UTILITY(U,$J,358.3,41728,1,4,0)
 +92      ;;=4^M75.22
 +93      ;;^UTILITY(U,$J,358.3,41728,2)
 +94      ;;=^5013252
 +95      ;;^UTILITY(U,$J,358.3,41729,0)
 +96      ;;=M75.21^^155^2064^7
 +97      ;;^UTILITY(U,$J,358.3,41729,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,41729,1,3,0)
 +100     ;;=3^Bicipital tendinitis, right shoulder
 +101     ;;^UTILITY(U,$J,358.3,41729,1,4,0)
 +102     ;;=4^M75.21
 +103     ;;^UTILITY(U,$J,358.3,41729,2)
 +104     ;;=^5013251
 +105     ;;^UTILITY(U,$J,358.3,41730,0)
 +106     ;;=M17.0^^155^2064^77
 +107     ;;^UTILITY(U,$J,358.3,41730,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,41730,1,3,0)
 +110     ;;=3^Prim Osteoarth,Knee,Bilateral
 +111     ;;^UTILITY(U,$J,358.3,41730,1,4,0)
 +112     ;;=4^M17.0
 +113     ;;^UTILITY(U,$J,358.3,41730,2)
 +114     ;;=^5010784
 +115     ;;^UTILITY(U,$J,358.3,41731,0)
 +116     ;;=M75.52^^155^2064^10
 +117     ;;^UTILITY(U,$J,358.3,41731,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,41731,1,3,0)
 +120     ;;=3^Bursitis of left shoulder