IBDEI1AM ; ; 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,20888,1,3,0)
 ;;=3^Disp fx of right radial styloid process, sequela 
 ;;^UTILITY(U,$J,358.3,20888,1,4,0)
 ;;=4^S52.511S
 ;;^UTILITY(U,$J,358.3,20888,2)
 ;;=^5030634
 ;;^UTILITY(U,$J,358.3,20889,0)
 ;;=S52.514S^^67^890^109
 ;;^UTILITY(U,$J,358.3,20889,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20889,1,3,0)
 ;;=3^Nondisp fx of right radial styloid process, sequela
 ;;^UTILITY(U,$J,358.3,20889,1,4,0)
 ;;=4^S52.514S
 ;;^UTILITY(U,$J,358.3,20889,2)
 ;;=^5030682
 ;;^UTILITY(U,$J,358.3,20890,0)
 ;;=S22.22XS^^67^891^2
 ;;^UTILITY(U,$J,358.3,20890,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20890,1,3,0)
 ;;=3^Fracture of body of sternum, sequela
 ;;^UTILITY(U,$J,358.3,20890,1,4,0)
 ;;=4^S22.22XS
 ;;^UTILITY(U,$J,358.3,20890,2)
 ;;=^5023092
 ;;^UTILITY(U,$J,358.3,20891,0)
 ;;=S22.21XS^^67^891^3
 ;;^UTILITY(U,$J,358.3,20891,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20891,1,3,0)
 ;;=3^Fracture of manubrium, sequela
 ;;^UTILITY(U,$J,358.3,20891,1,4,0)
 ;;=4^S22.21XS
 ;;^UTILITY(U,$J,358.3,20891,2)
 ;;=^5023086
 ;;^UTILITY(U,$J,358.3,20892,0)
 ;;=S22.32XS^^67^891^5
 ;;^UTILITY(U,$J,358.3,20892,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20892,1,3,0)
 ;;=3^Fracture of one rib, left side, sequela
 ;;^UTILITY(U,$J,358.3,20892,1,4,0)
 ;;=4^S22.32XS
 ;;^UTILITY(U,$J,358.3,20892,2)
 ;;=^5023116
 ;;^UTILITY(U,$J,358.3,20893,0)
 ;;=S22.31XS^^67^891^6
 ;;^UTILITY(U,$J,358.3,20893,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20893,1,3,0)
 ;;=3^Fracture of one rib, right side, sequela
 ;;^UTILITY(U,$J,358.3,20893,1,4,0)
 ;;=4^S22.31XS
 ;;^UTILITY(U,$J,358.3,20893,2)
 ;;=^5023110
 ;;^UTILITY(U,$J,358.3,20894,0)
 ;;=S22.24XS^^67^891^8
 ;;^UTILITY(U,$J,358.3,20894,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20894,1,3,0)
 ;;=3^Fracture of xiphoid process, sequela
 ;;^UTILITY(U,$J,358.3,20894,1,4,0)
 ;;=4^S22.24XS
 ;;^UTILITY(U,$J,358.3,20894,2)
 ;;=^5023104
 ;;^UTILITY(U,$J,358.3,20895,0)
 ;;=S02.42XS^^67^891^1
 ;;^UTILITY(U,$J,358.3,20895,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20895,1,3,0)
 ;;=3^Fracture of alveolus of maxilla, sequela
 ;;^UTILITY(U,$J,358.3,20895,1,4,0)
 ;;=4^S02.42XS
 ;;^UTILITY(U,$J,358.3,20895,2)
 ;;=^5020359
 ;;^UTILITY(U,$J,358.3,20896,0)
 ;;=S02.2XXS^^67^891^4
 ;;^UTILITY(U,$J,358.3,20896,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20896,1,3,0)
 ;;=3^Fracture of nasal bones, sequela
 ;;^UTILITY(U,$J,358.3,20896,1,4,0)
 ;;=4^S02.2XXS
 ;;^UTILITY(U,$J,358.3,20896,2)
 ;;=^5020311
 ;;^UTILITY(U,$J,358.3,20897,0)
 ;;=S02.66XS^^67^891^7
 ;;^UTILITY(U,$J,358.3,20897,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20897,1,3,0)
 ;;=3^Fracture of symphysis of mandible, sequela
 ;;^UTILITY(U,$J,358.3,20897,1,4,0)
 ;;=4^S02.66XS
 ;;^UTILITY(U,$J,358.3,20897,2)
 ;;=^5020413
 ;;^UTILITY(U,$J,358.3,20898,0)
 ;;=S22.43XS^^67^891^9
 ;;^UTILITY(U,$J,358.3,20898,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20898,1,3,0)
 ;;=3^Multiple fractures of ribs, bilateral, sequela
 ;;^UTILITY(U,$J,358.3,20898,1,4,0)
 ;;=4^S22.43XS
 ;;^UTILITY(U,$J,358.3,20898,2)
 ;;=^5023140
 ;;^UTILITY(U,$J,358.3,20899,0)
 ;;=S22.42XS^^67^891^10
 ;;^UTILITY(U,$J,358.3,20899,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,20899,1,3,0)
 ;;=3^Multiple fractures of ribs, left side, sequela
 ;;^UTILITY(U,$J,358.3,20899,1,4,0)
 ;;=4^S22.42XS
 ;;^UTILITY(U,$J,358.3,20899,2)
 ;;=^5023134
 ;;^UTILITY(U,$J,358.3,20900,0)
 ;;=S22.41XS^^67^891^11
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1AM   3765     printed  Sep 23, 2025@19:41                                                                                                                                                                                                       Page 2
IBDEI1AM  ; ; 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,20888,1,3,0)
 +2       ;;=3^Disp fx of right radial styloid process, sequela 
 +3       ;;^UTILITY(U,$J,358.3,20888,1,4,0)
 +4       ;;=4^S52.511S
 +5       ;;^UTILITY(U,$J,358.3,20888,2)
 +6       ;;=^5030634
 +7       ;;^UTILITY(U,$J,358.3,20889,0)
 +8       ;;=S52.514S^^67^890^109
 +9       ;;^UTILITY(U,$J,358.3,20889,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,20889,1,3,0)
 +12      ;;=3^Nondisp fx of right radial styloid process, sequela
 +13      ;;^UTILITY(U,$J,358.3,20889,1,4,0)
 +14      ;;=4^S52.514S
 +15      ;;^UTILITY(U,$J,358.3,20889,2)
 +16      ;;=^5030682
 +17      ;;^UTILITY(U,$J,358.3,20890,0)
 +18      ;;=S22.22XS^^67^891^2
 +19      ;;^UTILITY(U,$J,358.3,20890,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,20890,1,3,0)
 +22      ;;=3^Fracture of body of sternum, sequela
 +23      ;;^UTILITY(U,$J,358.3,20890,1,4,0)
 +24      ;;=4^S22.22XS
 +25      ;;^UTILITY(U,$J,358.3,20890,2)
 +26      ;;=^5023092
 +27      ;;^UTILITY(U,$J,358.3,20891,0)
 +28      ;;=S22.21XS^^67^891^3
 +29      ;;^UTILITY(U,$J,358.3,20891,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,20891,1,3,0)
 +32      ;;=3^Fracture of manubrium, sequela
 +33      ;;^UTILITY(U,$J,358.3,20891,1,4,0)
 +34      ;;=4^S22.21XS
 +35      ;;^UTILITY(U,$J,358.3,20891,2)
 +36      ;;=^5023086
 +37      ;;^UTILITY(U,$J,358.3,20892,0)
 +38      ;;=S22.32XS^^67^891^5
 +39      ;;^UTILITY(U,$J,358.3,20892,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,20892,1,3,0)
 +42      ;;=3^Fracture of one rib, left side, sequela
 +43      ;;^UTILITY(U,$J,358.3,20892,1,4,0)
 +44      ;;=4^S22.32XS
 +45      ;;^UTILITY(U,$J,358.3,20892,2)
 +46      ;;=^5023116
 +47      ;;^UTILITY(U,$J,358.3,20893,0)
 +48      ;;=S22.31XS^^67^891^6
 +49      ;;^UTILITY(U,$J,358.3,20893,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,20893,1,3,0)
 +52      ;;=3^Fracture of one rib, right side, sequela
 +53      ;;^UTILITY(U,$J,358.3,20893,1,4,0)
 +54      ;;=4^S22.31XS
 +55      ;;^UTILITY(U,$J,358.3,20893,2)
 +56      ;;=^5023110
 +57      ;;^UTILITY(U,$J,358.3,20894,0)
 +58      ;;=S22.24XS^^67^891^8
 +59      ;;^UTILITY(U,$J,358.3,20894,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,20894,1,3,0)
 +62      ;;=3^Fracture of xiphoid process, sequela
 +63      ;;^UTILITY(U,$J,358.3,20894,1,4,0)
 +64      ;;=4^S22.24XS
 +65      ;;^UTILITY(U,$J,358.3,20894,2)
 +66      ;;=^5023104
 +67      ;;^UTILITY(U,$J,358.3,20895,0)
 +68      ;;=S02.42XS^^67^891^1
 +69      ;;^UTILITY(U,$J,358.3,20895,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,20895,1,3,0)
 +72      ;;=3^Fracture of alveolus of maxilla, sequela
 +73      ;;^UTILITY(U,$J,358.3,20895,1,4,0)
 +74      ;;=4^S02.42XS
 +75      ;;^UTILITY(U,$J,358.3,20895,2)
 +76      ;;=^5020359
 +77      ;;^UTILITY(U,$J,358.3,20896,0)
 +78      ;;=S02.2XXS^^67^891^4
 +79      ;;^UTILITY(U,$J,358.3,20896,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,20896,1,3,0)
 +82      ;;=3^Fracture of nasal bones, sequela
 +83      ;;^UTILITY(U,$J,358.3,20896,1,4,0)
 +84      ;;=4^S02.2XXS
 +85      ;;^UTILITY(U,$J,358.3,20896,2)
 +86      ;;=^5020311
 +87      ;;^UTILITY(U,$J,358.3,20897,0)
 +88      ;;=S02.66XS^^67^891^7
 +89      ;;^UTILITY(U,$J,358.3,20897,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,20897,1,3,0)
 +92      ;;=3^Fracture of symphysis of mandible, sequela
 +93      ;;^UTILITY(U,$J,358.3,20897,1,4,0)
 +94      ;;=4^S02.66XS
 +95      ;;^UTILITY(U,$J,358.3,20897,2)
 +96      ;;=^5020413
 +97      ;;^UTILITY(U,$J,358.3,20898,0)
 +98      ;;=S22.43XS^^67^891^9
 +99      ;;^UTILITY(U,$J,358.3,20898,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,20898,1,3,0)
 +102     ;;=3^Multiple fractures of ribs, bilateral, sequela
 +103     ;;^UTILITY(U,$J,358.3,20898,1,4,0)
 +104     ;;=4^S22.43XS
 +105     ;;^UTILITY(U,$J,358.3,20898,2)
 +106     ;;=^5023140
 +107     ;;^UTILITY(U,$J,358.3,20899,0)
 +108     ;;=S22.42XS^^67^891^10
 +109     ;;^UTILITY(U,$J,358.3,20899,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,20899,1,3,0)
 +112     ;;=3^Multiple fractures of ribs, left side, sequela
 +113     ;;^UTILITY(U,$J,358.3,20899,1,4,0)
 +114     ;;=4^S22.42XS
 +115     ;;^UTILITY(U,$J,358.3,20899,2)
 +116     ;;=^5023134
 +117     ;;^UTILITY(U,$J,358.3,20900,0)
 +118     ;;=S22.41XS^^67^891^11