IBDEI0V3 ; ; 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,14030,2)
 ;;=^5010833
 ;;^UTILITY(U,$J,358.3,14031,0)
 ;;=M19.231^^55^668^25
 ;;^UTILITY(U,$J,358.3,14031,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14031,1,3,0)
 ;;=3^Secondary osteoarthritis, right wrist
 ;;^UTILITY(U,$J,358.3,14031,1,4,0)
 ;;=4^M19.231
 ;;^UTILITY(U,$J,358.3,14031,2)
 ;;=^5010844
 ;;^UTILITY(U,$J,358.3,14032,0)
 ;;=M19.232^^55^668^24
 ;;^UTILITY(U,$J,358.3,14032,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14032,1,3,0)
 ;;=3^Secondary osteoarthritis, left wrist
 ;;^UTILITY(U,$J,358.3,14032,1,4,0)
 ;;=4^M19.232
 ;;^UTILITY(U,$J,358.3,14032,2)
 ;;=^5010845
 ;;^UTILITY(U,$J,358.3,14033,0)
 ;;=S40.022A^^55^669^1
 ;;^UTILITY(U,$J,358.3,14033,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14033,1,3,0)
 ;;=3^Contusion of left upper arm, initial encounter
 ;;^UTILITY(U,$J,358.3,14033,1,4,0)
 ;;=4^S40.022A
 ;;^UTILITY(U,$J,358.3,14033,2)
 ;;=^5026165
 ;;^UTILITY(U,$J,358.3,14034,0)
 ;;=S40.021A^^55^669^3
 ;;^UTILITY(U,$J,358.3,14034,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14034,1,3,0)
 ;;=3^Contusion of right upper arm, initial encounter
 ;;^UTILITY(U,$J,358.3,14034,1,4,0)
 ;;=4^S40.021A
 ;;^UTILITY(U,$J,358.3,14034,2)
 ;;=^5026162
 ;;^UTILITY(U,$J,358.3,14035,0)
 ;;=M84.422A^^55^669^9
 ;;^UTILITY(U,$J,358.3,14035,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14035,1,3,0)
 ;;=3^Pathological fracture, left humerus, init for fx
 ;;^UTILITY(U,$J,358.3,14035,1,4,0)
 ;;=4^M84.422A
 ;;^UTILITY(U,$J,358.3,14035,2)
 ;;=^5013824
 ;;^UTILITY(U,$J,358.3,14036,0)
 ;;=M84.421A^^55^669^11
 ;;^UTILITY(U,$J,358.3,14036,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14036,1,3,0)
 ;;=3^Pathological fracture, right humerus, init for fx
 ;;^UTILITY(U,$J,358.3,14036,1,4,0)
 ;;=4^M84.421A
 ;;^UTILITY(U,$J,358.3,14036,2)
 ;;=^5013818
 ;;^UTILITY(U,$J,358.3,14037,0)
 ;;=S42.202A^^55^669^5
 ;;^UTILITY(U,$J,358.3,14037,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14037,1,3,0)
 ;;=3^Fracture of upper end of left humerus, init for clos fx,Unspec
 ;;^UTILITY(U,$J,358.3,14037,1,4,0)
 ;;=4^S42.202A
 ;;^UTILITY(U,$J,358.3,14037,2)
 ;;=^5026768
 ;;^UTILITY(U,$J,358.3,14038,0)
 ;;=S42.201A^^55^669^7
 ;;^UTILITY(U,$J,358.3,14038,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14038,1,3,0)
 ;;=3^Fracture of upper end of right humerus, init,Unspec
 ;;^UTILITY(U,$J,358.3,14038,1,4,0)
 ;;=4^S42.201A
 ;;^UTILITY(U,$J,358.3,14038,2)
 ;;=^5026761
 ;;^UTILITY(U,$J,358.3,14039,0)
 ;;=S40.022D^^55^669^2
 ;;^UTILITY(U,$J,358.3,14039,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14039,1,3,0)
 ;;=3^Contusion of left upper arm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14039,1,4,0)
 ;;=4^S40.022D
 ;;^UTILITY(U,$J,358.3,14039,2)
 ;;=^5026166
 ;;^UTILITY(U,$J,358.3,14040,0)
 ;;=S40.021D^^55^669^4
 ;;^UTILITY(U,$J,358.3,14040,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14040,1,3,0)
 ;;=3^Contusion of right upper arm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,14040,1,4,0)
 ;;=4^S40.021D
 ;;^UTILITY(U,$J,358.3,14040,2)
 ;;=^5026163
 ;;^UTILITY(U,$J,358.3,14041,0)
 ;;=S42.202D^^55^669^6
 ;;^UTILITY(U,$J,358.3,14041,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,14041,1,3,0)
 ;;=3^Fracture of upper end of left humerus, subs encntr
 ;;^UTILITY(U,$J,358.3,14041,1,4,0)
 ;;=4^S42.202D
 ;;^UTILITY(U,$J,358.3,14041,2)
 ;;=^5026770
 ;;^UTILITY(U,$J,358.3,14042,0)
 ;;=S42.201D^^55^669^8
 ;;^UTILITY(U,$J,358.3,14042,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0V3   3754     printed  Sep 23, 2025@19:32:20                                                                                                                                                                                                    Page 2
IBDEI0V3  ; ; 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,14030,2)
 +2       ;;=^5010833
 +3       ;;^UTILITY(U,$J,358.3,14031,0)
 +4       ;;=M19.231^^55^668^25
 +5       ;;^UTILITY(U,$J,358.3,14031,1,0)
 +6       ;;=^358.31IA^4^2
 +7       ;;^UTILITY(U,$J,358.3,14031,1,3,0)
 +8       ;;=3^Secondary osteoarthritis, right wrist
 +9       ;;^UTILITY(U,$J,358.3,14031,1,4,0)
 +10      ;;=4^M19.231
 +11      ;;^UTILITY(U,$J,358.3,14031,2)
 +12      ;;=^5010844
 +13      ;;^UTILITY(U,$J,358.3,14032,0)
 +14      ;;=M19.232^^55^668^24
 +15      ;;^UTILITY(U,$J,358.3,14032,1,0)
 +16      ;;=^358.31IA^4^2
 +17      ;;^UTILITY(U,$J,358.3,14032,1,3,0)
 +18      ;;=3^Secondary osteoarthritis, left wrist
 +19      ;;^UTILITY(U,$J,358.3,14032,1,4,0)
 +20      ;;=4^M19.232
 +21      ;;^UTILITY(U,$J,358.3,14032,2)
 +22      ;;=^5010845
 +23      ;;^UTILITY(U,$J,358.3,14033,0)
 +24      ;;=S40.022A^^55^669^1
 +25      ;;^UTILITY(U,$J,358.3,14033,1,0)
 +26      ;;=^358.31IA^4^2
 +27      ;;^UTILITY(U,$J,358.3,14033,1,3,0)
 +28      ;;=3^Contusion of left upper arm, initial encounter
 +29      ;;^UTILITY(U,$J,358.3,14033,1,4,0)
 +30      ;;=4^S40.022A
 +31      ;;^UTILITY(U,$J,358.3,14033,2)
 +32      ;;=^5026165
 +33      ;;^UTILITY(U,$J,358.3,14034,0)
 +34      ;;=S40.021A^^55^669^3
 +35      ;;^UTILITY(U,$J,358.3,14034,1,0)
 +36      ;;=^358.31IA^4^2
 +37      ;;^UTILITY(U,$J,358.3,14034,1,3,0)
 +38      ;;=3^Contusion of right upper arm, initial encounter
 +39      ;;^UTILITY(U,$J,358.3,14034,1,4,0)
 +40      ;;=4^S40.021A
 +41      ;;^UTILITY(U,$J,358.3,14034,2)
 +42      ;;=^5026162
 +43      ;;^UTILITY(U,$J,358.3,14035,0)
 +44      ;;=M84.422A^^55^669^9
 +45      ;;^UTILITY(U,$J,358.3,14035,1,0)
 +46      ;;=^358.31IA^4^2
 +47      ;;^UTILITY(U,$J,358.3,14035,1,3,0)
 +48      ;;=3^Pathological fracture, left humerus, init for fx
 +49      ;;^UTILITY(U,$J,358.3,14035,1,4,0)
 +50      ;;=4^M84.422A
 +51      ;;^UTILITY(U,$J,358.3,14035,2)
 +52      ;;=^5013824
 +53      ;;^UTILITY(U,$J,358.3,14036,0)
 +54      ;;=M84.421A^^55^669^11
 +55      ;;^UTILITY(U,$J,358.3,14036,1,0)
 +56      ;;=^358.31IA^4^2
 +57      ;;^UTILITY(U,$J,358.3,14036,1,3,0)
 +58      ;;=3^Pathological fracture, right humerus, init for fx
 +59      ;;^UTILITY(U,$J,358.3,14036,1,4,0)
 +60      ;;=4^M84.421A
 +61      ;;^UTILITY(U,$J,358.3,14036,2)
 +62      ;;=^5013818
 +63      ;;^UTILITY(U,$J,358.3,14037,0)
 +64      ;;=S42.202A^^55^669^5
 +65      ;;^UTILITY(U,$J,358.3,14037,1,0)
 +66      ;;=^358.31IA^4^2
 +67      ;;^UTILITY(U,$J,358.3,14037,1,3,0)
 +68      ;;=3^Fracture of upper end of left humerus, init for clos fx,Unspec
 +69      ;;^UTILITY(U,$J,358.3,14037,1,4,0)
 +70      ;;=4^S42.202A
 +71      ;;^UTILITY(U,$J,358.3,14037,2)
 +72      ;;=^5026768
 +73      ;;^UTILITY(U,$J,358.3,14038,0)
 +74      ;;=S42.201A^^55^669^7
 +75      ;;^UTILITY(U,$J,358.3,14038,1,0)
 +76      ;;=^358.31IA^4^2
 +77      ;;^UTILITY(U,$J,358.3,14038,1,3,0)
 +78      ;;=3^Fracture of upper end of right humerus, init,Unspec
 +79      ;;^UTILITY(U,$J,358.3,14038,1,4,0)
 +80      ;;=4^S42.201A
 +81      ;;^UTILITY(U,$J,358.3,14038,2)
 +82      ;;=^5026761
 +83      ;;^UTILITY(U,$J,358.3,14039,0)
 +84      ;;=S40.022D^^55^669^2
 +85      ;;^UTILITY(U,$J,358.3,14039,1,0)
 +86      ;;=^358.31IA^4^2
 +87      ;;^UTILITY(U,$J,358.3,14039,1,3,0)
 +88      ;;=3^Contusion of left upper arm, subsequent encounter
 +89      ;;^UTILITY(U,$J,358.3,14039,1,4,0)
 +90      ;;=4^S40.022D
 +91      ;;^UTILITY(U,$J,358.3,14039,2)
 +92      ;;=^5026166
 +93      ;;^UTILITY(U,$J,358.3,14040,0)
 +94      ;;=S40.021D^^55^669^4
 +95      ;;^UTILITY(U,$J,358.3,14040,1,0)
 +96      ;;=^358.31IA^4^2
 +97      ;;^UTILITY(U,$J,358.3,14040,1,3,0)
 +98      ;;=3^Contusion of right upper arm, subsequent encounter
 +99      ;;^UTILITY(U,$J,358.3,14040,1,4,0)
 +100     ;;=4^S40.021D
 +101     ;;^UTILITY(U,$J,358.3,14040,2)
 +102     ;;=^5026163
 +103     ;;^UTILITY(U,$J,358.3,14041,0)
 +104     ;;=S42.202D^^55^669^6
 +105     ;;^UTILITY(U,$J,358.3,14041,1,0)
 +106     ;;=^358.31IA^4^2
 +107     ;;^UTILITY(U,$J,358.3,14041,1,3,0)
 +108     ;;=3^Fracture of upper end of left humerus, subs encntr
 +109     ;;^UTILITY(U,$J,358.3,14041,1,4,0)
 +110     ;;=4^S42.202D
 +111     ;;^UTILITY(U,$J,358.3,14041,2)
 +112     ;;=^5026770
 +113     ;;^UTILITY(U,$J,358.3,14042,0)
 +114     ;;=S42.201D^^55^669^8
 +115     ;;^UTILITY(U,$J,358.3,14042,1,0)
 +116     ;;=^358.31IA^4^2