IBDEI0V8 ; ; 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,14090,1,4,0)
 ;;=4^M17.32
 ;;^UTILITY(U,$J,358.3,14090,2)
 ;;=^5010791
 ;;^UTILITY(U,$J,358.3,14091,0)
 ;;=M17.4^^55^670^7
 ;;^UTILITY(U,$J,358.3,14091,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14091,1,3,0)
 ;;=3^Bilateral secondary osteoarthritis of knee
 ;;^UTILITY(U,$J,358.3,14091,1,4,0)
 ;;=4^M17.4
 ;;^UTILITY(U,$J,358.3,14091,2)
 ;;=^5010792
 ;;^UTILITY(U,$J,358.3,14092,0)
 ;;=M17.5^^55^670^88
 ;;^UTILITY(U,$J,358.3,14092,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14092,1,3,0)
 ;;=3^Unilateral secondary osteoarthritis of knee
 ;;^UTILITY(U,$J,358.3,14092,1,4,0)
 ;;=4^M17.5
 ;;^UTILITY(U,$J,358.3,14092,2)
 ;;=^5010793
 ;;^UTILITY(U,$J,358.3,14093,0)
 ;;=S83.095D^^55^670^46
 ;;^UTILITY(U,$J,358.3,14093,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14093,1,3,0)
 ;;=3^Dislocation Left Patella, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14093,1,4,0)
 ;;=4^S83.095D
 ;;^UTILITY(U,$J,358.3,14093,2)
 ;;=^5137020
 ;;^UTILITY(U,$J,358.3,14094,0)
 ;;=S83.094D^^55^670^56
 ;;^UTILITY(U,$J,358.3,14094,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14094,1,3,0)
 ;;=3^Dislocation Right Patella, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14094,1,4,0)
 ;;=4^S83.094D
 ;;^UTILITY(U,$J,358.3,14094,2)
 ;;=^5042933
 ;;^UTILITY(U,$J,358.3,14095,0)
 ;;=S83.282D^^55^670^79
 ;;^UTILITY(U,$J,358.3,14095,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14095,1,3,0)
 ;;=3^Tear of lat mensc, current injury, left knee, subs
 ;;^UTILITY(U,$J,358.3,14095,1,4,0)
 ;;=4^S83.282D
 ;;^UTILITY(U,$J,358.3,14095,2)
 ;;=^5137065
 ;;^UTILITY(U,$J,358.3,14096,0)
 ;;=S83.281D^^55^670^80
 ;;^UTILITY(U,$J,358.3,14096,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14096,1,3,0)
 ;;=3^Tear of lat mensc, current injury, right knee, subs
 ;;^UTILITY(U,$J,358.3,14096,1,4,0)
 ;;=4^S83.281D
 ;;^UTILITY(U,$J,358.3,14096,2)
 ;;=^5043092
 ;;^UTILITY(U,$J,358.3,14097,0)
 ;;=S83.241D^^55^670^81
 ;;^UTILITY(U,$J,358.3,14097,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14097,1,3,0)
 ;;=3^Tear of medial meniscus, current injury, r knee, subs
 ;;^UTILITY(U,$J,358.3,14097,1,4,0)
 ;;=4^S83.241D
 ;;^UTILITY(U,$J,358.3,14097,2)
 ;;=^5043062
 ;;^UTILITY(U,$J,358.3,14098,0)
 ;;=M24.661^^55^670^2
 ;;^UTILITY(U,$J,358.3,14098,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14098,1,3,0)
 ;;=3^Ankylosis,Right Knee
 ;;^UTILITY(U,$J,358.3,14098,1,4,0)
 ;;=4^M24.661
 ;;^UTILITY(U,$J,358.3,14098,2)
 ;;=^5011442
 ;;^UTILITY(U,$J,358.3,14099,0)
 ;;=M24.662^^55^670^1
 ;;^UTILITY(U,$J,358.3,14099,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14099,1,3,0)
 ;;=3^Ankylosis,Left Knee
 ;;^UTILITY(U,$J,358.3,14099,1,4,0)
 ;;=4^M24.662
 ;;^UTILITY(U,$J,358.3,14099,2)
 ;;=^5011443
 ;;^UTILITY(U,$J,358.3,14100,0)
 ;;=G90.521^^55^670^16
 ;;^UTILITY(U,$J,358.3,14100,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14100,1,3,0)
 ;;=3^Complex Regional Pain Syndrome,I of Right Lower Limb
 ;;^UTILITY(U,$J,358.3,14100,1,4,0)
 ;;=4^G90.521
 ;;^UTILITY(U,$J,358.3,14100,2)
 ;;=^5004168
 ;;^UTILITY(U,$J,358.3,14101,0)
 ;;=G90.522^^55^670^15
 ;;^UTILITY(U,$J,358.3,14101,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14101,1,3,0)
 ;;=3^Complex Regional Pain Syndrome,I of Left Lower Limb
 ;;^UTILITY(U,$J,358.3,14101,1,4,0)
 ;;=4^G90.522
 ;;^UTILITY(U,$J,358.3,14101,2)
 ;;=^5133371
 ;;^UTILITY(U,$J,358.3,14102,0)
 ;;=G90.523^^55^670^14
 ;;^UTILITY(U,$J,358.3,14102,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14102,1,3,0)
 ;;=3^Complex Regional Pain Syndrome,I of Bilateral Lower Limbs
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0V8   3845     printed  Sep 23, 2025@19:32:24                                                                                                                                                                                                    Page 2
IBDEI0V8  ; ; 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,14090,1,4,0)
 +2       ;;=4^M17.32
 +3       ;;^UTILITY(U,$J,358.3,14090,2)
 +4       ;;=^5010791
 +5       ;;^UTILITY(U,$J,358.3,14091,0)
 +6       ;;=M17.4^^55^670^7
 +7       ;;^UTILITY(U,$J,358.3,14091,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,14091,1,3,0)
 +10      ;;=3^Bilateral secondary osteoarthritis of knee
 +11      ;;^UTILITY(U,$J,358.3,14091,1,4,0)
 +12      ;;=4^M17.4
 +13      ;;^UTILITY(U,$J,358.3,14091,2)
 +14      ;;=^5010792
 +15      ;;^UTILITY(U,$J,358.3,14092,0)
 +16      ;;=M17.5^^55^670^88
 +17      ;;^UTILITY(U,$J,358.3,14092,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,14092,1,3,0)
 +20      ;;=3^Unilateral secondary osteoarthritis of knee
 +21      ;;^UTILITY(U,$J,358.3,14092,1,4,0)
 +22      ;;=4^M17.5
 +23      ;;^UTILITY(U,$J,358.3,14092,2)
 +24      ;;=^5010793
 +25      ;;^UTILITY(U,$J,358.3,14093,0)
 +26      ;;=S83.095D^^55^670^46
 +27      ;;^UTILITY(U,$J,358.3,14093,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,14093,1,3,0)
 +30      ;;=3^Dislocation Left Patella, subsequent encounter
 +31      ;;^UTILITY(U,$J,358.3,14093,1,4,0)
 +32      ;;=4^S83.095D
 +33      ;;^UTILITY(U,$J,358.3,14093,2)
 +34      ;;=^5137020
 +35      ;;^UTILITY(U,$J,358.3,14094,0)
 +36      ;;=S83.094D^^55^670^56
 +37      ;;^UTILITY(U,$J,358.3,14094,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,14094,1,3,0)
 +40      ;;=3^Dislocation Right Patella, subsequent encounter
 +41      ;;^UTILITY(U,$J,358.3,14094,1,4,0)
 +42      ;;=4^S83.094D
 +43      ;;^UTILITY(U,$J,358.3,14094,2)
 +44      ;;=^5042933
 +45      ;;^UTILITY(U,$J,358.3,14095,0)
 +46      ;;=S83.282D^^55^670^79
 +47      ;;^UTILITY(U,$J,358.3,14095,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,14095,1,3,0)
 +50      ;;=3^Tear of lat mensc, current injury, left knee, subs
 +51      ;;^UTILITY(U,$J,358.3,14095,1,4,0)
 +52      ;;=4^S83.282D
 +53      ;;^UTILITY(U,$J,358.3,14095,2)
 +54      ;;=^5137065
 +55      ;;^UTILITY(U,$J,358.3,14096,0)
 +56      ;;=S83.281D^^55^670^80
 +57      ;;^UTILITY(U,$J,358.3,14096,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,14096,1,3,0)
 +60      ;;=3^Tear of lat mensc, current injury, right knee, subs
 +61      ;;^UTILITY(U,$J,358.3,14096,1,4,0)
 +62      ;;=4^S83.281D
 +63      ;;^UTILITY(U,$J,358.3,14096,2)
 +64      ;;=^5043092
 +65      ;;^UTILITY(U,$J,358.3,14097,0)
 +66      ;;=S83.241D^^55^670^81
 +67      ;;^UTILITY(U,$J,358.3,14097,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,14097,1,3,0)
 +70      ;;=3^Tear of medial meniscus, current injury, r knee, subs
 +71      ;;^UTILITY(U,$J,358.3,14097,1,4,0)
 +72      ;;=4^S83.241D
 +73      ;;^UTILITY(U,$J,358.3,14097,2)
 +74      ;;=^5043062
 +75      ;;^UTILITY(U,$J,358.3,14098,0)
 +76      ;;=M24.661^^55^670^2
 +77      ;;^UTILITY(U,$J,358.3,14098,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,14098,1,3,0)
 +80      ;;=3^Ankylosis,Right Knee
 +81      ;;^UTILITY(U,$J,358.3,14098,1,4,0)
 +82      ;;=4^M24.661
 +83      ;;^UTILITY(U,$J,358.3,14098,2)
 +84      ;;=^5011442
 +85      ;;^UTILITY(U,$J,358.3,14099,0)
 +86      ;;=M24.662^^55^670^1
 +87      ;;^UTILITY(U,$J,358.3,14099,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,14099,1,3,0)
 +90      ;;=3^Ankylosis,Left Knee
 +91      ;;^UTILITY(U,$J,358.3,14099,1,4,0)
 +92      ;;=4^M24.662
 +93      ;;^UTILITY(U,$J,358.3,14099,2)
 +94      ;;=^5011443
 +95      ;;^UTILITY(U,$J,358.3,14100,0)
 +96      ;;=G90.521^^55^670^16
 +97      ;;^UTILITY(U,$J,358.3,14100,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,14100,1,3,0)
 +100     ;;=3^Complex Regional Pain Syndrome,I of Right Lower Limb
 +101     ;;^UTILITY(U,$J,358.3,14100,1,4,0)
 +102     ;;=4^G90.521
 +103     ;;^UTILITY(U,$J,358.3,14100,2)
 +104     ;;=^5004168
 +105     ;;^UTILITY(U,$J,358.3,14101,0)
 +106     ;;=G90.522^^55^670^15
 +107     ;;^UTILITY(U,$J,358.3,14101,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,14101,1,3,0)
 +110     ;;=3^Complex Regional Pain Syndrome,I of Left Lower Limb
 +111     ;;^UTILITY(U,$J,358.3,14101,1,4,0)
 +112     ;;=4^G90.522
 +113     ;;^UTILITY(U,$J,358.3,14101,2)
 +114     ;;=^5133371
 +115     ;;^UTILITY(U,$J,358.3,14102,0)
 +116     ;;=G90.523^^55^670^14
 +117     ;;^UTILITY(U,$J,358.3,14102,1,0)
 +118     ;;=^358.31IA^4^2
 +119     ;;^UTILITY(U,$J,358.3,14102,1,3,0)
 +120     ;;=3^Complex Regional Pain Syndrome,I of Bilateral Lower Limbs