IBDEI1PC ; ; 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,27196,1,3,0)
 ;;=3^Inhalant Induced Maj Neurocog D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,27196,1,4,0)
 ;;=4^F18.27
 ;;^UTILITY(U,$J,358.3,27196,2)
 ;;=^5003401
 ;;^UTILITY(U,$J,358.3,27197,0)
 ;;=F18.97^^110^1313^9
 ;;^UTILITY(U,$J,358.3,27197,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27197,1,3,0)
 ;;=3^Inhalant Induced Maj Neurocog D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27197,1,4,0)
 ;;=4^F18.97
 ;;^UTILITY(U,$J,358.3,27197,2)
 ;;=^5003413
 ;;^UTILITY(U,$J,358.3,27198,0)
 ;;=F18.188^^110^1313^10
 ;;^UTILITY(U,$J,358.3,27198,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27198,1,3,0)
 ;;=3^Inhalant Induced Mild Neurocog D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,27198,1,4,0)
 ;;=4^F18.188
 ;;^UTILITY(U,$J,358.3,27198,2)
 ;;=^5003390
 ;;^UTILITY(U,$J,358.3,27199,0)
 ;;=F18.288^^110^1313^11
 ;;^UTILITY(U,$J,358.3,27199,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27199,1,3,0)
 ;;=3^Inhalant Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,27199,1,4,0)
 ;;=4^F18.288
 ;;^UTILITY(U,$J,358.3,27199,2)
 ;;=^5003403
 ;;^UTILITY(U,$J,358.3,27200,0)
 ;;=F18.988^^110^1313^12
 ;;^UTILITY(U,$J,358.3,27200,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27200,1,3,0)
 ;;=3^Inhalant Induced Mild Neurocog D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27200,1,4,0)
 ;;=4^F18.988
 ;;^UTILITY(U,$J,358.3,27200,2)
 ;;=^5003415
 ;;^UTILITY(U,$J,358.3,27201,0)
 ;;=F18.159^^110^1313^13
 ;;^UTILITY(U,$J,358.3,27201,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27201,1,3,0)
 ;;=3^Inhalant Induced Psychotic D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,27201,1,4,0)
 ;;=4^F18.159
 ;;^UTILITY(U,$J,358.3,27201,2)
 ;;=^5003387
 ;;^UTILITY(U,$J,358.3,27202,0)
 ;;=F18.259^^110^1313^14
 ;;^UTILITY(U,$J,358.3,27202,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27202,1,3,0)
 ;;=3^Inhalant Induced Psychotic D/O w/ Mod/Sev Use D/O
 ;;^UTILITY(U,$J,358.3,27202,1,4,0)
 ;;=4^F18.259
 ;;^UTILITY(U,$J,358.3,27202,2)
 ;;=^5003400
 ;;^UTILITY(U,$J,358.3,27203,0)
 ;;=F18.959^^110^1313^15
 ;;^UTILITY(U,$J,358.3,27203,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27203,1,3,0)
 ;;=3^Inhalant Induced Psychotic D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27203,1,4,0)
 ;;=4^F18.959
 ;;^UTILITY(U,$J,358.3,27203,2)
 ;;=^5003412
 ;;^UTILITY(U,$J,358.3,27204,0)
 ;;=F18.99^^110^1313^22
 ;;^UTILITY(U,$J,358.3,27204,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27204,1,3,0)
 ;;=3^Inhalant Related D/O,Unspec
 ;;^UTILITY(U,$J,358.3,27204,1,4,0)
 ;;=4^F18.99
 ;;^UTILITY(U,$J,358.3,27204,2)
 ;;=^5133360
 ;;^UTILITY(U,$J,358.3,27205,0)
 ;;=F18.21^^110^1313^25
 ;;^UTILITY(U,$J,358.3,27205,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27205,1,3,0)
 ;;=3^Inhalant Use D/O,Mod/Sev,In Remission
 ;;^UTILITY(U,$J,358.3,27205,1,4,0)
 ;;=4^F18.21
 ;;^UTILITY(U,$J,358.3,27205,2)
 ;;=^5003393
 ;;^UTILITY(U,$J,358.3,27206,0)
 ;;=F18.11^^110^1313^24
 ;;^UTILITY(U,$J,358.3,27206,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27206,1,3,0)
 ;;=3^Inhalant Use D/O,Mild,In Remission
 ;;^UTILITY(U,$J,358.3,27206,1,4,0)
 ;;=4^F18.11
 ;;^UTILITY(U,$J,358.3,27206,2)
 ;;=^5151305
 ;;^UTILITY(U,$J,358.3,27207,0)
 ;;=Z00.6^^110^1314^1
 ;;^UTILITY(U,$J,358.3,27207,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27207,1,3,0)
 ;;=3^Exam Control in Clinical Research
 ;;^UTILITY(U,$J,358.3,27207,1,4,0)
 ;;=4^Z00.6
 ;;^UTILITY(U,$J,358.3,27207,2)
 ;;=^5062608
 ;;^UTILITY(U,$J,358.3,27208,0)
 ;;=F45.8^^110^1315^13
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1PC   3783     printed  Sep 23, 2025@19:49:11                                                                                                                                                                                                    Page 2
IBDEI1PC  ; ; 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,27196,1,3,0)
 +2       ;;=3^Inhalant Induced Maj Neurocog D/O w/ Mod/Sev Use D/O
 +3       ;;^UTILITY(U,$J,358.3,27196,1,4,0)
 +4       ;;=4^F18.27
 +5       ;;^UTILITY(U,$J,358.3,27196,2)
 +6       ;;=^5003401
 +7       ;;^UTILITY(U,$J,358.3,27197,0)
 +8       ;;=F18.97^^110^1313^9
 +9       ;;^UTILITY(U,$J,358.3,27197,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,27197,1,3,0)
 +12      ;;=3^Inhalant Induced Maj Neurocog D/O w/o Use D/O
 +13      ;;^UTILITY(U,$J,358.3,27197,1,4,0)
 +14      ;;=4^F18.97
 +15      ;;^UTILITY(U,$J,358.3,27197,2)
 +16      ;;=^5003413
 +17      ;;^UTILITY(U,$J,358.3,27198,0)
 +18      ;;=F18.188^^110^1313^10
 +19      ;;^UTILITY(U,$J,358.3,27198,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,27198,1,3,0)
 +22      ;;=3^Inhalant Induced Mild Neurocog D/O w/ Mild Use D/O
 +23      ;;^UTILITY(U,$J,358.3,27198,1,4,0)
 +24      ;;=4^F18.188
 +25      ;;^UTILITY(U,$J,358.3,27198,2)
 +26      ;;=^5003390
 +27      ;;^UTILITY(U,$J,358.3,27199,0)
 +28      ;;=F18.288^^110^1313^11
 +29      ;;^UTILITY(U,$J,358.3,27199,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,27199,1,3,0)
 +32      ;;=3^Inhalant Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
 +33      ;;^UTILITY(U,$J,358.3,27199,1,4,0)
 +34      ;;=4^F18.288
 +35      ;;^UTILITY(U,$J,358.3,27199,2)
 +36      ;;=^5003403
 +37      ;;^UTILITY(U,$J,358.3,27200,0)
 +38      ;;=F18.988^^110^1313^12
 +39      ;;^UTILITY(U,$J,358.3,27200,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,27200,1,3,0)
 +42      ;;=3^Inhalant Induced Mild Neurocog D/O w/o Use D/O
 +43      ;;^UTILITY(U,$J,358.3,27200,1,4,0)
 +44      ;;=4^F18.988
 +45      ;;^UTILITY(U,$J,358.3,27200,2)
 +46      ;;=^5003415
 +47      ;;^UTILITY(U,$J,358.3,27201,0)
 +48      ;;=F18.159^^110^1313^13
 +49      ;;^UTILITY(U,$J,358.3,27201,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,27201,1,3,0)
 +52      ;;=3^Inhalant Induced Psychotic D/O w/ Mild Use D/O
 +53      ;;^UTILITY(U,$J,358.3,27201,1,4,0)
 +54      ;;=4^F18.159
 +55      ;;^UTILITY(U,$J,358.3,27201,2)
 +56      ;;=^5003387
 +57      ;;^UTILITY(U,$J,358.3,27202,0)
 +58      ;;=F18.259^^110^1313^14
 +59      ;;^UTILITY(U,$J,358.3,27202,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,27202,1,3,0)
 +62      ;;=3^Inhalant Induced Psychotic D/O w/ Mod/Sev Use D/O
 +63      ;;^UTILITY(U,$J,358.3,27202,1,4,0)
 +64      ;;=4^F18.259
 +65      ;;^UTILITY(U,$J,358.3,27202,2)
 +66      ;;=^5003400
 +67      ;;^UTILITY(U,$J,358.3,27203,0)
 +68      ;;=F18.959^^110^1313^15
 +69      ;;^UTILITY(U,$J,358.3,27203,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,27203,1,3,0)
 +72      ;;=3^Inhalant Induced Psychotic D/O w/o Use D/O
 +73      ;;^UTILITY(U,$J,358.3,27203,1,4,0)
 +74      ;;=4^F18.959
 +75      ;;^UTILITY(U,$J,358.3,27203,2)
 +76      ;;=^5003412
 +77      ;;^UTILITY(U,$J,358.3,27204,0)
 +78      ;;=F18.99^^110^1313^22
 +79      ;;^UTILITY(U,$J,358.3,27204,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,27204,1,3,0)
 +82      ;;=3^Inhalant Related D/O,Unspec
 +83      ;;^UTILITY(U,$J,358.3,27204,1,4,0)
 +84      ;;=4^F18.99
 +85      ;;^UTILITY(U,$J,358.3,27204,2)
 +86      ;;=^5133360
 +87      ;;^UTILITY(U,$J,358.3,27205,0)
 +88      ;;=F18.21^^110^1313^25
 +89      ;;^UTILITY(U,$J,358.3,27205,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,27205,1,3,0)
 +92      ;;=3^Inhalant Use D/O,Mod/Sev,In Remission
 +93      ;;^UTILITY(U,$J,358.3,27205,1,4,0)
 +94      ;;=4^F18.21
 +95      ;;^UTILITY(U,$J,358.3,27205,2)
 +96      ;;=^5003393
 +97      ;;^UTILITY(U,$J,358.3,27206,0)
 +98      ;;=F18.11^^110^1313^24
 +99      ;;^UTILITY(U,$J,358.3,27206,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,27206,1,3,0)
 +102     ;;=3^Inhalant Use D/O,Mild,In Remission
 +103     ;;^UTILITY(U,$J,358.3,27206,1,4,0)
 +104     ;;=4^F18.11
 +105     ;;^UTILITY(U,$J,358.3,27206,2)
 +106     ;;=^5151305
 +107     ;;^UTILITY(U,$J,358.3,27207,0)
 +108     ;;=Z00.6^^110^1314^1
 +109     ;;^UTILITY(U,$J,358.3,27207,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,27207,1,3,0)
 +112     ;;=3^Exam Control in Clinical Research
 +113     ;;^UTILITY(U,$J,358.3,27207,1,4,0)
 +114     ;;=4^Z00.6
 +115     ;;^UTILITY(U,$J,358.3,27207,2)
 +116     ;;=^5062608
 +117     ;;^UTILITY(U,$J,358.3,27208,0)
 +118     ;;=F45.8^^110^1315^13