IBDEI23N ; ; 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,33555,1,3,0)
 ;;=3^Contusion of right forearm, sequela
 ;;^UTILITY(U,$J,358.3,33555,1,4,0)
 ;;=4^S50.11XS
 ;;^UTILITY(U,$J,358.3,33555,2)
 ;;=^5028496
 ;;^UTILITY(U,$J,358.3,33556,0)
 ;;=S50.12XD^^132^1705^3
 ;;^UTILITY(U,$J,358.3,33556,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33556,1,3,0)
 ;;=3^Contusion of left forearm, subsequent encounter
 ;;^UTILITY(U,$J,358.3,33556,1,4,0)
 ;;=4^S50.12XD
 ;;^UTILITY(U,$J,358.3,33556,2)
 ;;=^5028498
 ;;^UTILITY(U,$J,358.3,33557,0)
 ;;=S50.12XS^^132^1705^2
 ;;^UTILITY(U,$J,358.3,33557,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33557,1,3,0)
 ;;=3^Contusion of left forearm, sequela
 ;;^UTILITY(U,$J,358.3,33557,1,4,0)
 ;;=4^S50.12XS
 ;;^UTILITY(U,$J,358.3,33557,2)
 ;;=^5028499
 ;;^UTILITY(U,$J,358.3,33558,0)
 ;;=M19.131^^132^1705^8
 ;;^UTILITY(U,$J,358.3,33558,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33558,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, right wrist
 ;;^UTILITY(U,$J,358.3,33558,1,4,0)
 ;;=4^M19.131
 ;;^UTILITY(U,$J,358.3,33558,2)
 ;;=^5010829
 ;;^UTILITY(U,$J,358.3,33559,0)
 ;;=M19.132^^132^1705^7
 ;;^UTILITY(U,$J,358.3,33559,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33559,1,3,0)
 ;;=3^Post-traumatic osteoarthritis, left wrist
 ;;^UTILITY(U,$J,358.3,33559,1,4,0)
 ;;=4^M19.132
 ;;^UTILITY(U,$J,358.3,33559,2)
 ;;=^5010830
 ;;^UTILITY(U,$J,358.3,33560,0)
 ;;=M19.231^^132^1705^12
 ;;^UTILITY(U,$J,358.3,33560,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33560,1,3,0)
 ;;=3^Secondary osteoarthritis, right wrist
 ;;^UTILITY(U,$J,358.3,33560,1,4,0)
 ;;=4^M19.231
 ;;^UTILITY(U,$J,358.3,33560,2)
 ;;=^5010844
 ;;^UTILITY(U,$J,358.3,33561,0)
 ;;=M19.232^^132^1705^11
 ;;^UTILITY(U,$J,358.3,33561,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33561,1,3,0)
 ;;=3^Secondary osteoarthritis, left wrist
 ;;^UTILITY(U,$J,358.3,33561,1,4,0)
 ;;=4^M19.232
 ;;^UTILITY(U,$J,358.3,33561,2)
 ;;=^5010845
 ;;^UTILITY(U,$J,358.3,33562,0)
 ;;=M00.842^^132^1706^1
 ;;^UTILITY(U,$J,358.3,33562,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33562,1,3,0)
 ;;=3^Arthritis d/t other bacteria, left hand
 ;;^UTILITY(U,$J,358.3,33562,1,4,0)
 ;;=4^M00.842
 ;;^UTILITY(U,$J,358.3,33562,2)
 ;;=^5009680
 ;;^UTILITY(U,$J,358.3,33563,0)
 ;;=M00.841^^132^1706^2
 ;;^UTILITY(U,$J,358.3,33563,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33563,1,3,0)
 ;;=3^Arthritis d/t other bacteria, right hand
 ;;^UTILITY(U,$J,358.3,33563,1,4,0)
 ;;=4^M00.841
 ;;^UTILITY(U,$J,358.3,33563,2)
 ;;=^5009679
 ;;^UTILITY(U,$J,358.3,33564,0)
 ;;=M24.542^^132^1706^3
 ;;^UTILITY(U,$J,358.3,33564,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33564,1,3,0)
 ;;=3^Contracture, left hand
 ;;^UTILITY(U,$J,358.3,33564,1,4,0)
 ;;=4^M24.542
 ;;^UTILITY(U,$J,358.3,33564,2)
 ;;=^5011412
 ;;^UTILITY(U,$J,358.3,33565,0)
 ;;=M24.541^^132^1706^4
 ;;^UTILITY(U,$J,358.3,33565,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33565,1,3,0)
 ;;=3^Contracture, right hand
 ;;^UTILITY(U,$J,358.3,33565,1,4,0)
 ;;=4^M24.541
 ;;^UTILITY(U,$J,358.3,33565,2)
 ;;=^5011411
 ;;^UTILITY(U,$J,358.3,33566,0)
 ;;=S60.222A^^132^1706^5
 ;;^UTILITY(U,$J,358.3,33566,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,33566,1,3,0)
 ;;=3^Contusion of left hand, initial encounter
 ;;^UTILITY(U,$J,358.3,33566,1,4,0)
 ;;=4^S60.222A
 ;;^UTILITY(U,$J,358.3,33566,2)
 ;;=^5032279
 ;;^UTILITY(U,$J,358.3,33567,0)
 ;;=S60.221A^^132^1706^7
 ;;^UTILITY(U,$J,358.3,33567,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI23N   3775     printed  Sep 23, 2025@19:57:09                                                                                                                                                                                                    Page 2
IBDEI23N  ; ; 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,33555,1,3,0)
 +2       ;;=3^Contusion of right forearm, sequela
 +3       ;;^UTILITY(U,$J,358.3,33555,1,4,0)
 +4       ;;=4^S50.11XS
 +5       ;;^UTILITY(U,$J,358.3,33555,2)
 +6       ;;=^5028496
 +7       ;;^UTILITY(U,$J,358.3,33556,0)
 +8       ;;=S50.12XD^^132^1705^3
 +9       ;;^UTILITY(U,$J,358.3,33556,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,33556,1,3,0)
 +12      ;;=3^Contusion of left forearm, subsequent encounter
 +13      ;;^UTILITY(U,$J,358.3,33556,1,4,0)
 +14      ;;=4^S50.12XD
 +15      ;;^UTILITY(U,$J,358.3,33556,2)
 +16      ;;=^5028498
 +17      ;;^UTILITY(U,$J,358.3,33557,0)
 +18      ;;=S50.12XS^^132^1705^2
 +19      ;;^UTILITY(U,$J,358.3,33557,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,33557,1,3,0)
 +22      ;;=3^Contusion of left forearm, sequela
 +23      ;;^UTILITY(U,$J,358.3,33557,1,4,0)
 +24      ;;=4^S50.12XS
 +25      ;;^UTILITY(U,$J,358.3,33557,2)
 +26      ;;=^5028499
 +27      ;;^UTILITY(U,$J,358.3,33558,0)
 +28      ;;=M19.131^^132^1705^8
 +29      ;;^UTILITY(U,$J,358.3,33558,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,33558,1,3,0)
 +32      ;;=3^Post-traumatic osteoarthritis, right wrist
 +33      ;;^UTILITY(U,$J,358.3,33558,1,4,0)
 +34      ;;=4^M19.131
 +35      ;;^UTILITY(U,$J,358.3,33558,2)
 +36      ;;=^5010829
 +37      ;;^UTILITY(U,$J,358.3,33559,0)
 +38      ;;=M19.132^^132^1705^7
 +39      ;;^UTILITY(U,$J,358.3,33559,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,33559,1,3,0)
 +42      ;;=3^Post-traumatic osteoarthritis, left wrist
 +43      ;;^UTILITY(U,$J,358.3,33559,1,4,0)
 +44      ;;=4^M19.132
 +45      ;;^UTILITY(U,$J,358.3,33559,2)
 +46      ;;=^5010830
 +47      ;;^UTILITY(U,$J,358.3,33560,0)
 +48      ;;=M19.231^^132^1705^12
 +49      ;;^UTILITY(U,$J,358.3,33560,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,33560,1,3,0)
 +52      ;;=3^Secondary osteoarthritis, right wrist
 +53      ;;^UTILITY(U,$J,358.3,33560,1,4,0)
 +54      ;;=4^M19.231
 +55      ;;^UTILITY(U,$J,358.3,33560,2)
 +56      ;;=^5010844
 +57      ;;^UTILITY(U,$J,358.3,33561,0)
 +58      ;;=M19.232^^132^1705^11
 +59      ;;^UTILITY(U,$J,358.3,33561,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,33561,1,3,0)
 +62      ;;=3^Secondary osteoarthritis, left wrist
 +63      ;;^UTILITY(U,$J,358.3,33561,1,4,0)
 +64      ;;=4^M19.232
 +65      ;;^UTILITY(U,$J,358.3,33561,2)
 +66      ;;=^5010845
 +67      ;;^UTILITY(U,$J,358.3,33562,0)
 +68      ;;=M00.842^^132^1706^1
 +69      ;;^UTILITY(U,$J,358.3,33562,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,33562,1,3,0)
 +72      ;;=3^Arthritis d/t other bacteria, left hand
 +73      ;;^UTILITY(U,$J,358.3,33562,1,4,0)
 +74      ;;=4^M00.842
 +75      ;;^UTILITY(U,$J,358.3,33562,2)
 +76      ;;=^5009680
 +77      ;;^UTILITY(U,$J,358.3,33563,0)
 +78      ;;=M00.841^^132^1706^2
 +79      ;;^UTILITY(U,$J,358.3,33563,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,33563,1,3,0)
 +82      ;;=3^Arthritis d/t other bacteria, right hand
 +83      ;;^UTILITY(U,$J,358.3,33563,1,4,0)
 +84      ;;=4^M00.841
 +85      ;;^UTILITY(U,$J,358.3,33563,2)
 +86      ;;=^5009679
 +87      ;;^UTILITY(U,$J,358.3,33564,0)
 +88      ;;=M24.542^^132^1706^3
 +89      ;;^UTILITY(U,$J,358.3,33564,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,33564,1,3,0)
 +92      ;;=3^Contracture, left hand
 +93      ;;^UTILITY(U,$J,358.3,33564,1,4,0)
 +94      ;;=4^M24.542
 +95      ;;^UTILITY(U,$J,358.3,33564,2)
 +96      ;;=^5011412
 +97      ;;^UTILITY(U,$J,358.3,33565,0)
 +98      ;;=M24.541^^132^1706^4
 +99      ;;^UTILITY(U,$J,358.3,33565,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,33565,1,3,0)
 +102     ;;=3^Contracture, right hand
 +103     ;;^UTILITY(U,$J,358.3,33565,1,4,0)
 +104     ;;=4^M24.541
 +105     ;;^UTILITY(U,$J,358.3,33565,2)
 +106     ;;=^5011411
 +107     ;;^UTILITY(U,$J,358.3,33566,0)
 +108     ;;=S60.222A^^132^1706^5
 +109     ;;^UTILITY(U,$J,358.3,33566,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,33566,1,3,0)
 +112     ;;=3^Contusion of left hand, initial encounter
 +113     ;;^UTILITY(U,$J,358.3,33566,1,4,0)
 +114     ;;=4^S60.222A
 +115     ;;^UTILITY(U,$J,358.3,33566,2)
 +116     ;;=^5032279
 +117     ;;^UTILITY(U,$J,358.3,33567,0)
 +118     ;;=S60.221A^^132^1706^7
 +119     ;;^UTILITY(U,$J,358.3,33567,1,0)
 +120     ;;=^358.31IA^4^2