IBDEI0UT ; ; 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,13911,2)
 ;;=^5029066
 ;;^UTILITY(U,$J,358.3,13912,0)
 ;;=S52.121D^^55^664^12
 ;;^UTILITY(U,$J,358.3,13912,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13912,1,3,0)
 ;;=3^Disp fx of head of right radius, subs encntr
 ;;^UTILITY(U,$J,358.3,13912,1,4,0)
 ;;=4^S52.121D
 ;;^UTILITY(U,$J,358.3,13912,2)
 ;;=^5029050
 ;;^UTILITY(U,$J,358.3,13913,0)
 ;;=S52.032D^^55^664^15
 ;;^UTILITY(U,$J,358.3,13913,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13913,1,3,0)
 ;;=3^Disp fx of olecran pro w/ intartic extn left ulna, subs encntr
 ;;^UTILITY(U,$J,358.3,13913,1,4,0)
 ;;=4^S52.032D
 ;;^UTILITY(U,$J,358.3,13913,2)
 ;;=^5135083
 ;;^UTILITY(U,$J,358.3,13914,0)
 ;;=S52.031D^^55^664^16
 ;;^UTILITY(U,$J,358.3,13914,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13914,1,3,0)
 ;;=3^Disp fx of olecran pro w/ intartic extn right ulna, subs encntr
 ;;^UTILITY(U,$J,358.3,13914,1,4,0)
 ;;=4^S52.031D
 ;;^UTILITY(U,$J,358.3,13914,2)
 ;;=^5135082
 ;;^UTILITY(U,$J,358.3,13915,0)
 ;;=S42.402D^^55^664^17
 ;;^UTILITY(U,$J,358.3,13915,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13915,1,3,0)
 ;;=3^Fracture lower end of left humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,13915,1,4,0)
 ;;=4^S42.402D
 ;;^UTILITY(U,$J,358.3,13915,2)
 ;;=^5134717
 ;;^UTILITY(U,$J,358.3,13916,0)
 ;;=S42.401D^^55^664^18
 ;;^UTILITY(U,$J,358.3,13916,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13916,1,3,0)
 ;;=3^Fracture lower end of right humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,13916,1,4,0)
 ;;=4^S42.401D
 ;;^UTILITY(U,$J,358.3,13916,2)
 ;;=^5027296
 ;;^UTILITY(U,$J,358.3,13917,0)
 ;;=S52.125D^^55^664^30
 ;;^UTILITY(U,$J,358.3,13917,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13917,1,3,0)
 ;;=3^Nondisp fx of head of left radius, subs encntr
 ;;^UTILITY(U,$J,358.3,13917,1,4,0)
 ;;=4^S52.125D
 ;;^UTILITY(U,$J,358.3,13917,2)
 ;;=^5029114
 ;;^UTILITY(U,$J,358.3,13918,0)
 ;;=S52.124D^^55^664^32
 ;;^UTILITY(U,$J,358.3,13918,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13918,1,3,0)
 ;;=3^Nondisp fx of head of right radius, subs encntr
 ;;^UTILITY(U,$J,358.3,13918,1,4,0)
 ;;=4^S52.124D
 ;;^UTILITY(U,$J,358.3,13918,2)
 ;;=^5029098
 ;;^UTILITY(U,$J,358.3,13919,0)
 ;;=M19.121^^55^664^38
 ;;^UTILITY(U,$J,358.3,13919,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13919,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, right elbow
 ;;^UTILITY(U,$J,358.3,13919,1,4,0)
 ;;=4^M19.121
 ;;^UTILITY(U,$J,358.3,13919,2)
 ;;=^5010826
 ;;^UTILITY(U,$J,358.3,13920,0)
 ;;=M19.122^^55^664^37
 ;;^UTILITY(U,$J,358.3,13920,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13920,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, left elbow
 ;;^UTILITY(U,$J,358.3,13920,1,4,0)
 ;;=4^M19.122
 ;;^UTILITY(U,$J,358.3,13920,2)
 ;;=^5010827
 ;;^UTILITY(U,$J,358.3,13921,0)
 ;;=S53.402D^^55^664^42
 ;;^UTILITY(U,$J,358.3,13921,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13921,1,3,0)
 ;;=3^Sprain of left elbow, subsequent encounter
 ;;^UTILITY(U,$J,358.3,13921,1,4,0)
 ;;=4^S53.402D
 ;;^UTILITY(U,$J,358.3,13921,2)
 ;;=^5031365
 ;;^UTILITY(U,$J,358.3,13922,0)
 ;;=S53.401D^^55^664^44
 ;;^UTILITY(U,$J,358.3,13922,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,13922,1,3,0)
 ;;=3^Sprain of right elbow, subsequent encounter
 ;;^UTILITY(U,$J,358.3,13922,1,4,0)
 ;;=4^S53.401D
 ;;^UTILITY(U,$J,358.3,13922,2)
 ;;=^5031362
 ;;^UTILITY(U,$J,358.3,13923,0)
 ;;=S70.12XA^^55^665^1
 ;;^UTILITY(U,$J,358.3,13923,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0UT   3762     printed  Sep 23, 2025@19:32:11                                                                                                                                                                                                    Page 2
IBDEI0UT  ; ; 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,13911,2)
 +2       ;;=^5029066
 +3       ;;^UTILITY(U,$J,358.3,13912,0)
 +4       ;;=S52.121D^^55^664^12
 +5       ;;^UTILITY(U,$J,358.3,13912,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,13912,1,3,0)
 +8       ;;=3^Disp fx of head of right radius, subs encntr
 +9       ;;^UTILITY(U,$J,358.3,13912,1,4,0)
 +10      ;;=4^S52.121D
 +11      ;;^UTILITY(U,$J,358.3,13912,2)
 +12      ;;=^5029050
 +13      ;;^UTILITY(U,$J,358.3,13913,0)
 +14      ;;=S52.032D^^55^664^15
 +15      ;;^UTILITY(U,$J,358.3,13913,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,13913,1,3,0)
 +18      ;;=3^Disp fx of olecran pro w/ intartic extn left ulna, subs encntr
 +19      ;;^UTILITY(U,$J,358.3,13913,1,4,0)
 +20      ;;=4^S52.032D
 +21      ;;^UTILITY(U,$J,358.3,13913,2)
 +22      ;;=^5135083
 +23      ;;^UTILITY(U,$J,358.3,13914,0)
 +24      ;;=S52.031D^^55^664^16
 +25      ;;^UTILITY(U,$J,358.3,13914,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,13914,1,3,0)
 +28      ;;=3^Disp fx of olecran pro w/ intartic extn right ulna, subs encntr
 +29      ;;^UTILITY(U,$J,358.3,13914,1,4,0)
 +30      ;;=4^S52.031D
 +31      ;;^UTILITY(U,$J,358.3,13914,2)
 +32      ;;=^5135082
 +33      ;;^UTILITY(U,$J,358.3,13915,0)
 +34      ;;=S42.402D^^55^664^17
 +35      ;;^UTILITY(U,$J,358.3,13915,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,13915,1,3,0)
 +38      ;;=3^Fracture lower end of left humerus, subs encntr
 +39      ;;^UTILITY(U,$J,358.3,13915,1,4,0)
 +40      ;;=4^S42.402D
 +41      ;;^UTILITY(U,$J,358.3,13915,2)
 +42      ;;=^5134717
 +43      ;;^UTILITY(U,$J,358.3,13916,0)
 +44      ;;=S42.401D^^55^664^18
 +45      ;;^UTILITY(U,$J,358.3,13916,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,13916,1,3,0)
 +48      ;;=3^Fracture lower end of right humerus, subs encntr
 +49      ;;^UTILITY(U,$J,358.3,13916,1,4,0)
 +50      ;;=4^S42.401D
 +51      ;;^UTILITY(U,$J,358.3,13916,2)
 +52      ;;=^5027296
 +53      ;;^UTILITY(U,$J,358.3,13917,0)
 +54      ;;=S52.125D^^55^664^30
 +55      ;;^UTILITY(U,$J,358.3,13917,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,13917,1,3,0)
 +58      ;;=3^Nondisp fx of head of left radius, subs encntr
 +59      ;;^UTILITY(U,$J,358.3,13917,1,4,0)
 +60      ;;=4^S52.125D
 +61      ;;^UTILITY(U,$J,358.3,13917,2)
 +62      ;;=^5029114
 +63      ;;^UTILITY(U,$J,358.3,13918,0)
 +64      ;;=S52.124D^^55^664^32
 +65      ;;^UTILITY(U,$J,358.3,13918,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,13918,1,3,0)
 +68      ;;=3^Nondisp fx of head of right radius, subs encntr
 +69      ;;^UTILITY(U,$J,358.3,13918,1,4,0)
 +70      ;;=4^S52.124D
 +71      ;;^UTILITY(U,$J,358.3,13918,2)
 +72      ;;=^5029098
 +73      ;;^UTILITY(U,$J,358.3,13919,0)
 +74      ;;=M19.121^^55^664^38
 +75      ;;^UTILITY(U,$J,358.3,13919,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,13919,1,3,0)
 +78      ;;=3^Post-traumatic osteoarthritis, right elbow
 +79      ;;^UTILITY(U,$J,358.3,13919,1,4,0)
 +80      ;;=4^M19.121
 +81      ;;^UTILITY(U,$J,358.3,13919,2)
 +82      ;;=^5010826
 +83      ;;^UTILITY(U,$J,358.3,13920,0)
 +84      ;;=M19.122^^55^664^37
 +85      ;;^UTILITY(U,$J,358.3,13920,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,13920,1,3,0)
 +88      ;;=3^Post-traumatic osteoarthritis, left elbow
 +89      ;;^UTILITY(U,$J,358.3,13920,1,4,0)
 +90      ;;=4^M19.122
 +91      ;;^UTILITY(U,$J,358.3,13920,2)
 +92      ;;=^5010827
 +93      ;;^UTILITY(U,$J,358.3,13921,0)
 +94      ;;=S53.402D^^55^664^42
 +95      ;;^UTILITY(U,$J,358.3,13921,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,13921,1,3,0)
 +98      ;;=3^Sprain of left elbow, subsequent encounter
 +99      ;;^UTILITY(U,$J,358.3,13921,1,4,0)
 +100     ;;=4^S53.402D
 +101     ;;^UTILITY(U,$J,358.3,13921,2)
 +102     ;;=^5031365
 +103     ;;^UTILITY(U,$J,358.3,13922,0)
 +104     ;;=S53.401D^^55^664^44
 +105     ;;^UTILITY(U,$J,358.3,13922,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,13922,1,3,0)
 +108     ;;=3^Sprain of right elbow, subsequent encounter
 +109     ;;^UTILITY(U,$J,358.3,13922,1,4,0)
 +110     ;;=4^S53.401D
 +111     ;;^UTILITY(U,$J,358.3,13922,2)
 +112     ;;=^5031362
 +113     ;;^UTILITY(U,$J,358.3,13923,0)
 +114     ;;=S70.12XA^^55^665^1
 +115     ;;^UTILITY(U,$J,358.3,13923,1,0)
 +116     ;;=^358.31IA^4^2