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