IBDEI1W4 ; ; 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,30192,2)
;;=^5003166
;;^UTILITY(U,$J,358.3,30193,0)
;;=F12.288^^120^1539^25
;;^UTILITY(U,$J,358.3,30193,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30193,1,3,0)
;;=3^Cannabis Withdrawal
;;^UTILITY(U,$J,358.3,30193,1,4,0)
;;=4^F12.288
;;^UTILITY(U,$J,358.3,30193,2)
;;=^5003176
;;^UTILITY(U,$J,358.3,30194,0)
;;=F12.121^^120^1539^10
;;^UTILITY(U,$J,358.3,30194,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30194,1,3,0)
;;=3^Cannabis Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30194,1,4,0)
;;=4^F12.121
;;^UTILITY(U,$J,358.3,30194,2)
;;=^5003157
;;^UTILITY(U,$J,358.3,30195,0)
;;=F12.221^^120^1539^11
;;^UTILITY(U,$J,358.3,30195,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30195,1,3,0)
;;=3^Cannabis Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30195,1,4,0)
;;=4^F12.221
;;^UTILITY(U,$J,358.3,30195,2)
;;=^5003169
;;^UTILITY(U,$J,358.3,30196,0)
;;=F12.921^^120^1539^12
;;^UTILITY(U,$J,358.3,30196,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30196,1,3,0)
;;=3^Cannabis Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,30196,1,4,0)
;;=4^F12.921
;;^UTILITY(U,$J,358.3,30196,2)
;;=^5003180
;;^UTILITY(U,$J,358.3,30197,0)
;;=F12.229^^120^1539^16
;;^UTILITY(U,$J,358.3,30197,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30197,1,3,0)
;;=3^Cannabis Intox w/o Percep Disturb w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30197,1,4,0)
;;=4^F12.229
;;^UTILITY(U,$J,358.3,30197,2)
;;=^5003171
;;^UTILITY(U,$J,358.3,30198,0)
;;=F12.122^^120^1539^13
;;^UTILITY(U,$J,358.3,30198,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30198,1,3,0)
;;=3^Cannabis Intox w/ Percep Disturb w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30198,1,4,0)
;;=4^F12.122
;;^UTILITY(U,$J,358.3,30198,2)
;;=^5003158
;;^UTILITY(U,$J,358.3,30199,0)
;;=F12.222^^120^1539^14
;;^UTILITY(U,$J,358.3,30199,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30199,1,3,0)
;;=3^Cannabis Intox w/ Percep Disturb w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30199,1,4,0)
;;=4^F12.222
;;^UTILITY(U,$J,358.3,30199,2)
;;=^5003170
;;^UTILITY(U,$J,358.3,30200,0)
;;=F12.922^^120^1539^15
;;^UTILITY(U,$J,358.3,30200,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30200,1,3,0)
;;=3^Cannabis Intox w/ Percep Disturb w/o Use D/O
;;^UTILITY(U,$J,358.3,30200,1,4,0)
;;=4^F12.922
;;^UTILITY(U,$J,358.3,30200,2)
;;=^5003181
;;^UTILITY(U,$J,358.3,30201,0)
;;=F12.980^^120^1539^3
;;^UTILITY(U,$J,358.3,30201,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30201,1,3,0)
;;=3^Cannabis Induced Anxiety D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30201,1,4,0)
;;=4^F12.980
;;^UTILITY(U,$J,358.3,30201,2)
;;=^5003186
;;^UTILITY(U,$J,358.3,30202,0)
;;=F12.159^^120^1539^4
;;^UTILITY(U,$J,358.3,30202,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30202,1,3,0)
;;=3^Cannabis Induced Psychotic D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30202,1,4,0)
;;=4^F12.159
;;^UTILITY(U,$J,358.3,30202,2)
;;=^5003162
;;^UTILITY(U,$J,358.3,30203,0)
;;=F12.259^^120^1539^5
;;^UTILITY(U,$J,358.3,30203,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30203,1,3,0)
;;=3^Cannabis Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30203,1,4,0)
;;=4^F12.259
;;^UTILITY(U,$J,358.3,30203,2)
;;=^5003174
;;^UTILITY(U,$J,358.3,30204,0)
;;=F12.959^^120^1539^6
;;^UTILITY(U,$J,358.3,30204,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30204,1,3,0)
;;=3^Cannabis Induced Psychotic D/O w/o Use D/O
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1W4 3791 printed Dec 13, 2024@02:16:57 Page 2
IBDEI1W4 ; ; 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,30192,2)
+2 ;;=^5003166
+3 ;;^UTILITY(U,$J,358.3,30193,0)
+4 ;;=F12.288^^120^1539^25
+5 ;;^UTILITY(U,$J,358.3,30193,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,30193,1,3,0)
+8 ;;=3^Cannabis Withdrawal
+9 ;;^UTILITY(U,$J,358.3,30193,1,4,0)
+10 ;;=4^F12.288
+11 ;;^UTILITY(U,$J,358.3,30193,2)
+12 ;;=^5003176
+13 ;;^UTILITY(U,$J,358.3,30194,0)
+14 ;;=F12.121^^120^1539^10
+15 ;;^UTILITY(U,$J,358.3,30194,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,30194,1,3,0)
+18 ;;=3^Cannabis Intox Delirium w/ Mild Use D/O
+19 ;;^UTILITY(U,$J,358.3,30194,1,4,0)
+20 ;;=4^F12.121
+21 ;;^UTILITY(U,$J,358.3,30194,2)
+22 ;;=^5003157
+23 ;;^UTILITY(U,$J,358.3,30195,0)
+24 ;;=F12.221^^120^1539^11
+25 ;;^UTILITY(U,$J,358.3,30195,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,30195,1,3,0)
+28 ;;=3^Cannabis Intox Delirium w/ Mod/Sev Use D/O
+29 ;;^UTILITY(U,$J,358.3,30195,1,4,0)
+30 ;;=4^F12.221
+31 ;;^UTILITY(U,$J,358.3,30195,2)
+32 ;;=^5003169
+33 ;;^UTILITY(U,$J,358.3,30196,0)
+34 ;;=F12.921^^120^1539^12
+35 ;;^UTILITY(U,$J,358.3,30196,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,30196,1,3,0)
+38 ;;=3^Cannabis Intox Delirium w/o Use D/O
+39 ;;^UTILITY(U,$J,358.3,30196,1,4,0)
+40 ;;=4^F12.921
+41 ;;^UTILITY(U,$J,358.3,30196,2)
+42 ;;=^5003180
+43 ;;^UTILITY(U,$J,358.3,30197,0)
+44 ;;=F12.229^^120^1539^16
+45 ;;^UTILITY(U,$J,358.3,30197,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,30197,1,3,0)
+48 ;;=3^Cannabis Intox w/o Percep Disturb w/ Mod/Sev Use D/O
+49 ;;^UTILITY(U,$J,358.3,30197,1,4,0)
+50 ;;=4^F12.229
+51 ;;^UTILITY(U,$J,358.3,30197,2)
+52 ;;=^5003171
+53 ;;^UTILITY(U,$J,358.3,30198,0)
+54 ;;=F12.122^^120^1539^13
+55 ;;^UTILITY(U,$J,358.3,30198,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,30198,1,3,0)
+58 ;;=3^Cannabis Intox w/ Percep Disturb w/ Mild Use D/O
+59 ;;^UTILITY(U,$J,358.3,30198,1,4,0)
+60 ;;=4^F12.122
+61 ;;^UTILITY(U,$J,358.3,30198,2)
+62 ;;=^5003158
+63 ;;^UTILITY(U,$J,358.3,30199,0)
+64 ;;=F12.222^^120^1539^14
+65 ;;^UTILITY(U,$J,358.3,30199,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,30199,1,3,0)
+68 ;;=3^Cannabis Intox w/ Percep Disturb w/ Mod/Sev Use D/O
+69 ;;^UTILITY(U,$J,358.3,30199,1,4,0)
+70 ;;=4^F12.222
+71 ;;^UTILITY(U,$J,358.3,30199,2)
+72 ;;=^5003170
+73 ;;^UTILITY(U,$J,358.3,30200,0)
+74 ;;=F12.922^^120^1539^15
+75 ;;^UTILITY(U,$J,358.3,30200,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,30200,1,3,0)
+78 ;;=3^Cannabis Intox w/ Percep Disturb w/o Use D/O
+79 ;;^UTILITY(U,$J,358.3,30200,1,4,0)
+80 ;;=4^F12.922
+81 ;;^UTILITY(U,$J,358.3,30200,2)
+82 ;;=^5003181
+83 ;;^UTILITY(U,$J,358.3,30201,0)
+84 ;;=F12.980^^120^1539^3
+85 ;;^UTILITY(U,$J,358.3,30201,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,30201,1,3,0)
+88 ;;=3^Cannabis Induced Anxiety D/O w/o Use D/O
+89 ;;^UTILITY(U,$J,358.3,30201,1,4,0)
+90 ;;=4^F12.980
+91 ;;^UTILITY(U,$J,358.3,30201,2)
+92 ;;=^5003186
+93 ;;^UTILITY(U,$J,358.3,30202,0)
+94 ;;=F12.159^^120^1539^4
+95 ;;^UTILITY(U,$J,358.3,30202,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,30202,1,3,0)
+98 ;;=3^Cannabis Induced Psychotic D/O w/ Mild Use D/O
+99 ;;^UTILITY(U,$J,358.3,30202,1,4,0)
+100 ;;=4^F12.159
+101 ;;^UTILITY(U,$J,358.3,30202,2)
+102 ;;=^5003162
+103 ;;^UTILITY(U,$J,358.3,30203,0)
+104 ;;=F12.259^^120^1539^5
+105 ;;^UTILITY(U,$J,358.3,30203,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,30203,1,3,0)
+108 ;;=3^Cannabis Induced Psychotic D/O w/ Mod/Sev Use D/O
+109 ;;^UTILITY(U,$J,358.3,30203,1,4,0)
+110 ;;=4^F12.259
+111 ;;^UTILITY(U,$J,358.3,30203,2)
+112 ;;=^5003174
+113 ;;^UTILITY(U,$J,358.3,30204,0)
+114 ;;=F12.959^^120^1539^6
+115 ;;^UTILITY(U,$J,358.3,30204,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,30204,1,3,0)
+118 ;;=3^Cannabis Induced Psychotic D/O w/o Use D/O