IBDEI1T0 ; ; 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,28804,0)
;;=F19.229^^115^1423^23
;;^UTILITY(U,$J,358.3,28804,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28804,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,28804,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,28804,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,28805,0)
;;=F19.929^^115^1423^24
;;^UTILITY(U,$J,358.3,28805,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28805,1,3,0)
;;=3^Oth/Unk Substance Intox w/o Use D/O
;;^UTILITY(U,$J,358.3,28805,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,28805,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,28806,0)
;;=F19.121^^115^1423^19
;;^UTILITY(U,$J,358.3,28806,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28806,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,28806,1,4,0)
;;=4^F19.121
;;^UTILITY(U,$J,358.3,28806,2)
;;=^5003418
;;^UTILITY(U,$J,358.3,28807,0)
;;=F19.221^^115^1423^20
;;^UTILITY(U,$J,358.3,28807,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28807,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,28807,1,4,0)
;;=4^F19.221
;;^UTILITY(U,$J,358.3,28807,2)
;;=^5003434
;;^UTILITY(U,$J,358.3,28808,0)
;;=F19.921^^115^1423^21
;;^UTILITY(U,$J,358.3,28808,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28808,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,28808,1,4,0)
;;=4^F19.921
;;^UTILITY(U,$J,358.3,28808,2)
;;=^5003453
;;^UTILITY(U,$J,358.3,28809,0)
;;=F19.10^^115^1423^27
;;^UTILITY(U,$J,358.3,28809,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28809,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,28809,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,28809,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,28810,0)
;;=F19.20^^115^1423^29
;;^UTILITY(U,$J,358.3,28810,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28810,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,28810,1,4,0)
;;=4^F19.20
;;^UTILITY(U,$J,358.3,28810,2)
;;=^5003431
;;^UTILITY(U,$J,358.3,28811,0)
;;=F19.239^^115^1423^31
;;^UTILITY(U,$J,358.3,28811,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28811,1,3,0)
;;=3^Oth/Unk Substance Withdrawal
;;^UTILITY(U,$J,358.3,28811,1,4,0)
;;=4^F19.239
;;^UTILITY(U,$J,358.3,28811,2)
;;=^5003440
;;^UTILITY(U,$J,358.3,28812,0)
;;=F19.231^^115^1423^32
;;^UTILITY(U,$J,358.3,28812,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28812,1,3,0)
;;=3^Oth/Unk Substance Withdrawal Delirium
;;^UTILITY(U,$J,358.3,28812,1,4,0)
;;=4^F19.231
;;^UTILITY(U,$J,358.3,28812,2)
;;=^5003438
;;^UTILITY(U,$J,358.3,28813,0)
;;=F19.99^^115^1423^25
;;^UTILITY(U,$J,358.3,28813,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28813,1,3,0)
;;=3^Oth/Unk Substance Related D/O,Unspec
;;^UTILITY(U,$J,358.3,28813,1,4,0)
;;=4^F19.99
;;^UTILITY(U,$J,358.3,28813,2)
;;=^5133364
;;^UTILITY(U,$J,358.3,28814,0)
;;=F19.21^^115^1423^28
;;^UTILITY(U,$J,358.3,28814,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28814,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
;;^UTILITY(U,$J,358.3,28814,1,4,0)
;;=4^F19.21
;;^UTILITY(U,$J,358.3,28814,2)
;;=^5003432
;;^UTILITY(U,$J,358.3,28815,0)
;;=F19.939^^115^1423^30
;;^UTILITY(U,$J,358.3,28815,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28815,1,3,0)
;;=3^Oth/Unk Substance WD,Unspec
;;^UTILITY(U,$J,358.3,28815,1,4,0)
;;=4^F19.939
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1T0 3750 printed Dec 13, 2024@02:15:13 Page 2
IBDEI1T0 ; ; 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,28804,0)
+2 ;;=F19.229^^115^1423^23
+3 ;;^UTILITY(U,$J,358.3,28804,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,28804,1,3,0)
+6 ;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
+7 ;;^UTILITY(U,$J,358.3,28804,1,4,0)
+8 ;;=4^F19.229
+9 ;;^UTILITY(U,$J,358.3,28804,2)
+10 ;;=^5003436
+11 ;;^UTILITY(U,$J,358.3,28805,0)
+12 ;;=F19.929^^115^1423^24
+13 ;;^UTILITY(U,$J,358.3,28805,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,28805,1,3,0)
+16 ;;=3^Oth/Unk Substance Intox w/o Use D/O
+17 ;;^UTILITY(U,$J,358.3,28805,1,4,0)
+18 ;;=4^F19.929
+19 ;;^UTILITY(U,$J,358.3,28805,2)
+20 ;;=^5003455
+21 ;;^UTILITY(U,$J,358.3,28806,0)
+22 ;;=F19.121^^115^1423^19
+23 ;;^UTILITY(U,$J,358.3,28806,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,28806,1,3,0)
+26 ;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
+27 ;;^UTILITY(U,$J,358.3,28806,1,4,0)
+28 ;;=4^F19.121
+29 ;;^UTILITY(U,$J,358.3,28806,2)
+30 ;;=^5003418
+31 ;;^UTILITY(U,$J,358.3,28807,0)
+32 ;;=F19.221^^115^1423^20
+33 ;;^UTILITY(U,$J,358.3,28807,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,28807,1,3,0)
+36 ;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
+37 ;;^UTILITY(U,$J,358.3,28807,1,4,0)
+38 ;;=4^F19.221
+39 ;;^UTILITY(U,$J,358.3,28807,2)
+40 ;;=^5003434
+41 ;;^UTILITY(U,$J,358.3,28808,0)
+42 ;;=F19.921^^115^1423^21
+43 ;;^UTILITY(U,$J,358.3,28808,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,28808,1,3,0)
+46 ;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
+47 ;;^UTILITY(U,$J,358.3,28808,1,4,0)
+48 ;;=4^F19.921
+49 ;;^UTILITY(U,$J,358.3,28808,2)
+50 ;;=^5003453
+51 ;;^UTILITY(U,$J,358.3,28809,0)
+52 ;;=F19.10^^115^1423^27
+53 ;;^UTILITY(U,$J,358.3,28809,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,28809,1,3,0)
+56 ;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
+57 ;;^UTILITY(U,$J,358.3,28809,1,4,0)
+58 ;;=4^F19.10
+59 ;;^UTILITY(U,$J,358.3,28809,2)
+60 ;;=^5003416
+61 ;;^UTILITY(U,$J,358.3,28810,0)
+62 ;;=F19.20^^115^1423^29
+63 ;;^UTILITY(U,$J,358.3,28810,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,28810,1,3,0)
+66 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
+67 ;;^UTILITY(U,$J,358.3,28810,1,4,0)
+68 ;;=4^F19.20
+69 ;;^UTILITY(U,$J,358.3,28810,2)
+70 ;;=^5003431
+71 ;;^UTILITY(U,$J,358.3,28811,0)
+72 ;;=F19.239^^115^1423^31
+73 ;;^UTILITY(U,$J,358.3,28811,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,28811,1,3,0)
+76 ;;=3^Oth/Unk Substance Withdrawal
+77 ;;^UTILITY(U,$J,358.3,28811,1,4,0)
+78 ;;=4^F19.239
+79 ;;^UTILITY(U,$J,358.3,28811,2)
+80 ;;=^5003440
+81 ;;^UTILITY(U,$J,358.3,28812,0)
+82 ;;=F19.231^^115^1423^32
+83 ;;^UTILITY(U,$J,358.3,28812,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,28812,1,3,0)
+86 ;;=3^Oth/Unk Substance Withdrawal Delirium
+87 ;;^UTILITY(U,$J,358.3,28812,1,4,0)
+88 ;;=4^F19.231
+89 ;;^UTILITY(U,$J,358.3,28812,2)
+90 ;;=^5003438
+91 ;;^UTILITY(U,$J,358.3,28813,0)
+92 ;;=F19.99^^115^1423^25
+93 ;;^UTILITY(U,$J,358.3,28813,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,28813,1,3,0)
+96 ;;=3^Oth/Unk Substance Related D/O,Unspec
+97 ;;^UTILITY(U,$J,358.3,28813,1,4,0)
+98 ;;=4^F19.99
+99 ;;^UTILITY(U,$J,358.3,28813,2)
+100 ;;=^5133364
+101 ;;^UTILITY(U,$J,358.3,28814,0)
+102 ;;=F19.21^^115^1423^28
+103 ;;^UTILITY(U,$J,358.3,28814,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,28814,1,3,0)
+106 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
+107 ;;^UTILITY(U,$J,358.3,28814,1,4,0)
+108 ;;=4^F19.21
+109 ;;^UTILITY(U,$J,358.3,28814,2)
+110 ;;=^5003432
+111 ;;^UTILITY(U,$J,358.3,28815,0)
+112 ;;=F19.939^^115^1423^30
+113 ;;^UTILITY(U,$J,358.3,28815,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,28815,1,3,0)
+116 ;;=3^Oth/Unk Substance WD,Unspec
+117 ;;^UTILITY(U,$J,358.3,28815,1,4,0)
+118 ;;=4^F19.939