IBDEI1L2 ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,25664,1,3,0)
;;=3^Hallucinogen Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,25664,1,4,0)
;;=4^F16.10
;;^UTILITY(U,$J,358.3,25664,2)
;;=^5003323
;;^UTILITY(U,$J,358.3,25665,0)
;;=F16.20^^92^1172^21
;;^UTILITY(U,$J,358.3,25665,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25665,1,3,0)
;;=3^Hallucinogen Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,25665,1,4,0)
;;=4^F16.20
;;^UTILITY(U,$J,358.3,25665,2)
;;=^5003336
;;^UTILITY(U,$J,358.3,25666,0)
;;=F16.121^^92^1172^10
;;^UTILITY(U,$J,358.3,25666,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25666,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,25666,1,4,0)
;;=4^F16.121
;;^UTILITY(U,$J,358.3,25666,2)
;;=^5003325
;;^UTILITY(U,$J,358.3,25667,0)
;;=F16.221^^92^1172^11
;;^UTILITY(U,$J,358.3,25667,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25667,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,25667,1,4,0)
;;=4^F16.221
;;^UTILITY(U,$J,358.3,25667,2)
;;=^5003339
;;^UTILITY(U,$J,358.3,25668,0)
;;=F16.921^^92^1172^12
;;^UTILITY(U,$J,358.3,25668,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25668,1,3,0)
;;=3^Hallucinogen Intoxication Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,25668,1,4,0)
;;=4^F16.921
;;^UTILITY(U,$J,358.3,25668,2)
;;=^5003351
;;^UTILITY(U,$J,358.3,25669,0)
;;=F16.129^^92^1172^13
;;^UTILITY(U,$J,358.3,25669,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25669,1,3,0)
;;=3^Hallucinogen Intoxication w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,25669,1,4,0)
;;=4^F16.129
;;^UTILITY(U,$J,358.3,25669,2)
;;=^5003327
;;^UTILITY(U,$J,358.3,25670,0)
;;=F16.229^^92^1172^14
;;^UTILITY(U,$J,358.3,25670,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25670,1,3,0)
;;=3^Hallucinogen Intoxication w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,25670,1,4,0)
;;=4^F16.229
;;^UTILITY(U,$J,358.3,25670,2)
;;=^5003340
;;^UTILITY(U,$J,358.3,25671,0)
;;=F16.929^^92^1172^15
;;^UTILITY(U,$J,358.3,25671,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25671,1,3,0)
;;=3^Hallucinogen Intoxication w/o Use D/O
;;^UTILITY(U,$J,358.3,25671,1,4,0)
;;=4^F16.929
;;^UTILITY(U,$J,358.3,25671,2)
;;=^5003352
;;^UTILITY(U,$J,358.3,25672,0)
;;=F16.180^^92^1172^1
;;^UTILITY(U,$J,358.3,25672,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25672,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,25672,1,4,0)
;;=4^F16.180
;;^UTILITY(U,$J,358.3,25672,2)
;;=^5003332
;;^UTILITY(U,$J,358.3,25673,0)
;;=F16.280^^92^1172^2
;;^UTILITY(U,$J,358.3,25673,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25673,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,25673,1,4,0)
;;=4^F16.280
;;^UTILITY(U,$J,358.3,25673,2)
;;=^5003345
;;^UTILITY(U,$J,358.3,25674,0)
;;=F16.980^^92^1172^3
;;^UTILITY(U,$J,358.3,25674,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25674,1,3,0)
;;=3^Hallucinogen Induced Anxiety D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,25674,1,4,0)
;;=4^F16.980
;;^UTILITY(U,$J,358.3,25674,2)
;;=^5003357
;;^UTILITY(U,$J,358.3,25675,0)
;;=F16.14^^92^1172^4
;;^UTILITY(U,$J,358.3,25675,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,25675,1,3,0)
;;=3^Hallucinogen Induced Bipolar D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,25675,1,4,0)
;;=4^F16.14
;;^UTILITY(U,$J,358.3,25675,2)
;;=^5003328
;;^UTILITY(U,$J,358.3,25676,0)
;;=F16.24^^92^1172^5
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1L2 3790 printed Dec 13, 2024@02:10:48 Page 2
IBDEI1L2 ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,25664,1,3,0)
+2 ;;=3^Hallucinogen Use DO,Mild,Uncomp
+3 ;;^UTILITY(U,$J,358.3,25664,1,4,0)
+4 ;;=4^F16.10
+5 ;;^UTILITY(U,$J,358.3,25664,2)
+6 ;;=^5003323
+7 ;;^UTILITY(U,$J,358.3,25665,0)
+8 ;;=F16.20^^92^1172^21
+9 ;;^UTILITY(U,$J,358.3,25665,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,25665,1,3,0)
+12 ;;=3^Hallucinogen Use DO,Mod/Sev,Uncomp
+13 ;;^UTILITY(U,$J,358.3,25665,1,4,0)
+14 ;;=4^F16.20
+15 ;;^UTILITY(U,$J,358.3,25665,2)
+16 ;;=^5003336
+17 ;;^UTILITY(U,$J,358.3,25666,0)
+18 ;;=F16.121^^92^1172^10
+19 ;;^UTILITY(U,$J,358.3,25666,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,25666,1,3,0)
+22 ;;=3^Hallucinogen Intoxication Delirium w/ Mild Use D/O
+23 ;;^UTILITY(U,$J,358.3,25666,1,4,0)
+24 ;;=4^F16.121
+25 ;;^UTILITY(U,$J,358.3,25666,2)
+26 ;;=^5003325
+27 ;;^UTILITY(U,$J,358.3,25667,0)
+28 ;;=F16.221^^92^1172^11
+29 ;;^UTILITY(U,$J,358.3,25667,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,25667,1,3,0)
+32 ;;=3^Hallucinogen Intoxication Delirium w/ Mod/Sev Use D/O
+33 ;;^UTILITY(U,$J,358.3,25667,1,4,0)
+34 ;;=4^F16.221
+35 ;;^UTILITY(U,$J,358.3,25667,2)
+36 ;;=^5003339
+37 ;;^UTILITY(U,$J,358.3,25668,0)
+38 ;;=F16.921^^92^1172^12
+39 ;;^UTILITY(U,$J,358.3,25668,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,25668,1,3,0)
+42 ;;=3^Hallucinogen Intoxication Delirium w/o Use D/O
+43 ;;^UTILITY(U,$J,358.3,25668,1,4,0)
+44 ;;=4^F16.921
+45 ;;^UTILITY(U,$J,358.3,25668,2)
+46 ;;=^5003351
+47 ;;^UTILITY(U,$J,358.3,25669,0)
+48 ;;=F16.129^^92^1172^13
+49 ;;^UTILITY(U,$J,358.3,25669,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,25669,1,3,0)
+52 ;;=3^Hallucinogen Intoxication w/ Mild Use D/O
+53 ;;^UTILITY(U,$J,358.3,25669,1,4,0)
+54 ;;=4^F16.129
+55 ;;^UTILITY(U,$J,358.3,25669,2)
+56 ;;=^5003327
+57 ;;^UTILITY(U,$J,358.3,25670,0)
+58 ;;=F16.229^^92^1172^14
+59 ;;^UTILITY(U,$J,358.3,25670,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,25670,1,3,0)
+62 ;;=3^Hallucinogen Intoxication w/ Mod/Sev Use D/O
+63 ;;^UTILITY(U,$J,358.3,25670,1,4,0)
+64 ;;=4^F16.229
+65 ;;^UTILITY(U,$J,358.3,25670,2)
+66 ;;=^5003340
+67 ;;^UTILITY(U,$J,358.3,25671,0)
+68 ;;=F16.929^^92^1172^15
+69 ;;^UTILITY(U,$J,358.3,25671,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,25671,1,3,0)
+72 ;;=3^Hallucinogen Intoxication w/o Use D/O
+73 ;;^UTILITY(U,$J,358.3,25671,1,4,0)
+74 ;;=4^F16.929
+75 ;;^UTILITY(U,$J,358.3,25671,2)
+76 ;;=^5003352
+77 ;;^UTILITY(U,$J,358.3,25672,0)
+78 ;;=F16.180^^92^1172^1
+79 ;;^UTILITY(U,$J,358.3,25672,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,25672,1,3,0)
+82 ;;=3^Hallucinogen Induced Anxiety D/O w/ Mild Use D/O
+83 ;;^UTILITY(U,$J,358.3,25672,1,4,0)
+84 ;;=4^F16.180
+85 ;;^UTILITY(U,$J,358.3,25672,2)
+86 ;;=^5003332
+87 ;;^UTILITY(U,$J,358.3,25673,0)
+88 ;;=F16.280^^92^1172^2
+89 ;;^UTILITY(U,$J,358.3,25673,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,25673,1,3,0)
+92 ;;=3^Hallucinogen Induced Anxiety D/O w/ Mod/Sev Use D/O
+93 ;;^UTILITY(U,$J,358.3,25673,1,4,0)
+94 ;;=4^F16.280
+95 ;;^UTILITY(U,$J,358.3,25673,2)
+96 ;;=^5003345
+97 ;;^UTILITY(U,$J,358.3,25674,0)
+98 ;;=F16.980^^92^1172^3
+99 ;;^UTILITY(U,$J,358.3,25674,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,25674,1,3,0)
+102 ;;=3^Hallucinogen Induced Anxiety D/O w/o Use D/O
+103 ;;^UTILITY(U,$J,358.3,25674,1,4,0)
+104 ;;=4^F16.980
+105 ;;^UTILITY(U,$J,358.3,25674,2)
+106 ;;=^5003357
+107 ;;^UTILITY(U,$J,358.3,25675,0)
+108 ;;=F16.14^^92^1172^4
+109 ;;^UTILITY(U,$J,358.3,25675,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,25675,1,3,0)
+112 ;;=3^Hallucinogen Induced Bipolar D/O w/ Mild Use D/O
+113 ;;^UTILITY(U,$J,358.3,25675,1,4,0)
+114 ;;=4^F16.14
+115 ;;^UTILITY(U,$J,358.3,25675,2)
+116 ;;=^5003328
+117 ;;^UTILITY(U,$J,358.3,25676,0)
+118 ;;=F16.24^^92^1172^5