IBDEI23R ; ; 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,33603,1,4,0)
 ;;=4^S42.202A
 ;;^UTILITY(U,$J,358.3,33603,2)
 ;;=^5026768
 ;;^UTILITY(U,$J,358.3,33604,0)
 ;;=S42.201A^^132^1707^7
 ;;^UTILITY(U,$J,358.3,33604,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33604,1,3,0)
 ;;=3^Fracture of upper end of right humerus, init,Unspec
 ;;^UTILITY(U,$J,358.3,33604,1,4,0)
 ;;=4^S42.201A
 ;;^UTILITY(U,$J,358.3,33604,2)
 ;;=^5026761
 ;;^UTILITY(U,$J,358.3,33605,0)
 ;;=S40.022D^^132^1707^2
 ;;^UTILITY(U,$J,358.3,33605,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33605,1,3,0)
 ;;=3^Contusion of left upper arm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,33605,1,4,0)
 ;;=4^S40.022D
 ;;^UTILITY(U,$J,358.3,33605,2)
 ;;=^5026166
 ;;^UTILITY(U,$J,358.3,33606,0)
 ;;=S40.021D^^132^1707^4
 ;;^UTILITY(U,$J,358.3,33606,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33606,1,3,0)
 ;;=3^Contusion of right upper arm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,33606,1,4,0)
 ;;=4^S40.021D
 ;;^UTILITY(U,$J,358.3,33606,2)
 ;;=^5026163
 ;;^UTILITY(U,$J,358.3,33607,0)
 ;;=S42.202D^^132^1707^6
 ;;^UTILITY(U,$J,358.3,33607,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33607,1,3,0)
 ;;=3^Fracture of upper end of left humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,33607,1,4,0)
 ;;=4^S42.202D
 ;;^UTILITY(U,$J,358.3,33607,2)
 ;;=^5026770
 ;;^UTILITY(U,$J,358.3,33608,0)
 ;;=S42.201D^^132^1707^8
 ;;^UTILITY(U,$J,358.3,33608,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33608,1,3,0)
 ;;=3^Fracture of upper end of right humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,33608,1,4,0)
 ;;=4^S42.201D
 ;;^UTILITY(U,$J,358.3,33608,2)
 ;;=^5026763
 ;;^UTILITY(U,$J,358.3,33609,0)
 ;;=M84.422D^^132^1707^10
 ;;^UTILITY(U,$J,358.3,33609,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33609,1,3,0)
 ;;=3^Pathological fracture, left humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,33609,1,4,0)
 ;;=4^M84.422D
 ;;^UTILITY(U,$J,358.3,33609,2)
 ;;=^5013825
 ;;^UTILITY(U,$J,358.3,33610,0)
 ;;=M84.421D^^132^1707^12
 ;;^UTILITY(U,$J,358.3,33610,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33610,1,3,0)
 ;;=3^Pathological fracture, right humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,33610,1,4,0)
 ;;=4^M84.421D
 ;;^UTILITY(U,$J,358.3,33610,2)
 ;;=^5013819
 ;;^UTILITY(U,$J,358.3,33611,0)
 ;;=M00.862^^132^1708^3
 ;;^UTILITY(U,$J,358.3,33611,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33611,1,3,0)
 ;;=3^Arthritis d/t other bacteria, left knee
 ;;^UTILITY(U,$J,358.3,33611,1,4,0)
 ;;=4^M00.862
 ;;^UTILITY(U,$J,358.3,33611,2)
 ;;=^5009686
 ;;^UTILITY(U,$J,358.3,33612,0)
 ;;=M00.861^^132^1708^4
 ;;^UTILITY(U,$J,358.3,33612,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33612,1,3,0)
 ;;=3^Arthritis d/t other bacteria, right knee
 ;;^UTILITY(U,$J,358.3,33612,1,4,0)
 ;;=4^M00.861
 ;;^UTILITY(U,$J,358.3,33612,2)
 ;;=^5009685
 ;;^UTILITY(U,$J,358.3,33613,0)
 ;;=M22.42^^132^1708^10
 ;;^UTILITY(U,$J,358.3,33613,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33613,1,3,0)
 ;;=3^Chondromalacia patellae, left knee
 ;;^UTILITY(U,$J,358.3,33613,1,4,0)
 ;;=4^M22.42
 ;;^UTILITY(U,$J,358.3,33613,2)
 ;;=^5011187
 ;;^UTILITY(U,$J,358.3,33614,0)
 ;;=M22.41^^132^1708^11
 ;;^UTILITY(U,$J,358.3,33614,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33614,1,3,0)
 ;;=3^Chondromalacia patellae, right knee
 ;;^UTILITY(U,$J,358.3,33614,1,4,0)
 ;;=4^M22.41
 ;;^UTILITY(U,$J,358.3,33614,2)
 ;;=^5011186
 ;;^UTILITY(U,$J,358.3,33615,0)
 ;;=M94.262^^132^1708^12
 ;;^UTILITY(U,$J,358.3,33615,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI23R   3795     printed  Sep 23, 2025@19:57:13                                                                                                                                                                                                    Page 2
IBDEI23R  ; ; 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,33603,1,4,0)
 +2       ;;=4^S42.202A
 +3       ;;^UTILITY(U,$J,358.3,33603,2)
 +4       ;;=^5026768
 +5       ;;^UTILITY(U,$J,358.3,33604,0)
 +6       ;;=S42.201A^^132^1707^7
 +7       ;;^UTILITY(U,$J,358.3,33604,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,33604,1,3,0)
 +10      ;;=3^Fracture of upper end of right humerus, init,Unspec
 +11      ;;^UTILITY(U,$J,358.3,33604,1,4,0)
 +12      ;;=4^S42.201A
 +13      ;;^UTILITY(U,$J,358.3,33604,2)
 +14      ;;=^5026761
 +15      ;;^UTILITY(U,$J,358.3,33605,0)
 +16      ;;=S40.022D^^132^1707^2
 +17      ;;^UTILITY(U,$J,358.3,33605,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,33605,1,3,0)
 +20      ;;=3^Contusion of left upper arm, subsequent encounter
 +21      ;;^UTILITY(U,$J,358.3,33605,1,4,0)
 +22      ;;=4^S40.022D
 +23      ;;^UTILITY(U,$J,358.3,33605,2)
 +24      ;;=^5026166
 +25      ;;^UTILITY(U,$J,358.3,33606,0)
 +26      ;;=S40.021D^^132^1707^4
 +27      ;;^UTILITY(U,$J,358.3,33606,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,33606,1,3,0)
 +30      ;;=3^Contusion of right upper arm, subsequent encounter
 +31      ;;^UTILITY(U,$J,358.3,33606,1,4,0)
 +32      ;;=4^S40.021D
 +33      ;;^UTILITY(U,$J,358.3,33606,2)
 +34      ;;=^5026163
 +35      ;;^UTILITY(U,$J,358.3,33607,0)
 +36      ;;=S42.202D^^132^1707^6
 +37      ;;^UTILITY(U,$J,358.3,33607,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,33607,1,3,0)
 +40      ;;=3^Fracture of upper end of left humerus, subs encntr
 +41      ;;^UTILITY(U,$J,358.3,33607,1,4,0)
 +42      ;;=4^S42.202D
 +43      ;;^UTILITY(U,$J,358.3,33607,2)
 +44      ;;=^5026770
 +45      ;;^UTILITY(U,$J,358.3,33608,0)
 +46      ;;=S42.201D^^132^1707^8
 +47      ;;^UTILITY(U,$J,358.3,33608,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,33608,1,3,0)
 +50      ;;=3^Fracture of upper end of right humerus, subs encntr
 +51      ;;^UTILITY(U,$J,358.3,33608,1,4,0)
 +52      ;;=4^S42.201D
 +53      ;;^UTILITY(U,$J,358.3,33608,2)
 +54      ;;=^5026763
 +55      ;;^UTILITY(U,$J,358.3,33609,0)
 +56      ;;=M84.422D^^132^1707^10
 +57      ;;^UTILITY(U,$J,358.3,33609,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,33609,1,3,0)
 +60      ;;=3^Pathological fracture, left humerus, subs encntr
 +61      ;;^UTILITY(U,$J,358.3,33609,1,4,0)
 +62      ;;=4^M84.422D
 +63      ;;^UTILITY(U,$J,358.3,33609,2)
 +64      ;;=^5013825
 +65      ;;^UTILITY(U,$J,358.3,33610,0)
 +66      ;;=M84.421D^^132^1707^12
 +67      ;;^UTILITY(U,$J,358.3,33610,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,33610,1,3,0)
 +70      ;;=3^Pathological fracture, right humerus, subs encntr
 +71      ;;^UTILITY(U,$J,358.3,33610,1,4,0)
 +72      ;;=4^M84.421D
 +73      ;;^UTILITY(U,$J,358.3,33610,2)
 +74      ;;=^5013819
 +75      ;;^UTILITY(U,$J,358.3,33611,0)
 +76      ;;=M00.862^^132^1708^3
 +77      ;;^UTILITY(U,$J,358.3,33611,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,33611,1,3,0)
 +80      ;;=3^Arthritis d/t other bacteria, left knee
 +81      ;;^UTILITY(U,$J,358.3,33611,1,4,0)
 +82      ;;=4^M00.862
 +83      ;;^UTILITY(U,$J,358.3,33611,2)
 +84      ;;=^5009686
 +85      ;;^UTILITY(U,$J,358.3,33612,0)
 +86      ;;=M00.861^^132^1708^4
 +87      ;;^UTILITY(U,$J,358.3,33612,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,33612,1,3,0)
 +90      ;;=3^Arthritis d/t other bacteria, right knee
 +91      ;;^UTILITY(U,$J,358.3,33612,1,4,0)
 +92      ;;=4^M00.861
 +93      ;;^UTILITY(U,$J,358.3,33612,2)
 +94      ;;=^5009685
 +95      ;;^UTILITY(U,$J,358.3,33613,0)
 +96      ;;=M22.42^^132^1708^10
 +97      ;;^UTILITY(U,$J,358.3,33613,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,33613,1,3,0)
 +100     ;;=3^Chondromalacia patellae, left knee
 +101     ;;^UTILITY(U,$J,358.3,33613,1,4,0)
 +102     ;;=4^M22.42
 +103     ;;^UTILITY(U,$J,358.3,33613,2)
 +104     ;;=^5011187
 +105     ;;^UTILITY(U,$J,358.3,33614,0)
 +106     ;;=M22.41^^132^1708^11
 +107     ;;^UTILITY(U,$J,358.3,33614,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,33614,1,3,0)
 +110     ;;=3^Chondromalacia patellae, right knee
 +111     ;;^UTILITY(U,$J,358.3,33614,1,4,0)
 +112     ;;=4^M22.41
 +113     ;;^UTILITY(U,$J,358.3,33614,2)
 +114     ;;=^5011186
 +115     ;;^UTILITY(U,$J,358.3,33615,0)
 +116     ;;=M94.262^^132^1708^12
 +117     ;;^UTILITY(U,$J,358.3,33615,1,0)
 +118     ;;=^358.31IA^4^2