IBDEI1QY ; ; 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,27913,1,3,0)
 ;;=3^Opioid Use DO,Mod/Sev,In Remiss
 ;;^UTILITY(U,$J,358.3,27913,1,4,0)
 ;;=4^F11.21
 ;;^UTILITY(U,$J,358.3,27913,2)
 ;;=^5003128
 ;;^UTILITY(U,$J,358.3,27914,0)
 ;;=Z79.891^^113^1363^1
 ;;^UTILITY(U,$J,358.3,27914,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27914,1,3,0)
 ;;=3^Long Term Opiate/Opioid Analgesic Use
 ;;^UTILITY(U,$J,358.3,27914,1,4,0)
 ;;=4^Z79.891
 ;;^UTILITY(U,$J,358.3,27914,2)
 ;;=^5063342
 ;;^UTILITY(U,$J,358.3,27915,0)
 ;;=F11.11^^113^1363^24
 ;;^UTILITY(U,$J,358.3,27915,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27915,1,3,0)
 ;;=3^Opioid Use DO,Mild,In Remiss
 ;;^UTILITY(U,$J,358.3,27915,1,4,0)
 ;;=4^F11.11
 ;;^UTILITY(U,$J,358.3,27915,2)
 ;;=^268246
 ;;^UTILITY(U,$J,358.3,27916,0)
 ;;=F13.180^^113^1364^1
 ;;^UTILITY(U,$J,358.3,27916,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27916,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,27916,1,4,0)
 ;;=4^F13.180
 ;;^UTILITY(U,$J,358.3,27916,2)
 ;;=^5003197
 ;;^UTILITY(U,$J,358.3,27917,0)
 ;;=F13.280^^113^1364^2
 ;;^UTILITY(U,$J,358.3,27917,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27917,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/ Mod-Sev Use D/O
 ;;^UTILITY(U,$J,358.3,27917,1,4,0)
 ;;=4^F13.280
 ;;^UTILITY(U,$J,358.3,27917,2)
 ;;=^5003216
 ;;^UTILITY(U,$J,358.3,27918,0)
 ;;=F13.980^^113^1364^3
 ;;^UTILITY(U,$J,358.3,27918,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27918,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27918,1,4,0)
 ;;=4^F13.980
 ;;^UTILITY(U,$J,358.3,27918,2)
 ;;=^5003235
 ;;^UTILITY(U,$J,358.3,27919,0)
 ;;=F13.14^^113^1364^4
 ;;^UTILITY(U,$J,358.3,27919,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27919,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,27919,1,4,0)
 ;;=4^F13.14
 ;;^UTILITY(U,$J,358.3,27919,2)
 ;;=^5003193
 ;;^UTILITY(U,$J,358.3,27920,0)
 ;;=F13.24^^113^1364^5
 ;;^UTILITY(U,$J,358.3,27920,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27920,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/ Mod-Sev Use D/O 
 ;;^UTILITY(U,$J,358.3,27920,1,4,0)
 ;;=4^F13.24
 ;;^UTILITY(U,$J,358.3,27920,2)
 ;;=^5003210
 ;;^UTILITY(U,$J,358.3,27921,0)
 ;;=F13.94^^113^1364^6
 ;;^UTILITY(U,$J,358.3,27921,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27921,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27921,1,4,0)
 ;;=4^F13.94
 ;;^UTILITY(U,$J,358.3,27921,2)
 ;;=^5003229
 ;;^UTILITY(U,$J,358.3,27922,0)
 ;;=F13.921^^113^1364^7
 ;;^UTILITY(U,$J,358.3,27922,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27922,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Delirium
 ;;^UTILITY(U,$J,358.3,27922,1,4,0)
 ;;=4^F13.921
 ;;^UTILITY(U,$J,358.3,27922,2)
 ;;=^5003223
 ;;^UTILITY(U,$J,358.3,27923,0)
 ;;=F13.27^^113^1364^8
 ;;^UTILITY(U,$J,358.3,27923,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27923,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Maj Neurocog D/O w/ Mod-Sev Use D/O
 ;;^UTILITY(U,$J,358.3,27923,1,4,0)
 ;;=4^F13.27
 ;;^UTILITY(U,$J,358.3,27923,2)
 ;;=^5003215
 ;;^UTILITY(U,$J,358.3,27924,0)
 ;;=F13.97^^113^1364^9
 ;;^UTILITY(U,$J,358.3,27924,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27924,1,3,0)
 ;;=3^Sedative/Hypnotic/Anxiolytic Induced Maj Neurocog D/O w/o Use D/O
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QY   3784     printed  Sep 23, 2025@19:50:05                                                                                                                                                                                                    Page 2
IBDEI1QY  ; ; 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,27913,1,3,0)
 +2       ;;=3^Opioid Use DO,Mod/Sev,In Remiss
 +3       ;;^UTILITY(U,$J,358.3,27913,1,4,0)
 +4       ;;=4^F11.21
 +5       ;;^UTILITY(U,$J,358.3,27913,2)
 +6       ;;=^5003128
 +7       ;;^UTILITY(U,$J,358.3,27914,0)
 +8       ;;=Z79.891^^113^1363^1
 +9       ;;^UTILITY(U,$J,358.3,27914,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,27914,1,3,0)
 +12      ;;=3^Long Term Opiate/Opioid Analgesic Use
 +13      ;;^UTILITY(U,$J,358.3,27914,1,4,0)
 +14      ;;=4^Z79.891
 +15      ;;^UTILITY(U,$J,358.3,27914,2)
 +16      ;;=^5063342
 +17      ;;^UTILITY(U,$J,358.3,27915,0)
 +18      ;;=F11.11^^113^1363^24
 +19      ;;^UTILITY(U,$J,358.3,27915,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,27915,1,3,0)
 +22      ;;=3^Opioid Use DO,Mild,In Remiss
 +23      ;;^UTILITY(U,$J,358.3,27915,1,4,0)
 +24      ;;=4^F11.11
 +25      ;;^UTILITY(U,$J,358.3,27915,2)
 +26      ;;=^268246
 +27      ;;^UTILITY(U,$J,358.3,27916,0)
 +28      ;;=F13.180^^113^1364^1
 +29      ;;^UTILITY(U,$J,358.3,27916,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,27916,1,3,0)
 +32      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/ Mild Use D/O
 +33      ;;^UTILITY(U,$J,358.3,27916,1,4,0)
 +34      ;;=4^F13.180
 +35      ;;^UTILITY(U,$J,358.3,27916,2)
 +36      ;;=^5003197
 +37      ;;^UTILITY(U,$J,358.3,27917,0)
 +38      ;;=F13.280^^113^1364^2
 +39      ;;^UTILITY(U,$J,358.3,27917,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,27917,1,3,0)
 +42      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/ Mod-Sev Use D/O
 +43      ;;^UTILITY(U,$J,358.3,27917,1,4,0)
 +44      ;;=4^F13.280
 +45      ;;^UTILITY(U,$J,358.3,27917,2)
 +46      ;;=^5003216
 +47      ;;^UTILITY(U,$J,358.3,27918,0)
 +48      ;;=F13.980^^113^1364^3
 +49      ;;^UTILITY(U,$J,358.3,27918,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,27918,1,3,0)
 +52      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Anxiety D/O w/o Use D/O
 +53      ;;^UTILITY(U,$J,358.3,27918,1,4,0)
 +54      ;;=4^F13.980
 +55      ;;^UTILITY(U,$J,358.3,27918,2)
 +56      ;;=^5003235
 +57      ;;^UTILITY(U,$J,358.3,27919,0)
 +58      ;;=F13.14^^113^1364^4
 +59      ;;^UTILITY(U,$J,358.3,27919,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,27919,1,3,0)
 +62      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/ Mild Use D/O
 +63      ;;^UTILITY(U,$J,358.3,27919,1,4,0)
 +64      ;;=4^F13.14
 +65      ;;^UTILITY(U,$J,358.3,27919,2)
 +66      ;;=^5003193
 +67      ;;^UTILITY(U,$J,358.3,27920,0)
 +68      ;;=F13.24^^113^1364^5
 +69      ;;^UTILITY(U,$J,358.3,27920,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,27920,1,3,0)
 +72      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/ Mod-Sev Use D/O 
 +73      ;;^UTILITY(U,$J,358.3,27920,1,4,0)
 +74      ;;=4^F13.24
 +75      ;;^UTILITY(U,$J,358.3,27920,2)
 +76      ;;=^5003210
 +77      ;;^UTILITY(U,$J,358.3,27921,0)
 +78      ;;=F13.94^^113^1364^6
 +79      ;;^UTILITY(U,$J,358.3,27921,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,27921,1,3,0)
 +82      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Bipolar & Rel D/O w/o Use D/O
 +83      ;;^UTILITY(U,$J,358.3,27921,1,4,0)
 +84      ;;=4^F13.94
 +85      ;;^UTILITY(U,$J,358.3,27921,2)
 +86      ;;=^5003229
 +87      ;;^UTILITY(U,$J,358.3,27922,0)
 +88      ;;=F13.921^^113^1364^7
 +89      ;;^UTILITY(U,$J,358.3,27922,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,27922,1,3,0)
 +92      ;;=3^Sedative/Hypnotic/Anxiolytic Induced Delirium
 +93      ;;^UTILITY(U,$J,358.3,27922,1,4,0)
 +94      ;;=4^F13.921
 +95      ;;^UTILITY(U,$J,358.3,27922,2)
 +96      ;;=^5003223
 +97      ;;^UTILITY(U,$J,358.3,27923,0)
 +98      ;;=F13.27^^113^1364^8
 +99      ;;^UTILITY(U,$J,358.3,27923,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,27923,1,3,0)
 +102     ;;=3^Sedative/Hypnotic/Anxiolytic Induced Maj Neurocog D/O w/ Mod-Sev Use D/O
 +103     ;;^UTILITY(U,$J,358.3,27923,1,4,0)
 +104     ;;=4^F13.27
 +105     ;;^UTILITY(U,$J,358.3,27923,2)
 +106     ;;=^5003215
 +107     ;;^UTILITY(U,$J,358.3,27924,0)
 +108     ;;=F13.97^^113^1364^9
 +109     ;;^UTILITY(U,$J,358.3,27924,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,27924,1,3,0)
 +112     ;;=3^Sedative/Hypnotic/Anxiolytic Induced Maj Neurocog D/O w/o Use D/O