IBDEI1T2 ; ; 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,28827,1,4,0)
 ;;=4^F15.288
 ;;^UTILITY(U,$J,358.3,28827,2)
 ;;=^5133356
 ;;^UTILITY(U,$J,358.3,28828,0)
 ;;=F15.988^^115^1424^43
 ;;^UTILITY(U,$J,358.3,28828,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28828,1,3,0)
 ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28828,1,4,0)
 ;;=4^F15.988
 ;;^UTILITY(U,$J,358.3,28828,2)
 ;;=^5133357
 ;;^UTILITY(U,$J,358.3,28829,0)
 ;;=F15.159^^115^1424^45
 ;;^UTILITY(U,$J,358.3,28829,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28829,1,3,0)
 ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28829,1,4,0)
 ;;=4^F15.159
 ;;^UTILITY(U,$J,358.3,28829,2)
 ;;=^5003290
 ;;^UTILITY(U,$J,358.3,28830,0)
 ;;=F15.259^^115^1424^46
 ;;^UTILITY(U,$J,358.3,28830,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28830,1,3,0)
 ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28830,1,4,0)
 ;;=4^F15.259
 ;;^UTILITY(U,$J,358.3,28830,2)
 ;;=^5003305
 ;;^UTILITY(U,$J,358.3,28831,0)
 ;;=F15.959^^115^1424^47
 ;;^UTILITY(U,$J,358.3,28831,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28831,1,3,0)
 ;;=3^Oth Stimulant Induced Psychotic D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28831,1,4,0)
 ;;=4^F15.959
 ;;^UTILITY(U,$J,358.3,28831,2)
 ;;=^5003319
 ;;^UTILITY(U,$J,358.3,28832,0)
 ;;=F15.181^^115^1424^48
 ;;^UTILITY(U,$J,358.3,28832,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28832,1,3,0)
 ;;=3^Oth Stimulant Induced Sexual Dysfunc w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28832,1,4,0)
 ;;=4^F15.181
 ;;^UTILITY(U,$J,358.3,28832,2)
 ;;=^5003292
 ;;^UTILITY(U,$J,358.3,28833,0)
 ;;=F15.281^^115^1424^49
 ;;^UTILITY(U,$J,358.3,28833,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28833,1,3,0)
 ;;=3^Oth Stimulant Induced Sexual Dysfunc w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28833,1,4,0)
 ;;=4^F15.281
 ;;^UTILITY(U,$J,358.3,28833,2)
 ;;=^5003307
 ;;^UTILITY(U,$J,358.3,28834,0)
 ;;=F15.981^^115^1424^50
 ;;^UTILITY(U,$J,358.3,28834,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28834,1,3,0)
 ;;=3^Oth Stimulant Induced Sexual Dysfunc w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28834,1,4,0)
 ;;=4^F15.981
 ;;^UTILITY(U,$J,358.3,28834,2)
 ;;=^5003321
 ;;^UTILITY(U,$J,358.3,28835,0)
 ;;=F15.182^^115^1424^51
 ;;^UTILITY(U,$J,358.3,28835,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28835,1,3,0)
 ;;=3^Oth Stimulant Induced Sleep D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28835,1,4,0)
 ;;=4^F15.182
 ;;^UTILITY(U,$J,358.3,28835,2)
 ;;=^5003293
 ;;^UTILITY(U,$J,358.3,28836,0)
 ;;=F15.282^^115^1424^52
 ;;^UTILITY(U,$J,358.3,28836,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28836,1,3,0)
 ;;=3^Oth Stimulant Induced Sleep D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,28836,1,4,0)
 ;;=4^F15.282
 ;;^UTILITY(U,$J,358.3,28836,2)
 ;;=^5003308
 ;;^UTILITY(U,$J,358.3,28837,0)
 ;;=F15.982^^115^1424^53
 ;;^UTILITY(U,$J,358.3,28837,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28837,1,3,0)
 ;;=3^Oth Stimulant Induced Sleep D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,28837,1,4,0)
 ;;=4^F15.982
 ;;^UTILITY(U,$J,358.3,28837,2)
 ;;=^5003322
 ;;^UTILITY(U,$J,358.3,28838,0)
 ;;=F15.122^^115^1424^57
 ;;^UTILITY(U,$J,358.3,28838,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,28838,1,3,0)
 ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,28838,1,4,0)
 ;;=4^F15.122
 ;;^UTILITY(U,$J,358.3,28838,2)
 ;;=^5003285
 ;;^UTILITY(U,$J,358.3,28839,0)
 ;;=F15.222^^115^1424^58
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1T2   3798     printed  Sep 23, 2025@19:51:16                                                                                                                                                                                                    Page 2
IBDEI1T2  ; ; 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,28827,1,4,0)
 +2       ;;=4^F15.288
 +3       ;;^UTILITY(U,$J,358.3,28827,2)
 +4       ;;=^5133356
 +5       ;;^UTILITY(U,$J,358.3,28828,0)
 +6       ;;=F15.988^^115^1424^43
 +7       ;;^UTILITY(U,$J,358.3,28828,1,0)
 +8       ;;=^358.31IA^4^2
 +9       ;;^UTILITY(U,$J,358.3,28828,1,3,0)
 +10      ;;=3^Oth Stimulant Induced Obess-Compul & Rel D/O w/o Use D/O
 +11      ;;^UTILITY(U,$J,358.3,28828,1,4,0)
 +12      ;;=4^F15.988
 +13      ;;^UTILITY(U,$J,358.3,28828,2)
 +14      ;;=^5133357
 +15      ;;^UTILITY(U,$J,358.3,28829,0)
 +16      ;;=F15.159^^115^1424^45
 +17      ;;^UTILITY(U,$J,358.3,28829,1,0)
 +18      ;;=^358.31IA^4^2
 +19      ;;^UTILITY(U,$J,358.3,28829,1,3,0)
 +20      ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mild Use D/O
 +21      ;;^UTILITY(U,$J,358.3,28829,1,4,0)
 +22      ;;=4^F15.159
 +23      ;;^UTILITY(U,$J,358.3,28829,2)
 +24      ;;=^5003290
 +25      ;;^UTILITY(U,$J,358.3,28830,0)
 +26      ;;=F15.259^^115^1424^46
 +27      ;;^UTILITY(U,$J,358.3,28830,1,0)
 +28      ;;=^358.31IA^4^2
 +29      ;;^UTILITY(U,$J,358.3,28830,1,3,0)
 +30      ;;=3^Oth Stimulant Induced Psychotic D/O w/ Mod/Sev Use D/O
 +31      ;;^UTILITY(U,$J,358.3,28830,1,4,0)
 +32      ;;=4^F15.259
 +33      ;;^UTILITY(U,$J,358.3,28830,2)
 +34      ;;=^5003305
 +35      ;;^UTILITY(U,$J,358.3,28831,0)
 +36      ;;=F15.959^^115^1424^47
 +37      ;;^UTILITY(U,$J,358.3,28831,1,0)
 +38      ;;=^358.31IA^4^2
 +39      ;;^UTILITY(U,$J,358.3,28831,1,3,0)
 +40      ;;=3^Oth Stimulant Induced Psychotic D/O w/o Use D/O
 +41      ;;^UTILITY(U,$J,358.3,28831,1,4,0)
 +42      ;;=4^F15.959
 +43      ;;^UTILITY(U,$J,358.3,28831,2)
 +44      ;;=^5003319
 +45      ;;^UTILITY(U,$J,358.3,28832,0)
 +46      ;;=F15.181^^115^1424^48
 +47      ;;^UTILITY(U,$J,358.3,28832,1,0)
 +48      ;;=^358.31IA^4^2
 +49      ;;^UTILITY(U,$J,358.3,28832,1,3,0)
 +50      ;;=3^Oth Stimulant Induced Sexual Dysfunc w/ Mild Use D/O
 +51      ;;^UTILITY(U,$J,358.3,28832,1,4,0)
 +52      ;;=4^F15.181
 +53      ;;^UTILITY(U,$J,358.3,28832,2)
 +54      ;;=^5003292
 +55      ;;^UTILITY(U,$J,358.3,28833,0)
 +56      ;;=F15.281^^115^1424^49
 +57      ;;^UTILITY(U,$J,358.3,28833,1,0)
 +58      ;;=^358.31IA^4^2
 +59      ;;^UTILITY(U,$J,358.3,28833,1,3,0)
 +60      ;;=3^Oth Stimulant Induced Sexual Dysfunc w/ Mod/Sev Use D/O
 +61      ;;^UTILITY(U,$J,358.3,28833,1,4,0)
 +62      ;;=4^F15.281
 +63      ;;^UTILITY(U,$J,358.3,28833,2)
 +64      ;;=^5003307
 +65      ;;^UTILITY(U,$J,358.3,28834,0)
 +66      ;;=F15.981^^115^1424^50
 +67      ;;^UTILITY(U,$J,358.3,28834,1,0)
 +68      ;;=^358.31IA^4^2
 +69      ;;^UTILITY(U,$J,358.3,28834,1,3,0)
 +70      ;;=3^Oth Stimulant Induced Sexual Dysfunc w/o Use D/O
 +71      ;;^UTILITY(U,$J,358.3,28834,1,4,0)
 +72      ;;=4^F15.981
 +73      ;;^UTILITY(U,$J,358.3,28834,2)
 +74      ;;=^5003321
 +75      ;;^UTILITY(U,$J,358.3,28835,0)
 +76      ;;=F15.182^^115^1424^51
 +77      ;;^UTILITY(U,$J,358.3,28835,1,0)
 +78      ;;=^358.31IA^4^2
 +79      ;;^UTILITY(U,$J,358.3,28835,1,3,0)
 +80      ;;=3^Oth Stimulant Induced Sleep D/O w/ Mild Use D/O
 +81      ;;^UTILITY(U,$J,358.3,28835,1,4,0)
 +82      ;;=4^F15.182
 +83      ;;^UTILITY(U,$J,358.3,28835,2)
 +84      ;;=^5003293
 +85      ;;^UTILITY(U,$J,358.3,28836,0)
 +86      ;;=F15.282^^115^1424^52
 +87      ;;^UTILITY(U,$J,358.3,28836,1,0)
 +88      ;;=^358.31IA^4^2
 +89      ;;^UTILITY(U,$J,358.3,28836,1,3,0)
 +90      ;;=3^Oth Stimulant Induced Sleep D/O w/ Mod/Sev Use D/O
 +91      ;;^UTILITY(U,$J,358.3,28836,1,4,0)
 +92      ;;=4^F15.282
 +93      ;;^UTILITY(U,$J,358.3,28836,2)
 +94      ;;=^5003308
 +95      ;;^UTILITY(U,$J,358.3,28837,0)
 +96      ;;=F15.982^^115^1424^53
 +97      ;;^UTILITY(U,$J,358.3,28837,1,0)
 +98      ;;=^358.31IA^4^2
 +99      ;;^UTILITY(U,$J,358.3,28837,1,3,0)
 +100     ;;=3^Oth Stimulant Induced Sleep D/O w/o Use D/O
 +101     ;;^UTILITY(U,$J,358.3,28837,1,4,0)
 +102     ;;=4^F15.982
 +103     ;;^UTILITY(U,$J,358.3,28837,2)
 +104     ;;=^5003322
 +105     ;;^UTILITY(U,$J,358.3,28838,0)
 +106     ;;=F15.122^^115^1424^57
 +107     ;;^UTILITY(U,$J,358.3,28838,1,0)
 +108     ;;=^358.31IA^4^2
 +109     ;;^UTILITY(U,$J,358.3,28838,1,3,0)
 +110     ;;=3^Oth Stimulant Intox w/ Percept Disturb w/ Mild Use D/O
 +111     ;;^UTILITY(U,$J,358.3,28838,1,4,0)
 +112     ;;=4^F15.122
 +113     ;;^UTILITY(U,$J,358.3,28838,2)
 +114     ;;=^5003285
 +115     ;;^UTILITY(U,$J,358.3,28839,0)
 +116     ;;=F15.222^^115^1424^58