IBDEI1RD ; ; 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,28093,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28093,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,28093,1,4,0)
;;=4^F19.282
;;^UTILITY(U,$J,358.3,28093,2)
;;=^5003449
;;^UTILITY(U,$J,358.3,28094,0)
;;=F19.982^^113^1377^18
;;^UTILITY(U,$J,358.3,28094,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28094,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,28094,1,4,0)
;;=4^F19.982
;;^UTILITY(U,$J,358.3,28094,2)
;;=^5003468
;;^UTILITY(U,$J,358.3,28095,0)
;;=F19.129^^113^1377^22
;;^UTILITY(U,$J,358.3,28095,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28095,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,28095,1,4,0)
;;=4^F19.129
;;^UTILITY(U,$J,358.3,28095,2)
;;=^5003420
;;^UTILITY(U,$J,358.3,28096,0)
;;=F19.229^^113^1377^23
;;^UTILITY(U,$J,358.3,28096,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28096,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,28096,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,28096,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,28097,0)
;;=F19.929^^113^1377^24
;;^UTILITY(U,$J,358.3,28097,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28097,1,3,0)
;;=3^Oth/Unk Substance Intox w/o Use D/O
;;^UTILITY(U,$J,358.3,28097,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,28097,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,28098,0)
;;=F19.121^^113^1377^19
;;^UTILITY(U,$J,358.3,28098,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28098,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,28098,1,4,0)
;;=4^F19.121
;;^UTILITY(U,$J,358.3,28098,2)
;;=^5003418
;;^UTILITY(U,$J,358.3,28099,0)
;;=F19.221^^113^1377^20
;;^UTILITY(U,$J,358.3,28099,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28099,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,28099,1,4,0)
;;=4^F19.221
;;^UTILITY(U,$J,358.3,28099,2)
;;=^5003434
;;^UTILITY(U,$J,358.3,28100,0)
;;=F19.921^^113^1377^21
;;^UTILITY(U,$J,358.3,28100,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28100,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,28100,1,4,0)
;;=4^F19.921
;;^UTILITY(U,$J,358.3,28100,2)
;;=^5003453
;;^UTILITY(U,$J,358.3,28101,0)
;;=F19.10^^113^1377^27
;;^UTILITY(U,$J,358.3,28101,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28101,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,28101,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,28101,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,28102,0)
;;=F19.20^^113^1377^29
;;^UTILITY(U,$J,358.3,28102,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28102,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,28102,1,4,0)
;;=4^F19.20
;;^UTILITY(U,$J,358.3,28102,2)
;;=^5003431
;;^UTILITY(U,$J,358.3,28103,0)
;;=F19.239^^113^1377^31
;;^UTILITY(U,$J,358.3,28103,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28103,1,3,0)
;;=3^Oth/Unk Substance Withdrawal
;;^UTILITY(U,$J,358.3,28103,1,4,0)
;;=4^F19.239
;;^UTILITY(U,$J,358.3,28103,2)
;;=^5003440
;;^UTILITY(U,$J,358.3,28104,0)
;;=F19.231^^113^1377^32
;;^UTILITY(U,$J,358.3,28104,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,28104,1,3,0)
;;=3^Oth/Unk Substance Withdrawal Delirium
;;^UTILITY(U,$J,358.3,28104,1,4,0)
;;=4^F19.231
;;^UTILITY(U,$J,358.3,28104,2)
;;=^5003438
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1RD 3777 printed Dec 13, 2024@02:14:18 Page 2
IBDEI1RD ; ; 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,28093,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,28093,1,3,0)
+4 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
+5 ;;^UTILITY(U,$J,358.3,28093,1,4,0)
+6 ;;=4^F19.282
+7 ;;^UTILITY(U,$J,358.3,28093,2)
+8 ;;=^5003449
+9 ;;^UTILITY(U,$J,358.3,28094,0)
+10 ;;=F19.982^^113^1377^18
+11 ;;^UTILITY(U,$J,358.3,28094,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,28094,1,3,0)
+14 ;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
+15 ;;^UTILITY(U,$J,358.3,28094,1,4,0)
+16 ;;=4^F19.982
+17 ;;^UTILITY(U,$J,358.3,28094,2)
+18 ;;=^5003468
+19 ;;^UTILITY(U,$J,358.3,28095,0)
+20 ;;=F19.129^^113^1377^22
+21 ;;^UTILITY(U,$J,358.3,28095,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,28095,1,3,0)
+24 ;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
+25 ;;^UTILITY(U,$J,358.3,28095,1,4,0)
+26 ;;=4^F19.129
+27 ;;^UTILITY(U,$J,358.3,28095,2)
+28 ;;=^5003420
+29 ;;^UTILITY(U,$J,358.3,28096,0)
+30 ;;=F19.229^^113^1377^23
+31 ;;^UTILITY(U,$J,358.3,28096,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,28096,1,3,0)
+34 ;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
+35 ;;^UTILITY(U,$J,358.3,28096,1,4,0)
+36 ;;=4^F19.229
+37 ;;^UTILITY(U,$J,358.3,28096,2)
+38 ;;=^5003436
+39 ;;^UTILITY(U,$J,358.3,28097,0)
+40 ;;=F19.929^^113^1377^24
+41 ;;^UTILITY(U,$J,358.3,28097,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,28097,1,3,0)
+44 ;;=3^Oth/Unk Substance Intox w/o Use D/O
+45 ;;^UTILITY(U,$J,358.3,28097,1,4,0)
+46 ;;=4^F19.929
+47 ;;^UTILITY(U,$J,358.3,28097,2)
+48 ;;=^5003455
+49 ;;^UTILITY(U,$J,358.3,28098,0)
+50 ;;=F19.121^^113^1377^19
+51 ;;^UTILITY(U,$J,358.3,28098,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,28098,1,3,0)
+54 ;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
+55 ;;^UTILITY(U,$J,358.3,28098,1,4,0)
+56 ;;=4^F19.121
+57 ;;^UTILITY(U,$J,358.3,28098,2)
+58 ;;=^5003418
+59 ;;^UTILITY(U,$J,358.3,28099,0)
+60 ;;=F19.221^^113^1377^20
+61 ;;^UTILITY(U,$J,358.3,28099,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,28099,1,3,0)
+64 ;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
+65 ;;^UTILITY(U,$J,358.3,28099,1,4,0)
+66 ;;=4^F19.221
+67 ;;^UTILITY(U,$J,358.3,28099,2)
+68 ;;=^5003434
+69 ;;^UTILITY(U,$J,358.3,28100,0)
+70 ;;=F19.921^^113^1377^21
+71 ;;^UTILITY(U,$J,358.3,28100,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,28100,1,3,0)
+74 ;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
+75 ;;^UTILITY(U,$J,358.3,28100,1,4,0)
+76 ;;=4^F19.921
+77 ;;^UTILITY(U,$J,358.3,28100,2)
+78 ;;=^5003453
+79 ;;^UTILITY(U,$J,358.3,28101,0)
+80 ;;=F19.10^^113^1377^27
+81 ;;^UTILITY(U,$J,358.3,28101,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,28101,1,3,0)
+84 ;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
+85 ;;^UTILITY(U,$J,358.3,28101,1,4,0)
+86 ;;=4^F19.10
+87 ;;^UTILITY(U,$J,358.3,28101,2)
+88 ;;=^5003416
+89 ;;^UTILITY(U,$J,358.3,28102,0)
+90 ;;=F19.20^^113^1377^29
+91 ;;^UTILITY(U,$J,358.3,28102,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,28102,1,3,0)
+94 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
+95 ;;^UTILITY(U,$J,358.3,28102,1,4,0)
+96 ;;=4^F19.20
+97 ;;^UTILITY(U,$J,358.3,28102,2)
+98 ;;=^5003431
+99 ;;^UTILITY(U,$J,358.3,28103,0)
+100 ;;=F19.239^^113^1377^31
+101 ;;^UTILITY(U,$J,358.3,28103,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,28103,1,3,0)
+104 ;;=3^Oth/Unk Substance Withdrawal
+105 ;;^UTILITY(U,$J,358.3,28103,1,4,0)
+106 ;;=4^F19.239
+107 ;;^UTILITY(U,$J,358.3,28103,2)
+108 ;;=^5003440
+109 ;;^UTILITY(U,$J,358.3,28104,0)
+110 ;;=F19.231^^113^1377^32
+111 ;;^UTILITY(U,$J,358.3,28104,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,28104,1,3,0)
+114 ;;=3^Oth/Unk Substance Withdrawal Delirium
+115 ;;^UTILITY(U,$J,358.3,28104,1,4,0)
+116 ;;=4^F19.231
+117 ;;^UTILITY(U,$J,358.3,28104,2)
+118 ;;=^5003438