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