IBDEI0OU ; ; 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,11155,0)
 ;;=F15.981^^42^509^14
 ;;^UTILITY(U,$J,358.3,11155,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11155,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Induced Sexual Dysfunction w/o Use D/O
 ;;^UTILITY(U,$J,358.3,11155,1,4,0)
 ;;=4^F15.981
 ;;^UTILITY(U,$J,358.3,11155,2)
 ;;=^5003321
 ;;^UTILITY(U,$J,358.3,11156,0)
 ;;=F15.182^^42^509^15
 ;;^UTILITY(U,$J,358.3,11156,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11156,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,11156,1,4,0)
 ;;=4^F15.182
 ;;^UTILITY(U,$J,358.3,11156,2)
 ;;=^5003293
 ;;^UTILITY(U,$J,358.3,11157,0)
 ;;=F15.282^^42^509^16
 ;;^UTILITY(U,$J,358.3,11157,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11157,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/ Mod-Sev Use D/O
 ;;^UTILITY(U,$J,358.3,11157,1,4,0)
 ;;=4^F15.282
 ;;^UTILITY(U,$J,358.3,11157,2)
 ;;=^5003308
 ;;^UTILITY(U,$J,358.3,11158,0)
 ;;=F15.982^^42^509^17
 ;;^UTILITY(U,$J,358.3,11158,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11158,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/o Use D/O
 ;;^UTILITY(U,$J,358.3,11158,1,4,0)
 ;;=4^F15.982
 ;;^UTILITY(U,$J,358.3,11158,2)
 ;;=^5003322
 ;;^UTILITY(U,$J,358.3,11159,0)
 ;;=F15.122^^42^509^20
 ;;^UTILITY(U,$J,358.3,11159,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11159,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,11159,1,4,0)
 ;;=4^F15.122
 ;;^UTILITY(U,$J,358.3,11159,2)
 ;;=^5003285
 ;;^UTILITY(U,$J,358.3,11160,0)
 ;;=F15.222^^42^509^21
 ;;^UTILITY(U,$J,358.3,11160,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11160,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/ Mod-Sev Use D/O
 ;;^UTILITY(U,$J,358.3,11160,1,4,0)
 ;;=4^F15.222
 ;;^UTILITY(U,$J,358.3,11160,2)
 ;;=^5003299
 ;;^UTILITY(U,$J,358.3,11161,0)
 ;;=F15.922^^42^509^22
 ;;^UTILITY(U,$J,358.3,11161,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11161,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,11161,1,4,0)
 ;;=4^F15.922
 ;;^UTILITY(U,$J,358.3,11161,2)
 ;;=^5003313
 ;;^UTILITY(U,$J,358.3,11162,0)
 ;;=F15.129^^42^509^23
 ;;^UTILITY(U,$J,358.3,11162,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11162,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/o  Percept Disturb w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,11162,1,4,0)
 ;;=4^F15.129
 ;;^UTILITY(U,$J,358.3,11162,2)
 ;;=^5003286
 ;;^UTILITY(U,$J,358.3,11163,0)
 ;;=F15.229^^42^509^24
 ;;^UTILITY(U,$J,358.3,11163,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11163,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/o  Percept Disturb w/ Mod-Sev Use D/O
 ;;^UTILITY(U,$J,358.3,11163,1,4,0)
 ;;=4^F15.229
 ;;^UTILITY(U,$J,358.3,11163,2)
 ;;=^5003300
 ;;^UTILITY(U,$J,358.3,11164,0)
 ;;=F15.929^^42^509^25
 ;;^UTILITY(U,$J,358.3,11164,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11164,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intoxication w/o Percept Disturb w/o Use D/O
 ;;^UTILITY(U,$J,358.3,11164,1,4,0)
 ;;=4^F15.929
 ;;^UTILITY(U,$J,358.3,11164,2)
 ;;=^5003314
 ;;^UTILITY(U,$J,358.3,11165,0)
 ;;=F15.121^^42^509^18
 ;;^UTILITY(U,$J,358.3,11165,1,0)
 ;;=^358.31IA^4^2
 ;;^UTILITY(U,$J,358.3,11165,1,3,0)
 ;;=3^Amphetamine/Other Stimulant Intox Delirium  w/ Mild Use D/O
 ;;^UTILITY(U,$J,358.3,11165,1,4,0)
 ;;=4^F15.121
 
--- Routine Detail   --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0OU   3774     printed  Sep 23, 2025@19:28:51                                                                                                                                                                                                    Page 2
IBDEI0OU  ; ; 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,11155,0)
 +2       ;;=F15.981^^42^509^14
 +3       ;;^UTILITY(U,$J,358.3,11155,1,0)
 +4       ;;=^358.31IA^4^2
 +5       ;;^UTILITY(U,$J,358.3,11155,1,3,0)
 +6       ;;=3^Amphetamine/Other Stimulant Induced Sexual Dysfunction w/o Use D/O
 +7       ;;^UTILITY(U,$J,358.3,11155,1,4,0)
 +8       ;;=4^F15.981
 +9       ;;^UTILITY(U,$J,358.3,11155,2)
 +10      ;;=^5003321
 +11      ;;^UTILITY(U,$J,358.3,11156,0)
 +12      ;;=F15.182^^42^509^15
 +13      ;;^UTILITY(U,$J,358.3,11156,1,0)
 +14      ;;=^358.31IA^4^2
 +15      ;;^UTILITY(U,$J,358.3,11156,1,3,0)
 +16      ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/ Mild Use D/O
 +17      ;;^UTILITY(U,$J,358.3,11156,1,4,0)
 +18      ;;=4^F15.182
 +19      ;;^UTILITY(U,$J,358.3,11156,2)
 +20      ;;=^5003293
 +21      ;;^UTILITY(U,$J,358.3,11157,0)
 +22      ;;=F15.282^^42^509^16
 +23      ;;^UTILITY(U,$J,358.3,11157,1,0)
 +24      ;;=^358.31IA^4^2
 +25      ;;^UTILITY(U,$J,358.3,11157,1,3,0)
 +26      ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/ Mod-Sev Use D/O
 +27      ;;^UTILITY(U,$J,358.3,11157,1,4,0)
 +28      ;;=4^F15.282
 +29      ;;^UTILITY(U,$J,358.3,11157,2)
 +30      ;;=^5003308
 +31      ;;^UTILITY(U,$J,358.3,11158,0)
 +32      ;;=F15.982^^42^509^17
 +33      ;;^UTILITY(U,$J,358.3,11158,1,0)
 +34      ;;=^358.31IA^4^2
 +35      ;;^UTILITY(U,$J,358.3,11158,1,3,0)
 +36      ;;=3^Amphetamine/Other Stimulant Induced Sleep D/O w/o Use D/O
 +37      ;;^UTILITY(U,$J,358.3,11158,1,4,0)
 +38      ;;=4^F15.982
 +39      ;;^UTILITY(U,$J,358.3,11158,2)
 +40      ;;=^5003322
 +41      ;;^UTILITY(U,$J,358.3,11159,0)
 +42      ;;=F15.122^^42^509^20
 +43      ;;^UTILITY(U,$J,358.3,11159,1,0)
 +44      ;;=^358.31IA^4^2
 +45      ;;^UTILITY(U,$J,358.3,11159,1,3,0)
 +46      ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/ Mild Use D/O
 +47      ;;^UTILITY(U,$J,358.3,11159,1,4,0)
 +48      ;;=4^F15.122
 +49      ;;^UTILITY(U,$J,358.3,11159,2)
 +50      ;;=^5003285
 +51      ;;^UTILITY(U,$J,358.3,11160,0)
 +52      ;;=F15.222^^42^509^21
 +53      ;;^UTILITY(U,$J,358.3,11160,1,0)
 +54      ;;=^358.31IA^4^2
 +55      ;;^UTILITY(U,$J,358.3,11160,1,3,0)
 +56      ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/ Mod-Sev Use D/O
 +57      ;;^UTILITY(U,$J,358.3,11160,1,4,0)
 +58      ;;=4^F15.222
 +59      ;;^UTILITY(U,$J,358.3,11160,2)
 +60      ;;=^5003299
 +61      ;;^UTILITY(U,$J,358.3,11161,0)
 +62      ;;=F15.922^^42^509^22
 +63      ;;^UTILITY(U,$J,358.3,11161,1,0)
 +64      ;;=^358.31IA^4^2
 +65      ;;^UTILITY(U,$J,358.3,11161,1,3,0)
 +66      ;;=3^Amphetamine/Other Stimulant Intoxication w/ Percept Disturb w/o Use D/O
 +67      ;;^UTILITY(U,$J,358.3,11161,1,4,0)
 +68      ;;=4^F15.922
 +69      ;;^UTILITY(U,$J,358.3,11161,2)
 +70      ;;=^5003313
 +71      ;;^UTILITY(U,$J,358.3,11162,0)
 +72      ;;=F15.129^^42^509^23
 +73      ;;^UTILITY(U,$J,358.3,11162,1,0)
 +74      ;;=^358.31IA^4^2
 +75      ;;^UTILITY(U,$J,358.3,11162,1,3,0)
 +76      ;;=3^Amphetamine/Other Stimulant Intoxication w/o  Percept Disturb w/ Mild Use D/O
 +77      ;;^UTILITY(U,$J,358.3,11162,1,4,0)
 +78      ;;=4^F15.129
 +79      ;;^UTILITY(U,$J,358.3,11162,2)
 +80      ;;=^5003286
 +81      ;;^UTILITY(U,$J,358.3,11163,0)
 +82      ;;=F15.229^^42^509^24
 +83      ;;^UTILITY(U,$J,358.3,11163,1,0)
 +84      ;;=^358.31IA^4^2
 +85      ;;^UTILITY(U,$J,358.3,11163,1,3,0)
 +86      ;;=3^Amphetamine/Other Stimulant Intoxication w/o  Percept Disturb w/ Mod-Sev Use D/O
 +87      ;;^UTILITY(U,$J,358.3,11163,1,4,0)
 +88      ;;=4^F15.229
 +89      ;;^UTILITY(U,$J,358.3,11163,2)
 +90      ;;=^5003300
 +91      ;;^UTILITY(U,$J,358.3,11164,0)
 +92      ;;=F15.929^^42^509^25
 +93      ;;^UTILITY(U,$J,358.3,11164,1,0)
 +94      ;;=^358.31IA^4^2
 +95      ;;^UTILITY(U,$J,358.3,11164,1,3,0)
 +96      ;;=3^Amphetamine/Other Stimulant Intoxication w/o Percept Disturb w/o Use D/O
 +97      ;;^UTILITY(U,$J,358.3,11164,1,4,0)
 +98      ;;=4^F15.929
 +99      ;;^UTILITY(U,$J,358.3,11164,2)
 +100     ;;=^5003314
 +101     ;;^UTILITY(U,$J,358.3,11165,0)
 +102     ;;=F15.121^^42^509^18
 +103     ;;^UTILITY(U,$J,358.3,11165,1,0)
 +104     ;;=^358.31IA^4^2
 +105     ;;^UTILITY(U,$J,358.3,11165,1,3,0)
 +106     ;;=3^Amphetamine/Other Stimulant Intox Delirium  w/ Mild Use D/O
 +107     ;;^UTILITY(U,$J,358.3,11165,1,4,0)
 +108     ;;=4^F15.121