IBDEI2SI ; ; 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,44489,1,3,0)
 ;;=3^Cocaine Related D/O,Unspec
 ;;^UTILITY(U,$J,358.3,44489,1,4,0)
 ;;=4^F14.99
 ;;^UTILITY(U,$J,358.3,44489,2)
 ;;=^5133354
 ;;^UTILITY(U,$J,358.3,44490,0)
 ;;=F15.180^^164^2207^35
 ;;^UTILITY(U,$J,358.3,44490,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44490,1,3,0)
 ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,44490,1,4,0)
 ;;=4^F15.180
 ;;^UTILITY(U,$J,358.3,44490,2)
 ;;=^5003291
 ;;^UTILITY(U,$J,358.3,44491,0)
 ;;=F15.280^^164^2207^36
 ;;^UTILITY(U,$J,358.3,44491,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44491,1,3,0)
 ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,44491,1,4,0)
 ;;=4^F15.280
 ;;^UTILITY(U,$J,358.3,44491,2)
 ;;=^5003306
 ;;^UTILITY(U,$J,358.3,44492,0)
 ;;=F15.980^^164^2207^37
 ;;^UTILITY(U,$J,358.3,44492,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44492,1,3,0)
 ;;=3^Oth Stimulant Induced Anxiety D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,44492,1,4,0)
 ;;=4^F15.980
 ;;^UTILITY(U,$J,358.3,44492,2)
 ;;=^5003320
 ;;^UTILITY(U,$J,358.3,44493,0)
 ;;=F15.14^^164^2207^39
 ;;^UTILITY(U,$J,358.3,44493,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44493,1,3,0)
 ;;=3^Oth Stimulant Induced Mood D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,44493,1,4,0)
 ;;=4^F15.14
 ;;^UTILITY(U,$J,358.3,44493,2)
 ;;=^5003287
 ;;^UTILITY(U,$J,358.3,44494,0)
 ;;=F15.24^^164^2207^40
 ;;^UTILITY(U,$J,358.3,44494,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44494,1,3,0)
 ;;=3^Oth Stimulant Induced Mood D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,44494,1,4,0)
 ;;=4^F15.24
 ;;^UTILITY(U,$J,358.3,44494,2)
 ;;=^5003302
 ;;^UTILITY(U,$J,358.3,44495,0)
 ;;=F15.94^^164^2207^41
 ;;^UTILITY(U,$J,358.3,44495,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44495,1,3,0)
 ;;=3^Oth Stimulant Induced Mood D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,44495,1,4,0)
 ;;=4^F15.94
 ;;^UTILITY(U,$J,358.3,44495,2)
 ;;=^5003316
 ;;^UTILITY(U,$J,358.3,44496,0)
 ;;=F15.921^^164^2207^38
 ;;^UTILITY(U,$J,358.3,44496,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44496,1,3,0)
 ;;=3^Oth Stimulant Induced Delirium
 ;;^UTILITY(U,$J,358.3,44496,1,4,0)
 ;;=4^F15.921
 ;;^UTILITY(U,$J,358.3,44496,2)
 ;;=^5003312
 ;;^UTILITY(U,$J,358.3,44497,0)
 ;;=F15.188^^164^2207^42
 ;;^UTILITY(U,$J,358.3,44497,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44497,1,3,0)
 ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,44497,1,4,0)
 ;;=4^F15.188
 ;;^UTILITY(U,$J,358.3,44497,2)
 ;;=^5133355
 ;;^UTILITY(U,$J,358.3,44498,0)
 ;;=F15.288^^164^2207^44
 ;;^UTILITY(U,$J,358.3,44498,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44498,1,3,0)
 ;;=3^Oth Stimulant Induced Obess/Compul & Rel D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,44498,1,4,0)
 ;;=4^F15.288
 ;;^UTILITY(U,$J,358.3,44498,2)
 ;;=^5133356
 ;;^UTILITY(U,$J,358.3,44499,0)
 ;;=F15.988^^164^2207^43
 ;;^UTILITY(U,$J,358.3,44499,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44499,1,3,0)
 ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,44499,1,4,0)
 ;;=4^F15.988
 ;;^UTILITY(U,$J,358.3,44499,2)
 ;;=^5133357
 ;;^UTILITY(U,$J,358.3,44500,0)
 ;;=F15.159^^164^2207^45
 ;;^UTILITY(U,$J,358.3,44500,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,44500,1,3,0)
 ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,44500,1,4,0)
 ;;=4^F15.159
 ;;^UTILITY(U,$J,358.3,44500,2)
 ;;=^5003290
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2SI   3789     printed  Sep 23, 2025@20:10:59                                                                                                                                                                                                    Page 2
IBDEI2SI  ; ; 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,44489,1,3,0)
 +2       ;;=3^Cocaine Related D/O,Unspec
 +3       ;;^UTILITY(U,$J,358.3,44489,1,4,0)
 +4       ;;=4^F14.99
 +5       ;;^UTILITY(U,$J,358.3,44489,2)
 +6       ;;=^5133354
 +7       ;;^UTILITY(U,$J,358.3,44490,0)
 +8       ;;=F15.180^^164^2207^35
 +9       ;;^UTILITY(U,$J,358.3,44490,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,44490,1,3,0)
 +12      ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mild Use D/O
 +13      ;;^UTILITY(U,$J,358.3,44490,1,4,0)
 +14      ;;=4^F15.180
 +15      ;;^UTILITY(U,$J,358.3,44490,2)
 +16      ;;=^5003291
 +17      ;;^UTILITY(U,$J,358.3,44491,0)
 +18      ;;=F15.280^^164^2207^36
 +19      ;;^UTILITY(U,$J,358.3,44491,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,44491,1,3,0)
 +22      ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mod/Sev Use D/O
 +23      ;;^UTILITY(U,$J,358.3,44491,1,4,0)
 +24      ;;=4^F15.280
 +25      ;;^UTILITY(U,$J,358.3,44491,2)
 +26      ;;=^5003306
 +27      ;;^UTILITY(U,$J,358.3,44492,0)
 +28      ;;=F15.980^^164^2207^37
 +29      ;;^UTILITY(U,$J,358.3,44492,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,44492,1,3,0)
 +32      ;;=3^Oth Stimulant Induced Anxiety D/O w/o Use D/O
 +33      ;;^UTILITY(U,$J,358.3,44492,1,4,0)
 +34      ;;=4^F15.980
 +35      ;;^UTILITY(U,$J,358.3,44492,2)
 +36      ;;=^5003320
 +37      ;;^UTILITY(U,$J,358.3,44493,0)
 +38      ;;=F15.14^^164^2207^39
 +39      ;;^UTILITY(U,$J,358.3,44493,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,44493,1,3,0)
 +42      ;;=3^Oth Stimulant Induced Mood D/O w/ Mild Use D/O
 +43      ;;^UTILITY(U,$J,358.3,44493,1,4,0)
 +44      ;;=4^F15.14
 +45      ;;^UTILITY(U,$J,358.3,44493,2)
 +46      ;;=^5003287
 +47      ;;^UTILITY(U,$J,358.3,44494,0)
 +48      ;;=F15.24^^164^2207^40
 +49      ;;^UTILITY(U,$J,358.3,44494,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,44494,1,3,0)
 +52      ;;=3^Oth Stimulant Induced Mood D/O w/ Mod/Sev Use D/O
 +53      ;;^UTILITY(U,$J,358.3,44494,1,4,0)
 +54      ;;=4^F15.24
 +55      ;;^UTILITY(U,$J,358.3,44494,2)
 +56      ;;=^5003302
 +57      ;;^UTILITY(U,$J,358.3,44495,0)
 +58      ;;=F15.94^^164^2207^41
 +59      ;;^UTILITY(U,$J,358.3,44495,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,44495,1,3,0)
 +62      ;;=3^Oth Stimulant Induced Mood D/O w/o Use D/O
 +63      ;;^UTILITY(U,$J,358.3,44495,1,4,0)
 +64      ;;=4^F15.94
 +65      ;;^UTILITY(U,$J,358.3,44495,2)
 +66      ;;=^5003316
 +67      ;;^UTILITY(U,$J,358.3,44496,0)
 +68      ;;=F15.921^^164^2207^38
 +69      ;;^UTILITY(U,$J,358.3,44496,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,44496,1,3,0)
 +72      ;;=3^Oth Stimulant Induced Delirium
 +73      ;;^UTILITY(U,$J,358.3,44496,1,4,0)
 +74      ;;=4^F15.921
 +75      ;;^UTILITY(U,$J,358.3,44496,2)
 +76      ;;=^5003312
 +77      ;;^UTILITY(U,$J,358.3,44497,0)
 +78      ;;=F15.188^^164^2207^42
 +79      ;;^UTILITY(U,$J,358.3,44497,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,44497,1,3,0)
 +82      ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/ Mild Use D/O
 +83      ;;^UTILITY(U,$J,358.3,44497,1,4,0)
 +84      ;;=4^F15.188
 +85      ;;^UTILITY(U,$J,358.3,44497,2)
 +86      ;;=^5133355
 +87      ;;^UTILITY(U,$J,358.3,44498,0)
 +88      ;;=F15.288^^164^2207^44
 +89      ;;^UTILITY(U,$J,358.3,44498,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,44498,1,3,0)
 +92      ;;=3^Oth Stimulant Induced Obess/Compul & Rel D/O w/ Mod/Sev Use D/O
 +93      ;;^UTILITY(U,$J,358.3,44498,1,4,0)
 +94      ;;=4^F15.288
 +95      ;;^UTILITY(U,$J,358.3,44498,2)
 +96      ;;=^5133356
 +97      ;;^UTILITY(U,$J,358.3,44499,0)
 +98      ;;=F15.988^^164^2207^43
 +99      ;;^UTILITY(U,$J,358.3,44499,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,44499,1,3,0)
 +102     ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/o Use D/O
 +103     ;;^UTILITY(U,$J,358.3,44499,1,4,0)
 +104     ;;=4^F15.988
 +105     ;;^UTILITY(U,$J,358.3,44499,2)
 +106     ;;=^5133357
 +107     ;;^UTILITY(U,$J,358.3,44500,0)
 +108     ;;=F15.159^^164^2207^45
 +109     ;;^UTILITY(U,$J,358.3,44500,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,44500,1,3,0)
 +112     ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mild Use D/O
 +113     ;;^UTILITY(U,$J,358.3,44500,1,4,0)
 +114     ;;=4^F15.159
 +115     ;;^UTILITY(U,$J,358.3,44500,2)
 +116     ;;=^5003290