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