IBDEI1T3 ; ; 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,28839,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28839,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28839,1,4,0)
 ;;=4^F15.222
 ;;^UTILITY(U,$J,358.3,28839,2)
 ;;=^5003299
 ;;^UTILITY(U,$J,358.3,28840,0)
 ;;=F15.922^^115^1424^59
 ;;^UTILITY(U,$J,358.3,28840,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28840,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28840,1,4,0)
 ;;=4^F15.922
 ;;^UTILITY(U,$J,358.3,28840,2)
 ;;=^5003313
 ;;^UTILITY(U,$J,358.3,28841,0)
 ;;=F15.129^^115^1424^60
 ;;^UTILITY(U,$J,358.3,28841,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28841,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28841,1,4,0)
 ;;=4^F15.129
 ;;^UTILITY(U,$J,358.3,28841,2)
 ;;=^5003286
 ;;^UTILITY(U,$J,358.3,28842,0)
 ;;=F15.229^^115^1424^61
 ;;^UTILITY(U,$J,358.3,28842,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28842,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28842,1,4,0)
 ;;=4^F15.229
 ;;^UTILITY(U,$J,358.3,28842,2)
 ;;=^5003300
 ;;^UTILITY(U,$J,358.3,28843,0)
 ;;=F15.929^^115^1424^62
 ;;^UTILITY(U,$J,358.3,28843,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28843,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28843,1,4,0)
 ;;=4^F15.929
 ;;^UTILITY(U,$J,358.3,28843,2)
 ;;=^5003314
 ;;^UTILITY(U,$J,358.3,28844,0)
 ;;=F15.121^^115^1424^54
 ;;^UTILITY(U,$J,358.3,28844,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28844,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28844,1,4,0)
 ;;=4^F15.121
 ;;^UTILITY(U,$J,358.3,28844,2)
 ;;=^5003284
 ;;^UTILITY(U,$J,358.3,28845,0)
 ;;=F15.221^^115^1424^55
 ;;^UTILITY(U,$J,358.3,28845,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28845,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28845,1,4,0)
 ;;=4^F15.221
 ;;^UTILITY(U,$J,358.3,28845,2)
 ;;=^5003298
 ;;^UTILITY(U,$J,358.3,28846,0)
 ;;=F15.921^^115^1424^56
 ;;^UTILITY(U,$J,358.3,28846,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28846,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28846,1,4,0)
 ;;=4^F15.921
 ;;^UTILITY(U,$J,358.3,28846,2)
 ;;=^5003312
 ;;^UTILITY(U,$J,358.3,28847,0)
 ;;=F15.23^^115^1424^67
 ;;^UTILITY(U,$J,358.3,28847,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28847,1,3,0)
 ;;=3^Oth Stimulant Withdrawal
 ;;^UTILITY(U,$J,358.3,28847,1,4,0)
 ;;=4^F15.23
 ;;^UTILITY(U,$J,358.3,28847,2)
 ;;=^5003301
 ;;^UTILITY(U,$J,358.3,28848,0)
 ;;=F15.10^^115^1424^64
 ;;^UTILITY(U,$J,358.3,28848,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28848,1,3,0)
 ;;=3^Oth Stimulant Mild Use D/O,Uncomplicated
 ;;^UTILITY(U,$J,358.3,28848,1,4,0)
 ;;=4^F15.10
 ;;^UTILITY(U,$J,358.3,28848,2)
 ;;=^5003282
 ;;^UTILITY(U,$J,358.3,28849,0)
 ;;=F15.20^^115^1424^65
 ;;^UTILITY(U,$J,358.3,28849,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28849,1,3,0)
 ;;=3^Oth Stimulant Mod/Sev Use D/O,Uncomplicated
 ;;^UTILITY(U,$J,358.3,28849,1,4,0)
 ;;=4^F15.20
 ;;^UTILITY(U,$J,358.3,28849,2)
 ;;=^5003295
 ;;^UTILITY(U,$J,358.3,28850,0)
 ;;=F14.180^^115^1424^1
 ;;^UTILITY(U,$J,358.3,28850,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28850,1,3,0)
 ;;=3^Cocaine Induced Anxiety D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28850,1,4,0)
 ;;=4^F14.180
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1T3   3779     printed  Sep 23, 2025@19:51:17                                                                                                                                                                                                    Page 2
IBDEI1T3  ; ; 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,28839,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,28839,1,3,0)
 +4       ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mod/Sev Use D/O
 +5       ;;^UTILITY(U,$J,358.3,28839,1,4,0)
 +6       ;;=4^F15.222
 +7       ;;^UTILITY(U,$J,358.3,28839,2)
 +8       ;;=^5003299
 +9       ;;^UTILITY(U,$J,358.3,28840,0)
 +10      ;;=F15.922^^115^1424^59
 +11      ;;^UTILITY(U,$J,358.3,28840,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,28840,1,3,0)
 +14      ;;=3^Oth Stimulant Intox w/ Percept Disturb w/o Use D/O
 +15      ;;^UTILITY(U,$J,358.3,28840,1,4,0)
 +16      ;;=4^F15.922
 +17      ;;^UTILITY(U,$J,358.3,28840,2)
 +18      ;;=^5003313
 +19      ;;^UTILITY(U,$J,358.3,28841,0)
 +20      ;;=F15.129^^115^1424^60
 +21      ;;^UTILITY(U,$J,358.3,28841,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,28841,1,3,0)
 +24      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mild Use D/O
 +25      ;;^UTILITY(U,$J,358.3,28841,1,4,0)
 +26      ;;=4^F15.129
 +27      ;;^UTILITY(U,$J,358.3,28841,2)
 +28      ;;=^5003286
 +29      ;;^UTILITY(U,$J,358.3,28842,0)
 +30      ;;=F15.229^^115^1424^61
 +31      ;;^UTILITY(U,$J,358.3,28842,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,28842,1,3,0)
 +34      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mod/Sev Use D/O
 +35      ;;^UTILITY(U,$J,358.3,28842,1,4,0)
 +36      ;;=4^F15.229
 +37      ;;^UTILITY(U,$J,358.3,28842,2)
 +38      ;;=^5003300
 +39      ;;^UTILITY(U,$J,358.3,28843,0)
 +40      ;;=F15.929^^115^1424^62
 +41      ;;^UTILITY(U,$J,358.3,28843,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,28843,1,3,0)
 +44      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/o Use D/O
 +45      ;;^UTILITY(U,$J,358.3,28843,1,4,0)
 +46      ;;=4^F15.929
 +47      ;;^UTILITY(U,$J,358.3,28843,2)
 +48      ;;=^5003314
 +49      ;;^UTILITY(U,$J,358.3,28844,0)
 +50      ;;=F15.121^^115^1424^54
 +51      ;;^UTILITY(U,$J,358.3,28844,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,28844,1,3,0)
 +54      ;;=3^Oth Stimulant Intox Delirium w/ Mild Use D/O
 +55      ;;^UTILITY(U,$J,358.3,28844,1,4,0)
 +56      ;;=4^F15.121
 +57      ;;^UTILITY(U,$J,358.3,28844,2)
 +58      ;;=^5003284
 +59      ;;^UTILITY(U,$J,358.3,28845,0)
 +60      ;;=F15.221^^115^1424^55
 +61      ;;^UTILITY(U,$J,358.3,28845,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,28845,1,3,0)
 +64      ;;=3^Oth Stimulant Intox Delirium w/ Mod/Sev Use D/O
 +65      ;;^UTILITY(U,$J,358.3,28845,1,4,0)
 +66      ;;=4^F15.221
 +67      ;;^UTILITY(U,$J,358.3,28845,2)
 +68      ;;=^5003298
 +69      ;;^UTILITY(U,$J,358.3,28846,0)
 +70      ;;=F15.921^^115^1424^56
 +71      ;;^UTILITY(U,$J,358.3,28846,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,28846,1,3,0)
 +74      ;;=3^Oth Stimulant Intox Delirium w/o Use D/O
 +75      ;;^UTILITY(U,$J,358.3,28846,1,4,0)
 +76      ;;=4^F15.921
 +77      ;;^UTILITY(U,$J,358.3,28846,2)
 +78      ;;=^5003312
 +79      ;;^UTILITY(U,$J,358.3,28847,0)
 +80      ;;=F15.23^^115^1424^67
 +81      ;;^UTILITY(U,$J,358.3,28847,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,28847,1,3,0)
 +84      ;;=3^Oth Stimulant Withdrawal
 +85      ;;^UTILITY(U,$J,358.3,28847,1,4,0)
 +86      ;;=4^F15.23
 +87      ;;^UTILITY(U,$J,358.3,28847,2)
 +88      ;;=^5003301
 +89      ;;^UTILITY(U,$J,358.3,28848,0)
 +90      ;;=F15.10^^115^1424^64
 +91      ;;^UTILITY(U,$J,358.3,28848,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,28848,1,3,0)
 +94      ;;=3^Oth Stimulant Mild Use D/O,Uncomplicated
 +95      ;;^UTILITY(U,$J,358.3,28848,1,4,0)
 +96      ;;=4^F15.10
 +97      ;;^UTILITY(U,$J,358.3,28848,2)
 +98      ;;=^5003282
 +99      ;;^UTILITY(U,$J,358.3,28849,0)
 +100     ;;=F15.20^^115^1424^65
 +101     ;;^UTILITY(U,$J,358.3,28849,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,28849,1,3,0)
 +104     ;;=3^Oth Stimulant Mod/Sev Use D/O,Uncomplicated
 +105     ;;^UTILITY(U,$J,358.3,28849,1,4,0)
 +106     ;;=4^F15.20
 +107     ;;^UTILITY(U,$J,358.3,28849,2)
 +108     ;;=^5003295
 +109     ;;^UTILITY(U,$J,358.3,28850,0)
 +110     ;;=F14.180^^115^1424^1
 +111     ;;^UTILITY(U,$J,358.3,28850,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,28850,1,3,0)
 +114     ;;=3^Cocaine Induced Anxiety D/O w/ Mild Use D/O
 +115     ;;^UTILITY(U,$J,358.3,28850,1,4,0)
 +116     ;;=4^F14.180