IBDEI267 ; ; 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,34654,0)
;;=F19.99^^134^1761^25
;;^UTILITY(U,$J,358.3,34654,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34654,1,3,0)
;;=3^Oth/Unk Substance Related D/O,Unspec
;;^UTILITY(U,$J,358.3,34654,1,4,0)
;;=4^F19.99
;;^UTILITY(U,$J,358.3,34654,2)
;;=^5133364
;;^UTILITY(U,$J,358.3,34655,0)
;;=F19.21^^134^1761^28
;;^UTILITY(U,$J,358.3,34655,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34655,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
;;^UTILITY(U,$J,358.3,34655,1,4,0)
;;=4^F19.21
;;^UTILITY(U,$J,358.3,34655,2)
;;=^5003432
;;^UTILITY(U,$J,358.3,34656,0)
;;=F19.939^^134^1761^30
;;^UTILITY(U,$J,358.3,34656,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34656,1,3,0)
;;=3^Oth/Unk Substance WD,Unspec
;;^UTILITY(U,$J,358.3,34656,1,4,0)
;;=4^F19.939
;;^UTILITY(U,$J,358.3,34656,2)
;;=^5003459
;;^UTILITY(U,$J,358.3,34657,0)
;;=F19.11^^134^1761^26
;;^UTILITY(U,$J,358.3,34657,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34657,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,In Remiss
;;^UTILITY(U,$J,358.3,34657,1,4,0)
;;=4^F19.11
;;^UTILITY(U,$J,358.3,34657,2)
;;=^5151306
;;^UTILITY(U,$J,358.3,34658,0)
;;=F15.99^^134^1762^66
;;^UTILITY(U,$J,358.3,34658,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34658,1,3,0)
;;=3^Oth Stimulant Related D/O,Unspec
;;^UTILITY(U,$J,358.3,34658,1,4,0)
;;=4^F15.99
;;^UTILITY(U,$J,358.3,34658,2)
;;=^5133358
;;^UTILITY(U,$J,358.3,34659,0)
;;=F14.99^^134^1762^28
;;^UTILITY(U,$J,358.3,34659,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34659,1,3,0)
;;=3^Cocaine Related D/O,Unspec
;;^UTILITY(U,$J,358.3,34659,1,4,0)
;;=4^F14.99
;;^UTILITY(U,$J,358.3,34659,2)
;;=^5133354
;;^UTILITY(U,$J,358.3,34660,0)
;;=F15.180^^134^1762^35
;;^UTILITY(U,$J,358.3,34660,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34660,1,3,0)
;;=3^Oth Stimulant Induced Anxiety D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34660,1,4,0)
;;=4^F15.180
;;^UTILITY(U,$J,358.3,34660,2)
;;=^5003291
;;^UTILITY(U,$J,358.3,34661,0)
;;=F15.280^^134^1762^36
;;^UTILITY(U,$J,358.3,34661,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34661,1,3,0)
;;=3^Oth Stimulant Induced Anxiety D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34661,1,4,0)
;;=4^F15.280
;;^UTILITY(U,$J,358.3,34661,2)
;;=^5003306
;;^UTILITY(U,$J,358.3,34662,0)
;;=F15.980^^134^1762^37
;;^UTILITY(U,$J,358.3,34662,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34662,1,3,0)
;;=3^Oth Stimulant Induced Anxiety D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34662,1,4,0)
;;=4^F15.980
;;^UTILITY(U,$J,358.3,34662,2)
;;=^5003320
;;^UTILITY(U,$J,358.3,34663,0)
;;=F15.14^^134^1762^39
;;^UTILITY(U,$J,358.3,34663,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34663,1,3,0)
;;=3^Oth Stimulant Induced Mood D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34663,1,4,0)
;;=4^F15.14
;;^UTILITY(U,$J,358.3,34663,2)
;;=^5003287
;;^UTILITY(U,$J,358.3,34664,0)
;;=F15.24^^134^1762^40
;;^UTILITY(U,$J,358.3,34664,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34664,1,3,0)
;;=3^Oth Stimulant Induced Mood D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34664,1,4,0)
;;=4^F15.24
;;^UTILITY(U,$J,358.3,34664,2)
;;=^5003302
;;^UTILITY(U,$J,358.3,34665,0)
;;=F15.94^^134^1762^41
;;^UTILITY(U,$J,358.3,34665,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34665,1,3,0)
;;=3^Oth Stimulant Induced Mood D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34665,1,4,0)
;;=4^F15.94
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI267 3762 printed Dec 13, 2024@02:22:33 Page 2
IBDEI267 ; ; 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,34654,0)
+2 ;;=F19.99^^134^1761^25
+3 ;;^UTILITY(U,$J,358.3,34654,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,34654,1,3,0)
+6 ;;=3^Oth/Unk Substance Related D/O,Unspec
+7 ;;^UTILITY(U,$J,358.3,34654,1,4,0)
+8 ;;=4^F19.99
+9 ;;^UTILITY(U,$J,358.3,34654,2)
+10 ;;=^5133364
+11 ;;^UTILITY(U,$J,358.3,34655,0)
+12 ;;=F19.21^^134^1761^28
+13 ;;^UTILITY(U,$J,358.3,34655,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,34655,1,3,0)
+16 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
+17 ;;^UTILITY(U,$J,358.3,34655,1,4,0)
+18 ;;=4^F19.21
+19 ;;^UTILITY(U,$J,358.3,34655,2)
+20 ;;=^5003432
+21 ;;^UTILITY(U,$J,358.3,34656,0)
+22 ;;=F19.939^^134^1761^30
+23 ;;^UTILITY(U,$J,358.3,34656,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,34656,1,3,0)
+26 ;;=3^Oth/Unk Substance WD,Unspec
+27 ;;^UTILITY(U,$J,358.3,34656,1,4,0)
+28 ;;=4^F19.939
+29 ;;^UTILITY(U,$J,358.3,34656,2)
+30 ;;=^5003459
+31 ;;^UTILITY(U,$J,358.3,34657,0)
+32 ;;=F19.11^^134^1761^26
+33 ;;^UTILITY(U,$J,358.3,34657,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,34657,1,3,0)
+36 ;;=3^Oth/Unk Substance Use DO,Mild,In Remiss
+37 ;;^UTILITY(U,$J,358.3,34657,1,4,0)
+38 ;;=4^F19.11
+39 ;;^UTILITY(U,$J,358.3,34657,2)
+40 ;;=^5151306
+41 ;;^UTILITY(U,$J,358.3,34658,0)
+42 ;;=F15.99^^134^1762^66
+43 ;;^UTILITY(U,$J,358.3,34658,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,34658,1,3,0)
+46 ;;=3^Oth Stimulant Related D/O,Unspec
+47 ;;^UTILITY(U,$J,358.3,34658,1,4,0)
+48 ;;=4^F15.99
+49 ;;^UTILITY(U,$J,358.3,34658,2)
+50 ;;=^5133358
+51 ;;^UTILITY(U,$J,358.3,34659,0)
+52 ;;=F14.99^^134^1762^28
+53 ;;^UTILITY(U,$J,358.3,34659,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,34659,1,3,0)
+56 ;;=3^Cocaine Related D/O,Unspec
+57 ;;^UTILITY(U,$J,358.3,34659,1,4,0)
+58 ;;=4^F14.99
+59 ;;^UTILITY(U,$J,358.3,34659,2)
+60 ;;=^5133354
+61 ;;^UTILITY(U,$J,358.3,34660,0)
+62 ;;=F15.180^^134^1762^35
+63 ;;^UTILITY(U,$J,358.3,34660,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,34660,1,3,0)
+66 ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mild Use D/O
+67 ;;^UTILITY(U,$J,358.3,34660,1,4,0)
+68 ;;=4^F15.180
+69 ;;^UTILITY(U,$J,358.3,34660,2)
+70 ;;=^5003291
+71 ;;^UTILITY(U,$J,358.3,34661,0)
+72 ;;=F15.280^^134^1762^36
+73 ;;^UTILITY(U,$J,358.3,34661,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,34661,1,3,0)
+76 ;;=3^Oth Stimulant Induced Anxiety D/O w/ Mod/Sev Use D/O
+77 ;;^UTILITY(U,$J,358.3,34661,1,4,0)
+78 ;;=4^F15.280
+79 ;;^UTILITY(U,$J,358.3,34661,2)
+80 ;;=^5003306
+81 ;;^UTILITY(U,$J,358.3,34662,0)
+82 ;;=F15.980^^134^1762^37
+83 ;;^UTILITY(U,$J,358.3,34662,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,34662,1,3,0)
+86 ;;=3^Oth Stimulant Induced Anxiety D/O w/o Use D/O
+87 ;;^UTILITY(U,$J,358.3,34662,1,4,0)
+88 ;;=4^F15.980
+89 ;;^UTILITY(U,$J,358.3,34662,2)
+90 ;;=^5003320
+91 ;;^UTILITY(U,$J,358.3,34663,0)
+92 ;;=F15.14^^134^1762^39
+93 ;;^UTILITY(U,$J,358.3,34663,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,34663,1,3,0)
+96 ;;=3^Oth Stimulant Induced Mood D/O w/ Mild Use D/O
+97 ;;^UTILITY(U,$J,358.3,34663,1,4,0)
+98 ;;=4^F15.14
+99 ;;^UTILITY(U,$J,358.3,34663,2)
+100 ;;=^5003287
+101 ;;^UTILITY(U,$J,358.3,34664,0)
+102 ;;=F15.24^^134^1762^40
+103 ;;^UTILITY(U,$J,358.3,34664,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,34664,1,3,0)
+106 ;;=3^Oth Stimulant Induced Mood D/O w/ Mod/Sev Use D/O
+107 ;;^UTILITY(U,$J,358.3,34664,1,4,0)
+108 ;;=4^F15.24
+109 ;;^UTILITY(U,$J,358.3,34664,2)
+110 ;;=^5003302
+111 ;;^UTILITY(U,$J,358.3,34665,0)
+112 ;;=F15.94^^134^1762^41
+113 ;;^UTILITY(U,$J,358.3,34665,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,34665,1,3,0)
+116 ;;=3^Oth Stimulant Induced Mood D/O w/o Use D/O
+117 ;;^UTILITY(U,$J,358.3,34665,1,4,0)
+118 ;;=4^F15.94