IBDEI0O9 ; ; 01-FEB-2022
 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
 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,10909,0)
 ;;=F16.180^^42^493^2
 ;;^UTILITY(U,$J,358.3,10909,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10909,1,3,0)
 ;;=3^Hallucinogen Abuse w/ Induced Anxiety Disorder
 ;;^UTILITY(U,$J,358.3,10909,1,4,0)
 ;;=4^F16.180
 ;;^UTILITY(U,$J,358.3,10909,2)
 ;;=^5003332
 ;;^UTILITY(U,$J,358.3,10910,0)
 ;;=F16.280^^42^493^9
 ;;^UTILITY(U,$J,358.3,10910,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10910,1,3,0)
 ;;=3^Hallucinogen Dependence w/ Induced Anxiety Disorder
 ;;^UTILITY(U,$J,358.3,10910,1,4,0)
 ;;=4^F16.280
 ;;^UTILITY(U,$J,358.3,10910,2)
 ;;=^5003345
 ;;^UTILITY(U,$J,358.3,10911,0)
 ;;=F16.980^^42^493^16
 ;;^UTILITY(U,$J,358.3,10911,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10911,1,3,0)
 ;;=3^Hallucinogen Use w/ Induced Anxiety Disorder,Unspec
 ;;^UTILITY(U,$J,358.3,10911,1,4,0)
 ;;=4^F16.980
 ;;^UTILITY(U,$J,358.3,10911,2)
 ;;=^5003357
 ;;^UTILITY(U,$J,358.3,10912,0)
 ;;=F16.24^^42^493^10
 ;;^UTILITY(U,$J,358.3,10912,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10912,1,3,0)
 ;;=3^Hallucinogen Dependence w/ Induced Mood Disorder
 ;;^UTILITY(U,$J,358.3,10912,1,4,0)
 ;;=4^F16.24
 ;;^UTILITY(U,$J,358.3,10912,2)
 ;;=^5003341
 ;;^UTILITY(U,$J,358.3,10913,0)
 ;;=F16.94^^42^493^17
 ;;^UTILITY(U,$J,358.3,10913,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10913,1,3,0)
 ;;=3^Hallucinogen Use w/ Induced Mood Disorder
 ;;^UTILITY(U,$J,358.3,10913,1,4,0)
 ;;=4^F16.94
 ;;^UTILITY(U,$J,358.3,10913,2)
 ;;=^5003353
 ;;^UTILITY(U,$J,358.3,10914,0)
 ;;=F16.159^^42^493^4
 ;;^UTILITY(U,$J,358.3,10914,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10914,1,3,0)
 ;;=3^Hallucinogen Abuse w/ Induced Psychotic Disorder,Unspec
 ;;^UTILITY(U,$J,358.3,10914,1,4,0)
 ;;=4^F16.159
 ;;^UTILITY(U,$J,358.3,10914,2)
 ;;=^5003331
 ;;^UTILITY(U,$J,358.3,10915,0)
 ;;=F16.259^^42^493^11
 ;;^UTILITY(U,$J,358.3,10915,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10915,1,3,0)
 ;;=3^Hallucinogen Dependence w/ Induced Psychotic Disorder,Unspec
 ;;^UTILITY(U,$J,358.3,10915,1,4,0)
 ;;=4^F16.259
 ;;^UTILITY(U,$J,358.3,10915,2)
 ;;=^5003344
 ;;^UTILITY(U,$J,358.3,10916,0)
 ;;=F16.959^^42^493^18
 ;;^UTILITY(U,$J,358.3,10916,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10916,1,3,0)
 ;;=3^Hallucinogen Use w/ Induced Psychotic Disorder
 ;;^UTILITY(U,$J,358.3,10916,1,4,0)
 ;;=4^F16.959
 ;;^UTILITY(U,$J,358.3,10916,2)
 ;;=^5003356
 ;;^UTILITY(U,$J,358.3,10917,0)
 ;;=F16.99^^42^493^15
 ;;^UTILITY(U,$J,358.3,10917,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10917,1,3,0)
 ;;=3^Hallucinogen Use w/ Hallucinogen Induced Disorder,Unspec
 ;;^UTILITY(U,$J,358.3,10917,1,4,0)
 ;;=4^F16.99
 ;;^UTILITY(U,$J,358.3,10917,2)
 ;;=^5133359
 ;;^UTILITY(U,$J,358.3,10918,0)
 ;;=F16.983^^42^493^14
 ;;^UTILITY(U,$J,358.3,10918,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10918,1,3,0)
 ;;=3^Hallucinogen Use w/ Flashbacks
 ;;^UTILITY(U,$J,358.3,10918,1,4,0)
 ;;=4^F16.983
 ;;^UTILITY(U,$J,358.3,10918,2)
 ;;=^5003358
 ;;^UTILITY(U,$J,358.3,10919,0)
 ;;=F16.14^^42^493^3
 ;;^UTILITY(U,$J,358.3,10919,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10919,1,3,0)
 ;;=3^Hallucinogen Abuse w/ Induced Mood Disorder
 ;;^UTILITY(U,$J,358.3,10919,1,4,0)
 ;;=4^F16.14
 ;;^UTILITY(U,$J,358.3,10919,2)
 ;;=^5003328
 ;;^UTILITY(U,$J,358.3,10920,0)
 ;;=F16.11^^42^493^7
 ;;^UTILITY(U,$J,358.3,10920,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,10920,1,3,0)
 ;;=3^Hallucinogen Abuse,In Remission
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0O9   3761     printed  Sep 23, 2025@19:28:32                                                                                                                                                                                                    Page 2
IBDEI0O9  ; ; 01-FEB-2022
 +1       ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
 +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,10909,0)
 +2       ;;=F16.180^^42^493^2
 +3       ;;^UTILITY(U,$J,358.3,10909,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,10909,1,3,0)
 +6       ;;=3^Hallucinogen Abuse w/ Induced Anxiety Disorder
 +7       ;;^UTILITY(U,$J,358.3,10909,1,4,0)
 +8       ;;=4^F16.180
 +9       ;;^UTILITY(U,$J,358.3,10909,2)
 +10      ;;=^5003332
 +11      ;;^UTILITY(U,$J,358.3,10910,0)
 +12      ;;=F16.280^^42^493^9
 +13      ;;^UTILITY(U,$J,358.3,10910,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,10910,1,3,0)
 +16      ;;=3^Hallucinogen Dependence w/ Induced Anxiety Disorder
 +17      ;;^UTILITY(U,$J,358.3,10910,1,4,0)
 +18      ;;=4^F16.280
 +19      ;;^UTILITY(U,$J,358.3,10910,2)
 +20      ;;=^5003345
 +21      ;;^UTILITY(U,$J,358.3,10911,0)
 +22      ;;=F16.980^^42^493^16
 +23      ;;^UTILITY(U,$J,358.3,10911,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,10911,1,3,0)
 +26      ;;=3^Hallucinogen Use w/ Induced Anxiety Disorder,Unspec
 +27      ;;^UTILITY(U,$J,358.3,10911,1,4,0)
 +28      ;;=4^F16.980
 +29      ;;^UTILITY(U,$J,358.3,10911,2)
 +30      ;;=^5003357
 +31      ;;^UTILITY(U,$J,358.3,10912,0)
 +32      ;;=F16.24^^42^493^10
 +33      ;;^UTILITY(U,$J,358.3,10912,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,10912,1,3,0)
 +36      ;;=3^Hallucinogen Dependence w/ Induced Mood Disorder
 +37      ;;^UTILITY(U,$J,358.3,10912,1,4,0)
 +38      ;;=4^F16.24
 +39      ;;^UTILITY(U,$J,358.3,10912,2)
 +40      ;;=^5003341
 +41      ;;^UTILITY(U,$J,358.3,10913,0)
 +42      ;;=F16.94^^42^493^17
 +43      ;;^UTILITY(U,$J,358.3,10913,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,10913,1,3,0)
 +46      ;;=3^Hallucinogen Use w/ Induced Mood Disorder
 +47      ;;^UTILITY(U,$J,358.3,10913,1,4,0)
 +48      ;;=4^F16.94
 +49      ;;^UTILITY(U,$J,358.3,10913,2)
 +50      ;;=^5003353
 +51      ;;^UTILITY(U,$J,358.3,10914,0)
 +52      ;;=F16.159^^42^493^4
 +53      ;;^UTILITY(U,$J,358.3,10914,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,10914,1,3,0)
 +56      ;;=3^Hallucinogen Abuse w/ Induced Psychotic Disorder,Unspec
 +57      ;;^UTILITY(U,$J,358.3,10914,1,4,0)
 +58      ;;=4^F16.159
 +59      ;;^UTILITY(U,$J,358.3,10914,2)
 +60      ;;=^5003331
 +61      ;;^UTILITY(U,$J,358.3,10915,0)
 +62      ;;=F16.259^^42^493^11
 +63      ;;^UTILITY(U,$J,358.3,10915,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,10915,1,3,0)
 +66      ;;=3^Hallucinogen Dependence w/ Induced Psychotic Disorder,Unspec
 +67      ;;^UTILITY(U,$J,358.3,10915,1,4,0)
 +68      ;;=4^F16.259
 +69      ;;^UTILITY(U,$J,358.3,10915,2)
 +70      ;;=^5003344
 +71      ;;^UTILITY(U,$J,358.3,10916,0)
 +72      ;;=F16.959^^42^493^18
 +73      ;;^UTILITY(U,$J,358.3,10916,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,10916,1,3,0)
 +76      ;;=3^Hallucinogen Use w/ Induced Psychotic Disorder
 +77      ;;^UTILITY(U,$J,358.3,10916,1,4,0)
 +78      ;;=4^F16.959
 +79      ;;^UTILITY(U,$J,358.3,10916,2)
 +80      ;;=^5003356
 +81      ;;^UTILITY(U,$J,358.3,10917,0)
 +82      ;;=F16.99^^42^493^15
 +83      ;;^UTILITY(U,$J,358.3,10917,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,10917,1,3,0)
 +86      ;;=3^Hallucinogen Use w/ Hallucinogen Induced Disorder,Unspec
 +87      ;;^UTILITY(U,$J,358.3,10917,1,4,0)
 +88      ;;=4^F16.99
 +89      ;;^UTILITY(U,$J,358.3,10917,2)
 +90      ;;=^5133359
 +91      ;;^UTILITY(U,$J,358.3,10918,0)
 +92      ;;=F16.983^^42^493^14
 +93      ;;^UTILITY(U,$J,358.3,10918,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,10918,1,3,0)
 +96      ;;=3^Hallucinogen Use w/ Flashbacks
 +97      ;;^UTILITY(U,$J,358.3,10918,1,4,0)
 +98      ;;=4^F16.983
 +99      ;;^UTILITY(U,$J,358.3,10918,2)
 +100     ;;=^5003358
 +101     ;;^UTILITY(U,$J,358.3,10919,0)
 +102     ;;=F16.14^^42^493^3
 +103     ;;^UTILITY(U,$J,358.3,10919,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,10919,1,3,0)
 +106     ;;=3^Hallucinogen Abuse w/ Induced Mood Disorder
 +107     ;;^UTILITY(U,$J,358.3,10919,1,4,0)
 +108     ;;=4^F16.14
 +109     ;;^UTILITY(U,$J,358.3,10919,2)
 +110     ;;=^5003328
 +111     ;;^UTILITY(U,$J,358.3,10920,0)
 +112     ;;=F16.11^^42^493^7
 +113     ;;^UTILITY(U,$J,358.3,10920,1,0)
 +114     ;;=^358.31IA^4^2
 +115     ;;^UTILITY(U,$J,358.3,10920,1,3,0)
 +116     ;;=3^Hallucinogen Abuse,In Remission