IBDEI2EH ; ; 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,38312,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38312,1,3,0)
 ;;=3^Maxillary fracture, unsp, init encntr for closed fracture
 ;;^UTILITY(U,$J,358.3,38312,1,4,0)
 ;;=4^S02.401A
 ;;^UTILITY(U,$J,358.3,38312,2)
 ;;=^5020324
 ;;^UTILITY(U,$J,358.3,38313,0)
 ;;=S02.402A^^149^1947^29
 ;;^UTILITY(U,$J,358.3,38313,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38313,1,3,0)
 ;;=3^Zygomatic fracture, unsp, init encntr for closed fracture
 ;;^UTILITY(U,$J,358.3,38313,1,4,0)
 ;;=4^S02.402A
 ;;^UTILITY(U,$J,358.3,38313,2)
 ;;=^5020330
 ;;^UTILITY(U,$J,358.3,38314,0)
 ;;=S02.609A^^149^1947^10
 ;;^UTILITY(U,$J,358.3,38314,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38314,1,3,0)
 ;;=3^Fracture of mandible, unsp, init encntr for closed fracture
 ;;^UTILITY(U,$J,358.3,38314,1,4,0)
 ;;=4^S02.609A
 ;;^UTILITY(U,$J,358.3,38314,2)
 ;;=^5020372
 ;;^UTILITY(U,$J,358.3,38315,0)
 ;;=S02.69XA^^149^1947^9
 ;;^UTILITY(U,$J,358.3,38315,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38315,1,3,0)
 ;;=3^Fracture of mandible of oth site, init for clos fx
 ;;^UTILITY(U,$J,358.3,38315,1,4,0)
 ;;=4^S02.69XA
 ;;^UTILITY(U,$J,358.3,38315,2)
 ;;=^5020420
 ;;^UTILITY(U,$J,358.3,38316,0)
 ;;=S02.91XA^^149^1947^20
 ;;^UTILITY(U,$J,358.3,38316,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38316,1,3,0)
 ;;=3^Fracture of skull unspec, init encntr for closed fracture
 ;;^UTILITY(U,$J,358.3,38316,1,4,0)
 ;;=4^S02.91XA
 ;;^UTILITY(U,$J,358.3,38316,2)
 ;;=^5020432
 ;;^UTILITY(U,$J,358.3,38317,0)
 ;;=S02.92XA^^149^1947^7
 ;;^UTILITY(U,$J,358.3,38317,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38317,1,3,0)
 ;;=3^Fracture of facial bones unspec, init for clos fx
 ;;^UTILITY(U,$J,358.3,38317,1,4,0)
 ;;=4^S02.92XA
 ;;^UTILITY(U,$J,358.3,38317,2)
 ;;=^5020438
 ;;^UTILITY(U,$J,358.3,38318,0)
 ;;=S02.0XXB^^149^1947^23
 ;;^UTILITY(U,$J,358.3,38318,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38318,1,3,0)
 ;;=3^Fracture of vault of skull, init encntr for open fracture
 ;;^UTILITY(U,$J,358.3,38318,1,4,0)
 ;;=4^S02.0XXB
 ;;^UTILITY(U,$J,358.3,38318,2)
 ;;=^5020253
 ;;^UTILITY(U,$J,358.3,38319,0)
 ;;=S02.2XXB^^149^1947^12
 ;;^UTILITY(U,$J,358.3,38319,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38319,1,3,0)
 ;;=3^Fracture of nasal bones, initial encounter for open fracture
 ;;^UTILITY(U,$J,358.3,38319,1,4,0)
 ;;=4^S02.2XXB
 ;;^UTILITY(U,$J,358.3,38319,2)
 ;;=^5020307
 ;;^UTILITY(U,$J,358.3,38320,0)
 ;;=S02.402B^^149^1947^30
 ;;^UTILITY(U,$J,358.3,38320,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38320,1,3,0)
 ;;=3^Zygomatic fracture, unsp, init encntr for open fracture
 ;;^UTILITY(U,$J,358.3,38320,1,4,0)
 ;;=4^S02.402B
 ;;^UTILITY(U,$J,358.3,38320,2)
 ;;=^5020331
 ;;^UTILITY(U,$J,358.3,38321,0)
 ;;=S02.91XB^^149^1947^21
 ;;^UTILITY(U,$J,358.3,38321,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38321,1,3,0)
 ;;=3^Fracture of skull unspec, init encntr for open fracture
 ;;^UTILITY(U,$J,358.3,38321,1,4,0)
 ;;=4^S02.91XB
 ;;^UTILITY(U,$J,358.3,38321,2)
 ;;=^5020433
 ;;^UTILITY(U,$J,358.3,38322,0)
 ;;=S02.0XXD^^149^1947^25
 ;;^UTILITY(U,$J,358.3,38322,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,38322,1,3,0)
 ;;=3^Fracture of vault of skull, subs for fx w routn heal
 ;;^UTILITY(U,$J,358.3,38322,1,4,0)
 ;;=4^S02.0XXD
 ;;^UTILITY(U,$J,358.3,38322,2)
 ;;=^5020254
 ;;^UTILITY(U,$J,358.3,38323,0)
 ;;=S02.0XXS^^149^1947^24
 ;;^UTILITY(U,$J,358.3,38323,1,0)
 ;;=^358.31IA^4^2
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2EH   3765     printed  Sep 23, 2025@20:03:11                                                                                                                                                                                                    Page 2
IBDEI2EH  ; ; 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,38312,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,38312,1,3,0)
 +4       ;;=3^Maxillary fracture, unsp, init encntr for closed fracture
 +5       ;;^UTILITY(U,$J,358.3,38312,1,4,0)
 +6       ;;=4^S02.401A
 +7       ;;^UTILITY(U,$J,358.3,38312,2)
 +8       ;;=^5020324
 +9       ;;^UTILITY(U,$J,358.3,38313,0)
 +10      ;;=S02.402A^^149^1947^29
 +11      ;;^UTILITY(U,$J,358.3,38313,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,38313,1,3,0)
 +14      ;;=3^Zygomatic fracture, unsp, init encntr for closed fracture
 +15      ;;^UTILITY(U,$J,358.3,38313,1,4,0)
 +16      ;;=4^S02.402A
 +17      ;;^UTILITY(U,$J,358.3,38313,2)
 +18      ;;=^5020330
 +19      ;;^UTILITY(U,$J,358.3,38314,0)
 +20      ;;=S02.609A^^149^1947^10
 +21      ;;^UTILITY(U,$J,358.3,38314,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,38314,1,3,0)
 +24      ;;=3^Fracture of mandible, unsp, init encntr for closed fracture
 +25      ;;^UTILITY(U,$J,358.3,38314,1,4,0)
 +26      ;;=4^S02.609A
 +27      ;;^UTILITY(U,$J,358.3,38314,2)
 +28      ;;=^5020372
 +29      ;;^UTILITY(U,$J,358.3,38315,0)
 +30      ;;=S02.69XA^^149^1947^9
 +31      ;;^UTILITY(U,$J,358.3,38315,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,38315,1,3,0)
 +34      ;;=3^Fracture of mandible of oth site, init for clos fx
 +35      ;;^UTILITY(U,$J,358.3,38315,1,4,0)
 +36      ;;=4^S02.69XA
 +37      ;;^UTILITY(U,$J,358.3,38315,2)
 +38      ;;=^5020420
 +39      ;;^UTILITY(U,$J,358.3,38316,0)
 +40      ;;=S02.91XA^^149^1947^20
 +41      ;;^UTILITY(U,$J,358.3,38316,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,38316,1,3,0)
 +44      ;;=3^Fracture of skull unspec, init encntr for closed fracture
 +45      ;;^UTILITY(U,$J,358.3,38316,1,4,0)
 +46      ;;=4^S02.91XA
 +47      ;;^UTILITY(U,$J,358.3,38316,2)
 +48      ;;=^5020432
 +49      ;;^UTILITY(U,$J,358.3,38317,0)
 +50      ;;=S02.92XA^^149^1947^7
 +51      ;;^UTILITY(U,$J,358.3,38317,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,38317,1,3,0)
 +54      ;;=3^Fracture of facial bones unspec, init for clos fx
 +55      ;;^UTILITY(U,$J,358.3,38317,1,4,0)
 +56      ;;=4^S02.92XA
 +57      ;;^UTILITY(U,$J,358.3,38317,2)
 +58      ;;=^5020438
 +59      ;;^UTILITY(U,$J,358.3,38318,0)
 +60      ;;=S02.0XXB^^149^1947^23
 +61      ;;^UTILITY(U,$J,358.3,38318,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,38318,1,3,0)
 +64      ;;=3^Fracture of vault of skull, init encntr for open fracture
 +65      ;;^UTILITY(U,$J,358.3,38318,1,4,0)
 +66      ;;=4^S02.0XXB
 +67      ;;^UTILITY(U,$J,358.3,38318,2)
 +68      ;;=^5020253
 +69      ;;^UTILITY(U,$J,358.3,38319,0)
 +70      ;;=S02.2XXB^^149^1947^12
 +71      ;;^UTILITY(U,$J,358.3,38319,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,38319,1,3,0)
 +74      ;;=3^Fracture of nasal bones, initial encounter for open fracture
 +75      ;;^UTILITY(U,$J,358.3,38319,1,4,0)
 +76      ;;=4^S02.2XXB
 +77      ;;^UTILITY(U,$J,358.3,38319,2)
 +78      ;;=^5020307
 +79      ;;^UTILITY(U,$J,358.3,38320,0)
 +80      ;;=S02.402B^^149^1947^30
 +81      ;;^UTILITY(U,$J,358.3,38320,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,38320,1,3,0)
 +84      ;;=3^Zygomatic fracture, unsp, init encntr for open fracture
 +85      ;;^UTILITY(U,$J,358.3,38320,1,4,0)
 +86      ;;=4^S02.402B
 +87      ;;^UTILITY(U,$J,358.3,38320,2)
 +88      ;;=^5020331
 +89      ;;^UTILITY(U,$J,358.3,38321,0)
 +90      ;;=S02.91XB^^149^1947^21
 +91      ;;^UTILITY(U,$J,358.3,38321,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,38321,1,3,0)
 +94      ;;=3^Fracture of skull unspec, init encntr for open fracture
 +95      ;;^UTILITY(U,$J,358.3,38321,1,4,0)
 +96      ;;=4^S02.91XB
 +97      ;;^UTILITY(U,$J,358.3,38321,2)
 +98      ;;=^5020433
 +99      ;;^UTILITY(U,$J,358.3,38322,0)
 +100     ;;=S02.0XXD^^149^1947^25
 +101     ;;^UTILITY(U,$J,358.3,38322,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,38322,1,3,0)
 +104     ;;=3^Fracture of vault of skull, subs for fx w routn heal
 +105     ;;^UTILITY(U,$J,358.3,38322,1,4,0)
 +106     ;;=4^S02.0XXD
 +107     ;;^UTILITY(U,$J,358.3,38322,2)
 +108     ;;=^5020254
 +109     ;;^UTILITY(U,$J,358.3,38323,0)
 +110     ;;=S02.0XXS^^149^1947^24
 +111     ;;^UTILITY(U,$J,358.3,38323,1,0)
 +112     ;;=^358.31IA^4^2