IBDEI1PL ; ; 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,27306,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27306,1,4,0)
;;=4^F19.121
;;^UTILITY(U,$J,358.3,27306,2)
;;=^5003418
;;^UTILITY(U,$J,358.3,27307,0)
;;=F19.221^^110^1323^20
;;^UTILITY(U,$J,358.3,27307,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27307,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27307,1,4,0)
;;=4^F19.221
;;^UTILITY(U,$J,358.3,27307,2)
;;=^5003434
;;^UTILITY(U,$J,358.3,27308,0)
;;=F19.921^^110^1323^21
;;^UTILITY(U,$J,358.3,27308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27308,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,27308,1,4,0)
;;=4^F19.921
;;^UTILITY(U,$J,358.3,27308,2)
;;=^5003453
;;^UTILITY(U,$J,358.3,27309,0)
;;=F19.10^^110^1323^27
;;^UTILITY(U,$J,358.3,27309,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27309,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,27309,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,27309,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,27310,0)
;;=F19.20^^110^1323^29
;;^UTILITY(U,$J,358.3,27310,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27310,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,27310,1,4,0)
;;=4^F19.20
;;^UTILITY(U,$J,358.3,27310,2)
;;=^5003431
;;^UTILITY(U,$J,358.3,27311,0)
;;=F19.239^^110^1323^31
;;^UTILITY(U,$J,358.3,27311,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27311,1,3,0)
;;=3^Oth/Unk Substance Withdrawal
;;^UTILITY(U,$J,358.3,27311,1,4,0)
;;=4^F19.239
;;^UTILITY(U,$J,358.3,27311,2)
;;=^5003440
;;^UTILITY(U,$J,358.3,27312,0)
;;=F19.231^^110^1323^32
;;^UTILITY(U,$J,358.3,27312,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27312,1,3,0)
;;=3^Oth/Unk Substance Withdrawal Delirium
;;^UTILITY(U,$J,358.3,27312,1,4,0)
;;=4^F19.231
;;^UTILITY(U,$J,358.3,27312,2)
;;=^5003438
;;^UTILITY(U,$J,358.3,27313,0)
;;=F19.99^^110^1323^25
;;^UTILITY(U,$J,358.3,27313,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27313,1,3,0)
;;=3^Oth/Unk Substance Related D/O,Unspec
;;^UTILITY(U,$J,358.3,27313,1,4,0)
;;=4^F19.99
;;^UTILITY(U,$J,358.3,27313,2)
;;=^5133364
;;^UTILITY(U,$J,358.3,27314,0)
;;=F19.21^^110^1323^28
;;^UTILITY(U,$J,358.3,27314,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27314,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
;;^UTILITY(U,$J,358.3,27314,1,4,0)
;;=4^F19.21
;;^UTILITY(U,$J,358.3,27314,2)
;;=^5003432
;;^UTILITY(U,$J,358.3,27315,0)
;;=F19.939^^110^1323^30
;;^UTILITY(U,$J,358.3,27315,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27315,1,3,0)
;;=3^Oth/Unk Substance WD,Unspec
;;^UTILITY(U,$J,358.3,27315,1,4,0)
;;=4^F19.939
;;^UTILITY(U,$J,358.3,27315,2)
;;=^5003459
;;^UTILITY(U,$J,358.3,27316,0)
;;=F19.11^^110^1323^26
;;^UTILITY(U,$J,358.3,27316,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27316,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,In Remiss
;;^UTILITY(U,$J,358.3,27316,1,4,0)
;;=4^F19.11
;;^UTILITY(U,$J,358.3,27316,2)
;;=^5151306
;;^UTILITY(U,$J,358.3,27317,0)
;;=F15.99^^110^1324^66
;;^UTILITY(U,$J,358.3,27317,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27317,1,3,0)
;;=3^Oth Stimulant Related D/O,Unspec
;;^UTILITY(U,$J,358.3,27317,1,4,0)
;;=4^F15.99
;;^UTILITY(U,$J,358.3,27317,2)
;;=^5133358
;;^UTILITY(U,$J,358.3,27318,0)
;;=F14.99^^110^1324^28
;;^UTILITY(U,$J,358.3,27318,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1PL 3786 printed Nov 22, 2024@17:23:30 Page 2
IBDEI1PL ; ; 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,27306,1,3,0)
+2 ;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
+3 ;;^UTILITY(U,$J,358.3,27306,1,4,0)
+4 ;;=4^F19.121
+5 ;;^UTILITY(U,$J,358.3,27306,2)
+6 ;;=^5003418
+7 ;;^UTILITY(U,$J,358.3,27307,0)
+8 ;;=F19.221^^110^1323^20
+9 ;;^UTILITY(U,$J,358.3,27307,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,27307,1,3,0)
+12 ;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
+13 ;;^UTILITY(U,$J,358.3,27307,1,4,0)
+14 ;;=4^F19.221
+15 ;;^UTILITY(U,$J,358.3,27307,2)
+16 ;;=^5003434
+17 ;;^UTILITY(U,$J,358.3,27308,0)
+18 ;;=F19.921^^110^1323^21
+19 ;;^UTILITY(U,$J,358.3,27308,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,27308,1,3,0)
+22 ;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
+23 ;;^UTILITY(U,$J,358.3,27308,1,4,0)
+24 ;;=4^F19.921
+25 ;;^UTILITY(U,$J,358.3,27308,2)
+26 ;;=^5003453
+27 ;;^UTILITY(U,$J,358.3,27309,0)
+28 ;;=F19.10^^110^1323^27
+29 ;;^UTILITY(U,$J,358.3,27309,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,27309,1,3,0)
+32 ;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
+33 ;;^UTILITY(U,$J,358.3,27309,1,4,0)
+34 ;;=4^F19.10
+35 ;;^UTILITY(U,$J,358.3,27309,2)
+36 ;;=^5003416
+37 ;;^UTILITY(U,$J,358.3,27310,0)
+38 ;;=F19.20^^110^1323^29
+39 ;;^UTILITY(U,$J,358.3,27310,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,27310,1,3,0)
+42 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
+43 ;;^UTILITY(U,$J,358.3,27310,1,4,0)
+44 ;;=4^F19.20
+45 ;;^UTILITY(U,$J,358.3,27310,2)
+46 ;;=^5003431
+47 ;;^UTILITY(U,$J,358.3,27311,0)
+48 ;;=F19.239^^110^1323^31
+49 ;;^UTILITY(U,$J,358.3,27311,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,27311,1,3,0)
+52 ;;=3^Oth/Unk Substance Withdrawal
+53 ;;^UTILITY(U,$J,358.3,27311,1,4,0)
+54 ;;=4^F19.239
+55 ;;^UTILITY(U,$J,358.3,27311,2)
+56 ;;=^5003440
+57 ;;^UTILITY(U,$J,358.3,27312,0)
+58 ;;=F19.231^^110^1323^32
+59 ;;^UTILITY(U,$J,358.3,27312,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,27312,1,3,0)
+62 ;;=3^Oth/Unk Substance Withdrawal Delirium
+63 ;;^UTILITY(U,$J,358.3,27312,1,4,0)
+64 ;;=4^F19.231
+65 ;;^UTILITY(U,$J,358.3,27312,2)
+66 ;;=^5003438
+67 ;;^UTILITY(U,$J,358.3,27313,0)
+68 ;;=F19.99^^110^1323^25
+69 ;;^UTILITY(U,$J,358.3,27313,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,27313,1,3,0)
+72 ;;=3^Oth/Unk Substance Related D/O,Unspec
+73 ;;^UTILITY(U,$J,358.3,27313,1,4,0)
+74 ;;=4^F19.99
+75 ;;^UTILITY(U,$J,358.3,27313,2)
+76 ;;=^5133364
+77 ;;^UTILITY(U,$J,358.3,27314,0)
+78 ;;=F19.21^^110^1323^28
+79 ;;^UTILITY(U,$J,358.3,27314,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,27314,1,3,0)
+82 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,In Remiss
+83 ;;^UTILITY(U,$J,358.3,27314,1,4,0)
+84 ;;=4^F19.21
+85 ;;^UTILITY(U,$J,358.3,27314,2)
+86 ;;=^5003432
+87 ;;^UTILITY(U,$J,358.3,27315,0)
+88 ;;=F19.939^^110^1323^30
+89 ;;^UTILITY(U,$J,358.3,27315,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,27315,1,3,0)
+92 ;;=3^Oth/Unk Substance WD,Unspec
+93 ;;^UTILITY(U,$J,358.3,27315,1,4,0)
+94 ;;=4^F19.939
+95 ;;^UTILITY(U,$J,358.3,27315,2)
+96 ;;=^5003459
+97 ;;^UTILITY(U,$J,358.3,27316,0)
+98 ;;=F19.11^^110^1323^26
+99 ;;^UTILITY(U,$J,358.3,27316,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,27316,1,3,0)
+102 ;;=3^Oth/Unk Substance Use DO,Mild,In Remiss
+103 ;;^UTILITY(U,$J,358.3,27316,1,4,0)
+104 ;;=4^F19.11
+105 ;;^UTILITY(U,$J,358.3,27316,2)
+106 ;;=^5151306
+107 ;;^UTILITY(U,$J,358.3,27317,0)
+108 ;;=F15.99^^110^1324^66
+109 ;;^UTILITY(U,$J,358.3,27317,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,27317,1,3,0)
+112 ;;=3^Oth Stimulant Related D/O,Unspec
+113 ;;^UTILITY(U,$J,358.3,27317,1,4,0)
+114 ;;=4^F15.99
+115 ;;^UTILITY(U,$J,358.3,27317,2)
+116 ;;=^5133358
+117 ;;^UTILITY(U,$J,358.3,27318,0)
+118 ;;=F14.99^^110^1324^28
+119 ;;^UTILITY(U,$J,358.3,27318,1,0)
+120 ;;=^358.31IA^4^2