IBDEI1W6 ; ; 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,30216,1,4,0)
;;=4^F12.11
;;^UTILITY(U,$J,358.3,30216,2)
;;=^268236
;;^UTILITY(U,$J,358.3,30217,0)
;;=F16.10^^120^1540^19
;;^UTILITY(U,$J,358.3,30217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30217,1,3,0)
;;=3^Hallucinogen Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,30217,1,4,0)
;;=4^F16.10
;;^UTILITY(U,$J,358.3,30217,2)
;;=^5003323
;;^UTILITY(U,$J,358.3,30218,0)
;;=F16.20^^120^1540^21
;;^UTILITY(U,$J,358.3,30218,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30218,1,3,0)
;;=3^Hallucinogen Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,30218,1,4,0)
;;=4^F16.20
;;^UTILITY(U,$J,358.3,30218,2)
;;=^5003336
;;^UTILITY(U,$J,358.3,30219,0)
;;=F16.121^^120^1540^10
;;^UTILITY(U,$J,358.3,30219,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30219,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30219,1,4,0)
;;=4^F16.121
;;^UTILITY(U,$J,358.3,30219,2)
;;=^5003325
;;^UTILITY(U,$J,358.3,30220,0)
;;=F16.221^^120^1540^11
;;^UTILITY(U,$J,358.3,30220,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30220,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30220,1,4,0)
;;=4^F16.221
;;^UTILITY(U,$J,358.3,30220,2)
;;=^5003339
;;^UTILITY(U,$J,358.3,30221,0)
;;=F16.921^^120^1540^12
;;^UTILITY(U,$J,358.3,30221,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30221,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,30221,1,4,0)
;;=4^F16.921
;;^UTILITY(U,$J,358.3,30221,2)
;;=^5003351
;;^UTILITY(U,$J,358.3,30222,0)
;;=F16.129^^120^1540^13
;;^UTILITY(U,$J,358.3,30222,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30222,1,3,0)
;;=3^Hallucinogen Intoxication w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30222,1,4,0)
;;=4^F16.129
;;^UTILITY(U,$J,358.3,30222,2)
;;=^5003327
;;^UTILITY(U,$J,358.3,30223,0)
;;=F16.229^^120^1540^14
;;^UTILITY(U,$J,358.3,30223,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30223,1,3,0)
;;=3^Hallucinogen Intoxication w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30223,1,4,0)
;;=4^F16.229
;;^UTILITY(U,$J,358.3,30223,2)
;;=^5003340
;;^UTILITY(U,$J,358.3,30224,0)
;;=F16.929^^120^1540^15
;;^UTILITY(U,$J,358.3,30224,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30224,1,3,0)
;;=3^Hallucinogen Intoxication w/o Use D/O
;;^UTILITY(U,$J,358.3,30224,1,4,0)
;;=4^F16.929
;;^UTILITY(U,$J,358.3,30224,2)
;;=^5003352
;;^UTILITY(U,$J,358.3,30225,0)
;;=F16.180^^120^1540^1
;;^UTILITY(U,$J,358.3,30225,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30225,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30225,1,4,0)
;;=4^F16.180
;;^UTILITY(U,$J,358.3,30225,2)
;;=^5003332
;;^UTILITY(U,$J,358.3,30226,0)
;;=F16.280^^120^1540^2
;;^UTILITY(U,$J,358.3,30226,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30226,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30226,1,4,0)
;;=4^F16.280
;;^UTILITY(U,$J,358.3,30226,2)
;;=^5003345
;;^UTILITY(U,$J,358.3,30227,0)
;;=F16.980^^120^1540^3
;;^UTILITY(U,$J,358.3,30227,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30227,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30227,1,4,0)
;;=4^F16.980
;;^UTILITY(U,$J,358.3,30227,2)
;;=^5003357
;;^UTILITY(U,$J,358.3,30228,0)
;;=F16.14^^120^1540^4
;;^UTILITY(U,$J,358.3,30228,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1W6 3763 printed Nov 22, 2024@17:27:09 Page 2
IBDEI1W6 ; ; 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,30216,1,4,0)
+2 ;;=4^F12.11
+3 ;;^UTILITY(U,$J,358.3,30216,2)
+4 ;;=^268236
+5 ;;^UTILITY(U,$J,358.3,30217,0)
+6 ;;=F16.10^^120^1540^19
+7 ;;^UTILITY(U,$J,358.3,30217,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,30217,1,3,0)
+10 ;;=3^Hallucinogen Use DO,Mild,Uncomp
+11 ;;^UTILITY(U,$J,358.3,30217,1,4,0)
+12 ;;=4^F16.10
+13 ;;^UTILITY(U,$J,358.3,30217,2)
+14 ;;=^5003323
+15 ;;^UTILITY(U,$J,358.3,30218,0)
+16 ;;=F16.20^^120^1540^21
+17 ;;^UTILITY(U,$J,358.3,30218,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,30218,1,3,0)
+20 ;;=3^Hallucinogen Use DO,Mod/Sev,Uncomp
+21 ;;^UTILITY(U,$J,358.3,30218,1,4,0)
+22 ;;=4^F16.20
+23 ;;^UTILITY(U,$J,358.3,30218,2)
+24 ;;=^5003336
+25 ;;^UTILITY(U,$J,358.3,30219,0)
+26 ;;=F16.121^^120^1540^10
+27 ;;^UTILITY(U,$J,358.3,30219,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,30219,1,3,0)
+30 ;;=3^Hallucinogen Intoxication Delirium w/ Mild Use D/O
+31 ;;^UTILITY(U,$J,358.3,30219,1,4,0)
+32 ;;=4^F16.121
+33 ;;^UTILITY(U,$J,358.3,30219,2)
+34 ;;=^5003325
+35 ;;^UTILITY(U,$J,358.3,30220,0)
+36 ;;=F16.221^^120^1540^11
+37 ;;^UTILITY(U,$J,358.3,30220,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,30220,1,3,0)
+40 ;;=3^Hallucinogen Intoxication Delirium w/ Mod/Sev Use D/O
+41 ;;^UTILITY(U,$J,358.3,30220,1,4,0)
+42 ;;=4^F16.221
+43 ;;^UTILITY(U,$J,358.3,30220,2)
+44 ;;=^5003339
+45 ;;^UTILITY(U,$J,358.3,30221,0)
+46 ;;=F16.921^^120^1540^12
+47 ;;^UTILITY(U,$J,358.3,30221,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,30221,1,3,0)
+50 ;;=3^Hallucinogen Intoxication Delirium w/o Use D/O
+51 ;;^UTILITY(U,$J,358.3,30221,1,4,0)
+52 ;;=4^F16.921
+53 ;;^UTILITY(U,$J,358.3,30221,2)
+54 ;;=^5003351
+55 ;;^UTILITY(U,$J,358.3,30222,0)
+56 ;;=F16.129^^120^1540^13
+57 ;;^UTILITY(U,$J,358.3,30222,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,30222,1,3,0)
+60 ;;=3^Hallucinogen Intoxication w/ Mild Use D/O
+61 ;;^UTILITY(U,$J,358.3,30222,1,4,0)
+62 ;;=4^F16.129
+63 ;;^UTILITY(U,$J,358.3,30222,2)
+64 ;;=^5003327
+65 ;;^UTILITY(U,$J,358.3,30223,0)
+66 ;;=F16.229^^120^1540^14
+67 ;;^UTILITY(U,$J,358.3,30223,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,30223,1,3,0)
+70 ;;=3^Hallucinogen Intoxication w/ Mod/Sev Use D/O
+71 ;;^UTILITY(U,$J,358.3,30223,1,4,0)
+72 ;;=4^F16.229
+73 ;;^UTILITY(U,$J,358.3,30223,2)
+74 ;;=^5003340
+75 ;;^UTILITY(U,$J,358.3,30224,0)
+76 ;;=F16.929^^120^1540^15
+77 ;;^UTILITY(U,$J,358.3,30224,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,30224,1,3,0)
+80 ;;=3^Hallucinogen Intoxication w/o Use D/O
+81 ;;^UTILITY(U,$J,358.3,30224,1,4,0)
+82 ;;=4^F16.929
+83 ;;^UTILITY(U,$J,358.3,30224,2)
+84 ;;=^5003352
+85 ;;^UTILITY(U,$J,358.3,30225,0)
+86 ;;=F16.180^^120^1540^1
+87 ;;^UTILITY(U,$J,358.3,30225,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,30225,1,3,0)
+90 ;;=3^Hallucinogen Induced Anxiety D/O w/ Mild Use D/O
+91 ;;^UTILITY(U,$J,358.3,30225,1,4,0)
+92 ;;=4^F16.180
+93 ;;^UTILITY(U,$J,358.3,30225,2)
+94 ;;=^5003332
+95 ;;^UTILITY(U,$J,358.3,30226,0)
+96 ;;=F16.280^^120^1540^2
+97 ;;^UTILITY(U,$J,358.3,30226,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,30226,1,3,0)
+100 ;;=3^Hallucinogen Induced Anxiety D/O w/ Mod/Sev Use D/O
+101 ;;^UTILITY(U,$J,358.3,30226,1,4,0)
+102 ;;=4^F16.280
+103 ;;^UTILITY(U,$J,358.3,30226,2)
+104 ;;=^5003345
+105 ;;^UTILITY(U,$J,358.3,30227,0)
+106 ;;=F16.980^^120^1540^3
+107 ;;^UTILITY(U,$J,358.3,30227,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,30227,1,3,0)
+110 ;;=3^Hallucinogen Induced Anxiety D/O w/o Use D/O
+111 ;;^UTILITY(U,$J,358.3,30227,1,4,0)
+112 ;;=4^F16.980
+113 ;;^UTILITY(U,$J,358.3,30227,2)
+114 ;;=^5003357
+115 ;;^UTILITY(U,$J,358.3,30228,0)
+116 ;;=F16.14^^120^1540^4
+117 ;;^UTILITY(U,$J,358.3,30228,1,0)
+118 ;;=^358.31IA^4^2