IBDEI247 ; ; 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,33790,1,4,0)
 ;;=4^S72.22XD
 ;;^UTILITY(U,$J,358.3,33790,2)
 ;;=^5038030
 ;;^UTILITY(U,$J,358.3,33791,0)
 ;;=S72.21XD^^132^1711^14
 ;;^UTILITY(U,$J,358.3,33791,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33791,1,3,0)
 ;;=3^Displ subtrochnt fx r femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,33791,1,4,0)
 ;;=4^S72.21XD
 ;;^UTILITY(U,$J,358.3,33791,2)
 ;;=^5038014
 ;;^UTILITY(U,$J,358.3,33792,0)
 ;;=S72.002D^^132^1711^23
 ;;^UTILITY(U,$J,358.3,33792,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33792,1,3,0)
 ;;=3^Fx unsp part of nk of l femr, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,33792,1,4,0)
 ;;=4^S72.002D
 ;;^UTILITY(U,$J,358.3,33792,2)
 ;;=^5037066
 ;;^UTILITY(U,$J,358.3,33793,0)
 ;;=S72.001D^^132^1711^24
 ;;^UTILITY(U,$J,358.3,33793,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33793,1,3,0)
 ;;=3^Fx unsp part of nk of r femr, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,33793,1,4,0)
 ;;=4^S72.001D
 ;;^UTILITY(U,$J,358.3,33793,2)
 ;;=^5037050
 ;;^UTILITY(U,$J,358.3,33794,0)
 ;;=S72.145D^^132^1711^29
 ;;^UTILITY(U,$J,358.3,33794,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33794,1,3,0)
 ;;=3^Nondisp intertroch fx l femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,33794,1,4,0)
 ;;=4^S72.145D
 ;;^UTILITY(U,$J,358.3,33794,2)
 ;;=^5037982
 ;;^UTILITY(U,$J,358.3,33795,0)
 ;;=S72.144D^^132^1711^30
 ;;^UTILITY(U,$J,358.3,33795,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33795,1,3,0)
 ;;=3^Nondisp intertroch fx r femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,33795,1,4,0)
 ;;=4^S72.144D
 ;;^UTILITY(U,$J,358.3,33795,2)
 ;;=^5037966
 ;;^UTILITY(U,$J,358.3,33796,0)
 ;;=M16.4^^132^1711^3
 ;;^UTILITY(U,$J,358.3,33796,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33796,1,3,0)
 ;;=3^Bilateral post-traumatic osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,33796,1,4,0)
 ;;=4^M16.4
 ;;^UTILITY(U,$J,358.3,33796,2)
 ;;=^5010777
 ;;^UTILITY(U,$J,358.3,33797,0)
 ;;=M16.51^^132^1711^48
 ;;^UTILITY(U,$J,358.3,33797,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33797,1,3,0)
 ;;=3^Unilateral post-traumatic osteoarthritis, right hip
 ;;^UTILITY(U,$J,358.3,33797,1,4,0)
 ;;=4^M16.51
 ;;^UTILITY(U,$J,358.3,33797,2)
 ;;=^5010779
 ;;^UTILITY(U,$J,358.3,33798,0)
 ;;=M16.52^^132^1711^49
 ;;^UTILITY(U,$J,358.3,33798,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33798,1,3,0)
 ;;=3^Unilateral post-traumatic osteoarthritis, left hip
 ;;^UTILITY(U,$J,358.3,33798,1,4,0)
 ;;=4^M16.52
 ;;^UTILITY(U,$J,358.3,33798,2)
 ;;=^5010780
 ;;^UTILITY(U,$J,358.3,33799,0)
 ;;=M16.6^^132^1711^4
 ;;^UTILITY(U,$J,358.3,33799,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33799,1,3,0)
 ;;=3^Bilateral secondary osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,33799,1,4,0)
 ;;=4^M16.6
 ;;^UTILITY(U,$J,358.3,33799,2)
 ;;=^5010781
 ;;^UTILITY(U,$J,358.3,33800,0)
 ;;=M16.7^^132^1711^50
 ;;^UTILITY(U,$J,358.3,33800,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33800,1,3,0)
 ;;=3^Unilateral secondary osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,33800,1,4,0)
 ;;=4^M16.7
 ;;^UTILITY(U,$J,358.3,33800,2)
 ;;=^5010782
 ;;^UTILITY(U,$J,358.3,33801,0)
 ;;=S73.015D^^132^1711^39
 ;;^UTILITY(U,$J,358.3,33801,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33801,1,3,0)
 ;;=3^Posterior dislocation of left hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,33801,1,4,0)
 ;;=4^S73.015D
 ;;^UTILITY(U,$J,358.3,33801,2)
 ;;=^5039250
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI247   3758     printed  Sep 23, 2025@19:57:28                                                                                                                                                                                                    Page 2
IBDEI247  ; ; 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,33790,1,4,0)
 +2       ;;=4^S72.22XD
 +3       ;;^UTILITY(U,$J,358.3,33790,2)
 +4       ;;=^5038030
 +5       ;;^UTILITY(U,$J,358.3,33791,0)
 +6       ;;=S72.21XD^^132^1711^14
 +7       ;;^UTILITY(U,$J,358.3,33791,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,33791,1,3,0)
 +10      ;;=3^Displ subtrochnt fx r femur, subs for clos fx w routn heal
 +11      ;;^UTILITY(U,$J,358.3,33791,1,4,0)
 +12      ;;=4^S72.21XD
 +13      ;;^UTILITY(U,$J,358.3,33791,2)
 +14      ;;=^5038014
 +15      ;;^UTILITY(U,$J,358.3,33792,0)
 +16      ;;=S72.002D^^132^1711^23
 +17      ;;^UTILITY(U,$J,358.3,33792,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,33792,1,3,0)
 +20      ;;=3^Fx unsp part of nk of l femr, subs for clos fx w routn heal
 +21      ;;^UTILITY(U,$J,358.3,33792,1,4,0)
 +22      ;;=4^S72.002D
 +23      ;;^UTILITY(U,$J,358.3,33792,2)
 +24      ;;=^5037066
 +25      ;;^UTILITY(U,$J,358.3,33793,0)
 +26      ;;=S72.001D^^132^1711^24
 +27      ;;^UTILITY(U,$J,358.3,33793,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,33793,1,3,0)
 +30      ;;=3^Fx unsp part of nk of r femr, subs for clos fx w routn heal
 +31      ;;^UTILITY(U,$J,358.3,33793,1,4,0)
 +32      ;;=4^S72.001D
 +33      ;;^UTILITY(U,$J,358.3,33793,2)
 +34      ;;=^5037050
 +35      ;;^UTILITY(U,$J,358.3,33794,0)
 +36      ;;=S72.145D^^132^1711^29
 +37      ;;^UTILITY(U,$J,358.3,33794,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,33794,1,3,0)
 +40      ;;=3^Nondisp intertroch fx l femur, subs for clos fx w routn heal
 +41      ;;^UTILITY(U,$J,358.3,33794,1,4,0)
 +42      ;;=4^S72.145D
 +43      ;;^UTILITY(U,$J,358.3,33794,2)
 +44      ;;=^5037982
 +45      ;;^UTILITY(U,$J,358.3,33795,0)
 +46      ;;=S72.144D^^132^1711^30
 +47      ;;^UTILITY(U,$J,358.3,33795,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,33795,1,3,0)
 +50      ;;=3^Nondisp intertroch fx r femur, subs for clos fx w routn heal
 +51      ;;^UTILITY(U,$J,358.3,33795,1,4,0)
 +52      ;;=4^S72.144D
 +53      ;;^UTILITY(U,$J,358.3,33795,2)
 +54      ;;=^5037966
 +55      ;;^UTILITY(U,$J,358.3,33796,0)
 +56      ;;=M16.4^^132^1711^3
 +57      ;;^UTILITY(U,$J,358.3,33796,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,33796,1,3,0)
 +60      ;;=3^Bilateral post-traumatic osteoarthritis of hip
 +61      ;;^UTILITY(U,$J,358.3,33796,1,4,0)
 +62      ;;=4^M16.4
 +63      ;;^UTILITY(U,$J,358.3,33796,2)
 +64      ;;=^5010777
 +65      ;;^UTILITY(U,$J,358.3,33797,0)
 +66      ;;=M16.51^^132^1711^48
 +67      ;;^UTILITY(U,$J,358.3,33797,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,33797,1,3,0)
 +70      ;;=3^Unilateral post-traumatic osteoarthritis, right hip
 +71      ;;^UTILITY(U,$J,358.3,33797,1,4,0)
 +72      ;;=4^M16.51
 +73      ;;^UTILITY(U,$J,358.3,33797,2)
 +74      ;;=^5010779
 +75      ;;^UTILITY(U,$J,358.3,33798,0)
 +76      ;;=M16.52^^132^1711^49
 +77      ;;^UTILITY(U,$J,358.3,33798,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,33798,1,3,0)
 +80      ;;=3^Unilateral post-traumatic osteoarthritis, left hip
 +81      ;;^UTILITY(U,$J,358.3,33798,1,4,0)
 +82      ;;=4^M16.52
 +83      ;;^UTILITY(U,$J,358.3,33798,2)
 +84      ;;=^5010780
 +85      ;;^UTILITY(U,$J,358.3,33799,0)
 +86      ;;=M16.6^^132^1711^4
 +87      ;;^UTILITY(U,$J,358.3,33799,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,33799,1,3,0)
 +90      ;;=3^Bilateral secondary osteoarthritis of hip
 +91      ;;^UTILITY(U,$J,358.3,33799,1,4,0)
 +92      ;;=4^M16.6
 +93      ;;^UTILITY(U,$J,358.3,33799,2)
 +94      ;;=^5010781
 +95      ;;^UTILITY(U,$J,358.3,33800,0)
 +96      ;;=M16.7^^132^1711^50
 +97      ;;^UTILITY(U,$J,358.3,33800,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,33800,1,3,0)
 +100     ;;=3^Unilateral secondary osteoarthritis of hip
 +101     ;;^UTILITY(U,$J,358.3,33800,1,4,0)
 +102     ;;=4^M16.7
 +103     ;;^UTILITY(U,$J,358.3,33800,2)
 +104     ;;=^5010782
 +105     ;;^UTILITY(U,$J,358.3,33801,0)
 +106     ;;=S73.015D^^132^1711^39
 +107     ;;^UTILITY(U,$J,358.3,33801,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,33801,1,3,0)
 +110     ;;=3^Posterior dislocation of left hip, subsequent encounter
 +111     ;;^UTILITY(U,$J,358.3,33801,1,4,0)
 +112     ;;=4^S73.015D
 +113     ;;^UTILITY(U,$J,358.3,33801,2)
 +114     ;;=^5039250