IBDEI0VJ ; ; 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,14220,0)
 ;;=S70.02XD^^55^673^6
 ;;^UTILITY(U,$J,358.3,14220,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14220,1,3,0)
 ;;=3^Contusion of left hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14220,1,4,0)
 ;;=4^S70.02XD
 ;;^UTILITY(U,$J,358.3,14220,2)
 ;;=^5036838
 ;;^UTILITY(U,$J,358.3,14221,0)
 ;;=S70.01XD^^55^673^8
 ;;^UTILITY(U,$J,358.3,14221,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14221,1,3,0)
 ;;=3^Contusion of right hip, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14221,1,4,0)
 ;;=4^S70.01XD
 ;;^UTILITY(U,$J,358.3,14221,2)
 ;;=^5036835
 ;;^UTILITY(U,$J,358.3,14222,0)
 ;;=S72.142D^^55^673^11
 ;;^UTILITY(U,$J,358.3,14222,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14222,1,3,0)
 ;;=3^Displ intertroch fx l femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14222,1,4,0)
 ;;=4^S72.142D
 ;;^UTILITY(U,$J,358.3,14222,2)
 ;;=^5037934
 ;;^UTILITY(U,$J,358.3,14223,0)
 ;;=S72.141D^^55^673^12
 ;;^UTILITY(U,$J,358.3,14223,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14223,1,3,0)
 ;;=3^Displ intertroch fx r femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14223,1,4,0)
 ;;=4^S72.141D
 ;;^UTILITY(U,$J,358.3,14223,2)
 ;;=^5037918
 ;;^UTILITY(U,$J,358.3,14224,0)
 ;;=S72.22XD^^55^673^13
 ;;^UTILITY(U,$J,358.3,14224,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14224,1,3,0)
 ;;=3^Displ subtrochnt fx l femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14224,1,4,0)
 ;;=4^S72.22XD
 ;;^UTILITY(U,$J,358.3,14224,2)
 ;;=^5038030
 ;;^UTILITY(U,$J,358.3,14225,0)
 ;;=S72.21XD^^55^673^14
 ;;^UTILITY(U,$J,358.3,14225,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14225,1,3,0)
 ;;=3^Displ subtrochnt fx r femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14225,1,4,0)
 ;;=4^S72.21XD
 ;;^UTILITY(U,$J,358.3,14225,2)
 ;;=^5038014
 ;;^UTILITY(U,$J,358.3,14226,0)
 ;;=S72.002D^^55^673^23
 ;;^UTILITY(U,$J,358.3,14226,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14226,1,3,0)
 ;;=3^Fx unsp part of nk of l femr, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14226,1,4,0)
 ;;=4^S72.002D
 ;;^UTILITY(U,$J,358.3,14226,2)
 ;;=^5037066
 ;;^UTILITY(U,$J,358.3,14227,0)
 ;;=S72.001D^^55^673^24
 ;;^UTILITY(U,$J,358.3,14227,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14227,1,3,0)
 ;;=3^Fx unsp part of nk of r femr, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14227,1,4,0)
 ;;=4^S72.001D
 ;;^UTILITY(U,$J,358.3,14227,2)
 ;;=^5037050
 ;;^UTILITY(U,$J,358.3,14228,0)
 ;;=S72.145D^^55^673^29
 ;;^UTILITY(U,$J,358.3,14228,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14228,1,3,0)
 ;;=3^Nondisp intertroch fx l femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14228,1,4,0)
 ;;=4^S72.145D
 ;;^UTILITY(U,$J,358.3,14228,2)
 ;;=^5037982
 ;;^UTILITY(U,$J,358.3,14229,0)
 ;;=S72.144D^^55^673^30
 ;;^UTILITY(U,$J,358.3,14229,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14229,1,3,0)
 ;;=3^Nondisp intertroch fx r femur, subs for clos fx w routn heal
 ;;^UTILITY(U,$J,358.3,14229,1,4,0)
 ;;=4^S72.144D
 ;;^UTILITY(U,$J,358.3,14229,2)
 ;;=^5037966
 ;;^UTILITY(U,$J,358.3,14230,0)
 ;;=M16.4^^55^673^3
 ;;^UTILITY(U,$J,358.3,14230,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14230,1,3,0)
 ;;=3^Bilateral post-traumatic osteoarthritis of hip
 ;;^UTILITY(U,$J,358.3,14230,1,4,0)
 ;;=4^M16.4
 ;;^UTILITY(U,$J,358.3,14230,2)
 ;;=^5010777
 ;;^UTILITY(U,$J,358.3,14231,0)
 ;;=M16.51^^55^673^48
 ;;^UTILITY(U,$J,358.3,14231,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0VJ   3787     printed  Sep 23, 2025@19:32:35                                                                                                                                                                                                    Page 2
IBDEI0VJ  ; ; 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,14220,0)
 +2       ;;=S70.02XD^^55^673^6
 +3       ;;^UTILITY(U,$J,358.3,14220,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,14220,1,3,0)
 +6       ;;=3^Contusion of left hip, subsequent encounter
 +7       ;;^UTILITY(U,$J,358.3,14220,1,4,0)
 +8       ;;=4^S70.02XD
 +9       ;;^UTILITY(U,$J,358.3,14220,2)
 +10      ;;=^5036838
 +11      ;;^UTILITY(U,$J,358.3,14221,0)
 +12      ;;=S70.01XD^^55^673^8
 +13      ;;^UTILITY(U,$J,358.3,14221,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,14221,1,3,0)
 +16      ;;=3^Contusion of right hip, subsequent encounter
 +17      ;;^UTILITY(U,$J,358.3,14221,1,4,0)
 +18      ;;=4^S70.01XD
 +19      ;;^UTILITY(U,$J,358.3,14221,2)
 +20      ;;=^5036835
 +21      ;;^UTILITY(U,$J,358.3,14222,0)
 +22      ;;=S72.142D^^55^673^11
 +23      ;;^UTILITY(U,$J,358.3,14222,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,14222,1,3,0)
 +26      ;;=3^Displ intertroch fx l femur, subs for clos fx w routn heal
 +27      ;;^UTILITY(U,$J,358.3,14222,1,4,0)
 +28      ;;=4^S72.142D
 +29      ;;^UTILITY(U,$J,358.3,14222,2)
 +30      ;;=^5037934
 +31      ;;^UTILITY(U,$J,358.3,14223,0)
 +32      ;;=S72.141D^^55^673^12
 +33      ;;^UTILITY(U,$J,358.3,14223,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,14223,1,3,0)
 +36      ;;=3^Displ intertroch fx r femur, subs for clos fx w routn heal
 +37      ;;^UTILITY(U,$J,358.3,14223,1,4,0)
 +38      ;;=4^S72.141D
 +39      ;;^UTILITY(U,$J,358.3,14223,2)
 +40      ;;=^5037918
 +41      ;;^UTILITY(U,$J,358.3,14224,0)
 +42      ;;=S72.22XD^^55^673^13
 +43      ;;^UTILITY(U,$J,358.3,14224,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,14224,1,3,0)
 +46      ;;=3^Displ subtrochnt fx l femur, subs for clos fx w routn heal
 +47      ;;^UTILITY(U,$J,358.3,14224,1,4,0)
 +48      ;;=4^S72.22XD
 +49      ;;^UTILITY(U,$J,358.3,14224,2)
 +50      ;;=^5038030
 +51      ;;^UTILITY(U,$J,358.3,14225,0)
 +52      ;;=S72.21XD^^55^673^14
 +53      ;;^UTILITY(U,$J,358.3,14225,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,14225,1,3,0)
 +56      ;;=3^Displ subtrochnt fx r femur, subs for clos fx w routn heal
 +57      ;;^UTILITY(U,$J,358.3,14225,1,4,0)
 +58      ;;=4^S72.21XD
 +59      ;;^UTILITY(U,$J,358.3,14225,2)
 +60      ;;=^5038014
 +61      ;;^UTILITY(U,$J,358.3,14226,0)
 +62      ;;=S72.002D^^55^673^23
 +63      ;;^UTILITY(U,$J,358.3,14226,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,14226,1,3,0)
 +66      ;;=3^Fx unsp part of nk of l femr, subs for clos fx w routn heal
 +67      ;;^UTILITY(U,$J,358.3,14226,1,4,0)
 +68      ;;=4^S72.002D
 +69      ;;^UTILITY(U,$J,358.3,14226,2)
 +70      ;;=^5037066
 +71      ;;^UTILITY(U,$J,358.3,14227,0)
 +72      ;;=S72.001D^^55^673^24
 +73      ;;^UTILITY(U,$J,358.3,14227,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,14227,1,3,0)
 +76      ;;=3^Fx unsp part of nk of r femr, subs for clos fx w routn heal
 +77      ;;^UTILITY(U,$J,358.3,14227,1,4,0)
 +78      ;;=4^S72.001D
 +79      ;;^UTILITY(U,$J,358.3,14227,2)
 +80      ;;=^5037050
 +81      ;;^UTILITY(U,$J,358.3,14228,0)
 +82      ;;=S72.145D^^55^673^29
 +83      ;;^UTILITY(U,$J,358.3,14228,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,14228,1,3,0)
 +86      ;;=3^Nondisp intertroch fx l femur, subs for clos fx w routn heal
 +87      ;;^UTILITY(U,$J,358.3,14228,1,4,0)
 +88      ;;=4^S72.145D
 +89      ;;^UTILITY(U,$J,358.3,14228,2)
 +90      ;;=^5037982
 +91      ;;^UTILITY(U,$J,358.3,14229,0)
 +92      ;;=S72.144D^^55^673^30
 +93      ;;^UTILITY(U,$J,358.3,14229,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,14229,1,3,0)
 +96      ;;=3^Nondisp intertroch fx r femur, subs for clos fx w routn heal
 +97      ;;^UTILITY(U,$J,358.3,14229,1,4,0)
 +98      ;;=4^S72.144D
 +99      ;;^UTILITY(U,$J,358.3,14229,2)
 +100     ;;=^5037966
 +101     ;;^UTILITY(U,$J,358.3,14230,0)
 +102     ;;=M16.4^^55^673^3
 +103     ;;^UTILITY(U,$J,358.3,14230,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,14230,1,3,0)
 +106     ;;=3^Bilateral post-traumatic osteoarthritis of hip
 +107     ;;^UTILITY(U,$J,358.3,14230,1,4,0)
 +108     ;;=4^M16.4
 +109     ;;^UTILITY(U,$J,358.3,14230,2)
 +110     ;;=^5010777
 +111     ;;^UTILITY(U,$J,358.3,14231,0)
 +112     ;;=M16.51^^55^673^48
 +113     ;;^UTILITY(U,$J,358.3,14231,1,0)
 +114     ;;=^358.31IA^4^2