IBDEI1RG ; ; 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,28128,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28128,1,3,0)
 ;;=3^Oth Stimulant Induced Sleep D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28128,1,4,0)
 ;;=4^F15.282
 ;;^UTILITY(U,$J,358.3,28128,2)
 ;;=^5003308
 ;;^UTILITY(U,$J,358.3,28129,0)
 ;;=F15.982^^113^1378^53
 ;;^UTILITY(U,$J,358.3,28129,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28129,1,3,0)
 ;;=3^Oth Stimulant Induced Sleep D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28129,1,4,0)
 ;;=4^F15.982
 ;;^UTILITY(U,$J,358.3,28129,2)
 ;;=^5003322
 ;;^UTILITY(U,$J,358.3,28130,0)
 ;;=F15.122^^113^1378^57
 ;;^UTILITY(U,$J,358.3,28130,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28130,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28130,1,4,0)
 ;;=4^F15.122
 ;;^UTILITY(U,$J,358.3,28130,2)
 ;;=^5003285
 ;;^UTILITY(U,$J,358.3,28131,0)
 ;;=F15.222^^113^1378^58
 ;;^UTILITY(U,$J,358.3,28131,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28131,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28131,1,4,0)
 ;;=4^F15.222
 ;;^UTILITY(U,$J,358.3,28131,2)
 ;;=^5003299
 ;;^UTILITY(U,$J,358.3,28132,0)
 ;;=F15.922^^113^1378^59
 ;;^UTILITY(U,$J,358.3,28132,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28132,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28132,1,4,0)
 ;;=4^F15.922
 ;;^UTILITY(U,$J,358.3,28132,2)
 ;;=^5003313
 ;;^UTILITY(U,$J,358.3,28133,0)
 ;;=F15.129^^113^1378^60
 ;;^UTILITY(U,$J,358.3,28133,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28133,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28133,1,4,0)
 ;;=4^F15.129
 ;;^UTILITY(U,$J,358.3,28133,2)
 ;;=^5003286
 ;;^UTILITY(U,$J,358.3,28134,0)
 ;;=F15.229^^113^1378^61
 ;;^UTILITY(U,$J,358.3,28134,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28134,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28134,1,4,0)
 ;;=4^F15.229
 ;;^UTILITY(U,$J,358.3,28134,2)
 ;;=^5003300
 ;;^UTILITY(U,$J,358.3,28135,0)
 ;;=F15.929^^113^1378^62
 ;;^UTILITY(U,$J,358.3,28135,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28135,1,3,0)
 ;;=3^Oth Stimulant Intox w/o Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28135,1,4,0)
 ;;=4^F15.929
 ;;^UTILITY(U,$J,358.3,28135,2)
 ;;=^5003314
 ;;^UTILITY(U,$J,358.3,28136,0)
 ;;=F15.121^^113^1378^54
 ;;^UTILITY(U,$J,358.3,28136,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28136,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28136,1,4,0)
 ;;=4^F15.121
 ;;^UTILITY(U,$J,358.3,28136,2)
 ;;=^5003284
 ;;^UTILITY(U,$J,358.3,28137,0)
 ;;=F15.221^^113^1378^55
 ;;^UTILITY(U,$J,358.3,28137,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28137,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28137,1,4,0)
 ;;=4^F15.221
 ;;^UTILITY(U,$J,358.3,28137,2)
 ;;=^5003298
 ;;^UTILITY(U,$J,358.3,28138,0)
 ;;=F15.921^^113^1378^56
 ;;^UTILITY(U,$J,358.3,28138,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28138,1,3,0)
 ;;=3^Oth Stimulant Intox Delirium w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28138,1,4,0)
 ;;=4^F15.921
 ;;^UTILITY(U,$J,358.3,28138,2)
 ;;=^5003312
 ;;^UTILITY(U,$J,358.3,28139,0)
 ;;=F15.23^^113^1378^67
 ;;^UTILITY(U,$J,358.3,28139,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28139,1,3,0)
 ;;=3^Oth Stimulant Withdrawal
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RG   3754     printed  Sep 23, 2025@19:50:22                                                                                                                                                                                                    Page 2
IBDEI1RG  ; ; 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,28128,1,0)
 +2       ;;=^358.31IA^4^2
 +3       ;;^UTILITY(U,$J,358.3,28128,1,3,0)
 +4       ;;=3^Oth Stimulant Induced Sleep D/O w/ Mod/Sev Use D/O
 +5       ;;^UTILITY(U,$J,358.3,28128,1,4,0)
 +6       ;;=4^F15.282
 +7       ;;^UTILITY(U,$J,358.3,28128,2)
 +8       ;;=^5003308
 +9       ;;^UTILITY(U,$J,358.3,28129,0)
 +10      ;;=F15.982^^113^1378^53
 +11      ;;^UTILITY(U,$J,358.3,28129,1,0)
 +12      ;;=^358.31IA^4^2
 +13      ;;^UTILITY(U,$J,358.3,28129,1,3,0)
 +14      ;;=3^Oth Stimulant Induced Sleep D/O w/o Use D/O
 +15      ;;^UTILITY(U,$J,358.3,28129,1,4,0)
 +16      ;;=4^F15.982
 +17      ;;^UTILITY(U,$J,358.3,28129,2)
 +18      ;;=^5003322
 +19      ;;^UTILITY(U,$J,358.3,28130,0)
 +20      ;;=F15.122^^113^1378^57
 +21      ;;^UTILITY(U,$J,358.3,28130,1,0)
 +22      ;;=^358.31IA^4^2
 +23      ;;^UTILITY(U,$J,358.3,28130,1,3,0)
 +24      ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mild Use D/O
 +25      ;;^UTILITY(U,$J,358.3,28130,1,4,0)
 +26      ;;=4^F15.122
 +27      ;;^UTILITY(U,$J,358.3,28130,2)
 +28      ;;=^5003285
 +29      ;;^UTILITY(U,$J,358.3,28131,0)
 +30      ;;=F15.222^^113^1378^58
 +31      ;;^UTILITY(U,$J,358.3,28131,1,0)
 +32      ;;=^358.31IA^4^2
 +33      ;;^UTILITY(U,$J,358.3,28131,1,3,0)
 +34      ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mod/Sev Use D/O
 +35      ;;^UTILITY(U,$J,358.3,28131,1,4,0)
 +36      ;;=4^F15.222
 +37      ;;^UTILITY(U,$J,358.3,28131,2)
 +38      ;;=^5003299
 +39      ;;^UTILITY(U,$J,358.3,28132,0)
 +40      ;;=F15.922^^113^1378^59
 +41      ;;^UTILITY(U,$J,358.3,28132,1,0)
 +42      ;;=^358.31IA^4^2
 +43      ;;^UTILITY(U,$J,358.3,28132,1,3,0)
 +44      ;;=3^Oth Stimulant Intox w/ Percept Disturb w/o Use D/O
 +45      ;;^UTILITY(U,$J,358.3,28132,1,4,0)
 +46      ;;=4^F15.922
 +47      ;;^UTILITY(U,$J,358.3,28132,2)
 +48      ;;=^5003313
 +49      ;;^UTILITY(U,$J,358.3,28133,0)
 +50      ;;=F15.129^^113^1378^60
 +51      ;;^UTILITY(U,$J,358.3,28133,1,0)
 +52      ;;=^358.31IA^4^2
 +53      ;;^UTILITY(U,$J,358.3,28133,1,3,0)
 +54      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mild Use D/O
 +55      ;;^UTILITY(U,$J,358.3,28133,1,4,0)
 +56      ;;=4^F15.129
 +57      ;;^UTILITY(U,$J,358.3,28133,2)
 +58      ;;=^5003286
 +59      ;;^UTILITY(U,$J,358.3,28134,0)
 +60      ;;=F15.229^^113^1378^61
 +61      ;;^UTILITY(U,$J,358.3,28134,1,0)
 +62      ;;=^358.31IA^4^2
 +63      ;;^UTILITY(U,$J,358.3,28134,1,3,0)
 +64      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/ Mod/Sev Use D/O
 +65      ;;^UTILITY(U,$J,358.3,28134,1,4,0)
 +66      ;;=4^F15.229
 +67      ;;^UTILITY(U,$J,358.3,28134,2)
 +68      ;;=^5003300
 +69      ;;^UTILITY(U,$J,358.3,28135,0)
 +70      ;;=F15.929^^113^1378^62
 +71      ;;^UTILITY(U,$J,358.3,28135,1,0)
 +72      ;;=^358.31IA^4^2
 +73      ;;^UTILITY(U,$J,358.3,28135,1,3,0)
 +74      ;;=3^Oth Stimulant Intox w/o Percept Disturb w/o Use D/O
 +75      ;;^UTILITY(U,$J,358.3,28135,1,4,0)
 +76      ;;=4^F15.929
 +77      ;;^UTILITY(U,$J,358.3,28135,2)
 +78      ;;=^5003314
 +79      ;;^UTILITY(U,$J,358.3,28136,0)
 +80      ;;=F15.121^^113^1378^54
 +81      ;;^UTILITY(U,$J,358.3,28136,1,0)
 +82      ;;=^358.31IA^4^2
 +83      ;;^UTILITY(U,$J,358.3,28136,1,3,0)
 +84      ;;=3^Oth Stimulant Intox Delirium w/ Mild Use D/O
 +85      ;;^UTILITY(U,$J,358.3,28136,1,4,0)
 +86      ;;=4^F15.121
 +87      ;;^UTILITY(U,$J,358.3,28136,2)
 +88      ;;=^5003284
 +89      ;;^UTILITY(U,$J,358.3,28137,0)
 +90      ;;=F15.221^^113^1378^55
 +91      ;;^UTILITY(U,$J,358.3,28137,1,0)
 +92      ;;=^358.31IA^4^2
 +93      ;;^UTILITY(U,$J,358.3,28137,1,3,0)
 +94      ;;=3^Oth Stimulant Intox Delirium w/ Mod/Sev Use D/O
 +95      ;;^UTILITY(U,$J,358.3,28137,1,4,0)
 +96      ;;=4^F15.221
 +97      ;;^UTILITY(U,$J,358.3,28137,2)
 +98      ;;=^5003298
 +99      ;;^UTILITY(U,$J,358.3,28138,0)
 +100     ;;=F15.921^^113^1378^56
 +101     ;;^UTILITY(U,$J,358.3,28138,1,0)
 +102     ;;=^358.31IA^4^2
 +103     ;;^UTILITY(U,$J,358.3,28138,1,3,0)
 +104     ;;=3^Oth Stimulant Intox Delirium w/o Use D/O
 +105     ;;^UTILITY(U,$J,358.3,28138,1,4,0)
 +106     ;;=4^F15.921
 +107     ;;^UTILITY(U,$J,358.3,28138,2)
 +108     ;;=^5003312
 +109     ;;^UTILITY(U,$J,358.3,28139,0)
 +110     ;;=F15.23^^113^1378^67
 +111     ;;^UTILITY(U,$J,358.3,28139,1,0)
 +112     ;;=^358.31IA^4^2
 +113     ;;^UTILITY(U,$J,358.3,28139,1,3,0)
 +114     ;;=3^Oth Stimulant Withdrawal