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