IBDEI1PR ; ; 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,27376,1,3,0)
 ;;=3^Cocaine Intox Delirium w/o Use D/O
 ;;^UTILITY(U,$J,358.3,27376,1,4,0)
 ;;=4^F14.921
 ;;^UTILITY(U,$J,358.3,27376,2)
 ;;=^5003271
 ;;^UTILITY(U,$J,358.3,27377,0)
 ;;=F14.10^^110^1324^30
 ;;^UTILITY(U,$J,358.3,27377,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27377,1,3,0)
 ;;=3^Cocaine Use DO,Mild,Uncomp
 ;;^UTILITY(U,$J,358.3,27377,1,4,0)
 ;;=4^F14.10
 ;;^UTILITY(U,$J,358.3,27377,2)
 ;;=^5003239
 ;;^UTILITY(U,$J,358.3,27378,0)
 ;;=F14.20^^110^1324^32
 ;;^UTILITY(U,$J,358.3,27378,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27378,1,3,0)
 ;;=3^Cocaine Use DO,Mod/Sev,Uncomp
 ;;^UTILITY(U,$J,358.3,27378,1,4,0)
 ;;=4^F14.20
 ;;^UTILITY(U,$J,358.3,27378,2)
 ;;=^5003253
 ;;^UTILITY(U,$J,358.3,27379,0)
 ;;=F14.23^^110^1324^33
 ;;^UTILITY(U,$J,358.3,27379,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27379,1,3,0)
 ;;=3^Cocaine Withdrawal
 ;;^UTILITY(U,$J,358.3,27379,1,4,0)
 ;;=4^F14.23
 ;;^UTILITY(U,$J,358.3,27379,2)
 ;;=^5003259
 ;;^UTILITY(U,$J,358.3,27380,0)
 ;;=F14.21^^110^1324^31
 ;;^UTILITY(U,$J,358.3,27380,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27380,1,3,0)
 ;;=3^Cocaine Use DO,Mod/Sev,In Remiss
 ;;^UTILITY(U,$J,358.3,27380,1,4,0)
 ;;=4^F14.21
 ;;^UTILITY(U,$J,358.3,27380,2)
 ;;=^5003254
 ;;^UTILITY(U,$J,358.3,27381,0)
 ;;=F15.11^^110^1324^63
 ;;^UTILITY(U,$J,358.3,27381,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27381,1,3,0)
 ;;=3^Oth Stimulant Mild Use D/O,In Remission
 ;;^UTILITY(U,$J,358.3,27381,1,4,0)
 ;;=4^F15.11
 ;;^UTILITY(U,$J,358.3,27381,2)
 ;;=^5151304
 ;;^UTILITY(U,$J,358.3,27382,0)
 ;;=F14.11^^110^1324^29
 ;;^UTILITY(U,$J,358.3,27382,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27382,1,3,0)
 ;;=3^Cocaine Use DO,Mild,In Remiss
 ;;^UTILITY(U,$J,358.3,27382,1,4,0)
 ;;=4^F14.11
 ;;^UTILITY(U,$J,358.3,27382,2)
 ;;=^268249
 ;;^UTILITY(U,$J,358.3,27383,0)
 ;;=F15.21^^110^1324^34
 ;;^UTILITY(U,$J,358.3,27383,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27383,1,3,0)
 ;;=3^Oth Stimulant Dependence,Mod/Sev,In Remission
 ;;^UTILITY(U,$J,358.3,27383,1,4,0)
 ;;=4^F15.21
 ;;^UTILITY(U,$J,358.3,27383,2)
 ;;=^5003296
 ;;^UTILITY(U,$J,358.3,27384,0)
 ;;=Z91.120^^110^1325^1
 ;;^UTILITY(U,$J,358.3,27384,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27384,1,3,0)
 ;;=3^Intentional Underdosing d/t Financial Hardship
 ;;^UTILITY(U,$J,358.3,27384,1,4,0)
 ;;=4^Z91.120
 ;;^UTILITY(U,$J,358.3,27384,2)
 ;;=^5063612
 ;;^UTILITY(U,$J,358.3,27385,0)
 ;;=Z91.128^^110^1325^2
 ;;^UTILITY(U,$J,358.3,27385,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27385,1,3,0)
 ;;=3^Intentional Underdosing,Other Reasons
 ;;^UTILITY(U,$J,358.3,27385,1,4,0)
 ;;=4^Z91.128
 ;;^UTILITY(U,$J,358.3,27385,2)
 ;;=^5063613
 ;;^UTILITY(U,$J,358.3,27386,0)
 ;;=Z91.130^^110^1325^15
 ;;^UTILITY(U,$J,358.3,27386,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27386,1,3,0)
 ;;=3^Unintented Underdosing d/t Age-Related Disability
 ;;^UTILITY(U,$J,358.3,27386,1,4,0)
 ;;=4^Z91.130
 ;;^UTILITY(U,$J,358.3,27386,2)
 ;;=^5063614
 ;;^UTILITY(U,$J,358.3,27387,0)
 ;;=Z91.138^^110^1325^16
 ;;^UTILITY(U,$J,358.3,27387,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27387,1,3,0)
 ;;=3^Unintented Underdosing,Other Reasons
 ;;^UTILITY(U,$J,358.3,27387,1,4,0)
 ;;=4^Z91.138
 ;;^UTILITY(U,$J,358.3,27387,2)
 ;;=^5063615
 ;;^UTILITY(U,$J,358.3,27388,0)
 ;;=T38.3X6A^^110^1325^3
 ;;^UTILITY(U,$J,358.3,27388,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,27388,1,3,0)
 ;;=3^Underdosing Insulin/Oral Hypoglycemic Drugs,Init Encntr
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1PR   3843     printed  Sep 23, 2025@19:49:25                                                                                                                                                                                                    Page 2
IBDEI1PR  ; ; 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,27376,1,3,0)
 +2       ;;=3^Cocaine Intox Delirium w/o Use D/O
 +3       ;;^UTILITY(U,$J,358.3,27376,1,4,0)
 +4       ;;=4^F14.921
 +5       ;;^UTILITY(U,$J,358.3,27376,2)
 +6       ;;=^5003271
 +7       ;;^UTILITY(U,$J,358.3,27377,0)
 +8       ;;=F14.10^^110^1324^30
 +9       ;;^UTILITY(U,$J,358.3,27377,1,0)
 +10      ;;=^358.31IA^4^2
 +11      ;;^UTILITY(U,$J,358.3,27377,1,3,0)
 +12      ;;=3^Cocaine Use DO,Mild,Uncomp
 +13      ;;^UTILITY(U,$J,358.3,27377,1,4,0)
 +14      ;;=4^F14.10
 +15      ;;^UTILITY(U,$J,358.3,27377,2)
 +16      ;;=^5003239
 +17      ;;^UTILITY(U,$J,358.3,27378,0)
 +18      ;;=F14.20^^110^1324^32
 +19      ;;^UTILITY(U,$J,358.3,27378,1,0)
 +20      ;;=^358.31IA^4^2
 +21      ;;^UTILITY(U,$J,358.3,27378,1,3,0)
 +22      ;;=3^Cocaine Use DO,Mod/Sev,Uncomp
 +23      ;;^UTILITY(U,$J,358.3,27378,1,4,0)
 +24      ;;=4^F14.20
 +25      ;;^UTILITY(U,$J,358.3,27378,2)
 +26      ;;=^5003253
 +27      ;;^UTILITY(U,$J,358.3,27379,0)
 +28      ;;=F14.23^^110^1324^33
 +29      ;;^UTILITY(U,$J,358.3,27379,1,0)
 +30      ;;=^358.31IA^4^2
 +31      ;;^UTILITY(U,$J,358.3,27379,1,3,0)
 +32      ;;=3^Cocaine Withdrawal
 +33      ;;^UTILITY(U,$J,358.3,27379,1,4,0)
 +34      ;;=4^F14.23
 +35      ;;^UTILITY(U,$J,358.3,27379,2)
 +36      ;;=^5003259
 +37      ;;^UTILITY(U,$J,358.3,27380,0)
 +38      ;;=F14.21^^110^1324^31
 +39      ;;^UTILITY(U,$J,358.3,27380,1,0)
 +40      ;;=^358.31IA^4^2
 +41      ;;^UTILITY(U,$J,358.3,27380,1,3,0)
 +42      ;;=3^Cocaine Use DO,Mod/Sev,In Remiss
 +43      ;;^UTILITY(U,$J,358.3,27380,1,4,0)
 +44      ;;=4^F14.21
 +45      ;;^UTILITY(U,$J,358.3,27380,2)
 +46      ;;=^5003254
 +47      ;;^UTILITY(U,$J,358.3,27381,0)
 +48      ;;=F15.11^^110^1324^63
 +49      ;;^UTILITY(U,$J,358.3,27381,1,0)
 +50      ;;=^358.31IA^4^2
 +51      ;;^UTILITY(U,$J,358.3,27381,1,3,0)
 +52      ;;=3^Oth Stimulant Mild Use D/O,In Remission
 +53      ;;^UTILITY(U,$J,358.3,27381,1,4,0)
 +54      ;;=4^F15.11
 +55      ;;^UTILITY(U,$J,358.3,27381,2)
 +56      ;;=^5151304
 +57      ;;^UTILITY(U,$J,358.3,27382,0)
 +58      ;;=F14.11^^110^1324^29
 +59      ;;^UTILITY(U,$J,358.3,27382,1,0)
 +60      ;;=^358.31IA^4^2
 +61      ;;^UTILITY(U,$J,358.3,27382,1,3,0)
 +62      ;;=3^Cocaine Use DO,Mild,In Remiss
 +63      ;;^UTILITY(U,$J,358.3,27382,1,4,0)
 +64      ;;=4^F14.11
 +65      ;;^UTILITY(U,$J,358.3,27382,2)
 +66      ;;=^268249
 +67      ;;^UTILITY(U,$J,358.3,27383,0)
 +68      ;;=F15.21^^110^1324^34
 +69      ;;^UTILITY(U,$J,358.3,27383,1,0)
 +70      ;;=^358.31IA^4^2
 +71      ;;^UTILITY(U,$J,358.3,27383,1,3,0)
 +72      ;;=3^Oth Stimulant Dependence,Mod/Sev,In Remission
 +73      ;;^UTILITY(U,$J,358.3,27383,1,4,0)
 +74      ;;=4^F15.21
 +75      ;;^UTILITY(U,$J,358.3,27383,2)
 +76      ;;=^5003296
 +77      ;;^UTILITY(U,$J,358.3,27384,0)
 +78      ;;=Z91.120^^110^1325^1
 +79      ;;^UTILITY(U,$J,358.3,27384,1,0)
 +80      ;;=^358.31IA^4^2
 +81      ;;^UTILITY(U,$J,358.3,27384,1,3,0)
 +82      ;;=3^Intentional Underdosing d/t Financial Hardship
 +83      ;;^UTILITY(U,$J,358.3,27384,1,4,0)
 +84      ;;=4^Z91.120
 +85      ;;^UTILITY(U,$J,358.3,27384,2)
 +86      ;;=^5063612
 +87      ;;^UTILITY(U,$J,358.3,27385,0)
 +88      ;;=Z91.128^^110^1325^2
 +89      ;;^UTILITY(U,$J,358.3,27385,1,0)
 +90      ;;=^358.31IA^4^2
 +91      ;;^UTILITY(U,$J,358.3,27385,1,3,0)
 +92      ;;=3^Intentional Underdosing,Other Reasons
 +93      ;;^UTILITY(U,$J,358.3,27385,1,4,0)
 +94      ;;=4^Z91.128
 +95      ;;^UTILITY(U,$J,358.3,27385,2)
 +96      ;;=^5063613
 +97      ;;^UTILITY(U,$J,358.3,27386,0)
 +98      ;;=Z91.130^^110^1325^15
 +99      ;;^UTILITY(U,$J,358.3,27386,1,0)
 +100     ;;=^358.31IA^4^2
 +101     ;;^UTILITY(U,$J,358.3,27386,1,3,0)
 +102     ;;=3^Unintented Underdosing d/t Age-Related Disability
 +103     ;;^UTILITY(U,$J,358.3,27386,1,4,0)
 +104     ;;=4^Z91.130
 +105     ;;^UTILITY(U,$J,358.3,27386,2)
 +106     ;;=^5063614
 +107     ;;^UTILITY(U,$J,358.3,27387,0)
 +108     ;;=Z91.138^^110^1325^16
 +109     ;;^UTILITY(U,$J,358.3,27387,1,0)
 +110     ;;=^358.31IA^4^2
 +111     ;;^UTILITY(U,$J,358.3,27387,1,3,0)
 +112     ;;=3^Unintented Underdosing,Other Reasons
 +113     ;;^UTILITY(U,$J,358.3,27387,1,4,0)
 +114     ;;=4^Z91.138
 +115     ;;^UTILITY(U,$J,358.3,27387,2)
 +116     ;;=^5063615
 +117     ;;^UTILITY(U,$J,358.3,27388,0)
 +118     ;;=T38.3X6A^^110^1325^3
 +119     ;;^UTILITY(U,$J,358.3,27388,1,0)
 +120     ;;=^358.31IA^4^2
 +121     ;;^UTILITY(U,$J,358.3,27388,1,3,0)
 +122     ;;=3^Underdosing Insulin/Oral Hypoglycemic Drugs,Init Encntr