IBDEI1W7 ; ; 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,30228,1,3,0)
;;=3^Hallucinogen Induced Bipolar D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30228,1,4,0)
;;=4^F16.14
;;^UTILITY(U,$J,358.3,30228,2)
;;=^5003328
;;^UTILITY(U,$J,358.3,30229,0)
;;=F16.24^^120^1540^5
;;^UTILITY(U,$J,358.3,30229,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30229,1,3,0)
;;=3^Hallucinogen Induced Bipolar D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30229,1,4,0)
;;=4^F16.24
;;^UTILITY(U,$J,358.3,30229,2)
;;=^5003341
;;^UTILITY(U,$J,358.3,30230,0)
;;=F16.94^^120^1540^6
;;^UTILITY(U,$J,358.3,30230,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30230,1,3,0)
;;=3^Hallucinogen Induced Bipolar D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30230,1,4,0)
;;=4^F16.94
;;^UTILITY(U,$J,358.3,30230,2)
;;=^5003353
;;^UTILITY(U,$J,358.3,30231,0)
;;=F16.159^^120^1540^7
;;^UTILITY(U,$J,358.3,30231,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30231,1,3,0)
;;=3^Hallucinogen Induced Psychotic D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30231,1,4,0)
;;=4^F16.159
;;^UTILITY(U,$J,358.3,30231,2)
;;=^5003331
;;^UTILITY(U,$J,358.3,30232,0)
;;=F16.259^^120^1540^8
;;^UTILITY(U,$J,358.3,30232,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30232,1,3,0)
;;=3^Hallucinogen Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30232,1,4,0)
;;=4^F16.259
;;^UTILITY(U,$J,358.3,30232,2)
;;=^5003344
;;^UTILITY(U,$J,358.3,30233,0)
;;=F16.959^^120^1540^9
;;^UTILITY(U,$J,358.3,30233,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30233,1,3,0)
;;=3^Hallucinogen Induced Psychotic D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30233,1,4,0)
;;=4^F16.959
;;^UTILITY(U,$J,358.3,30233,2)
;;=^5003356
;;^UTILITY(U,$J,358.3,30234,0)
;;=F16.99^^120^1540^17
;;^UTILITY(U,$J,358.3,30234,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30234,1,3,0)
;;=3^Hallucinogen Related D/O,Unspec
;;^UTILITY(U,$J,358.3,30234,1,4,0)
;;=4^F16.99
;;^UTILITY(U,$J,358.3,30234,2)
;;=^5133359
;;^UTILITY(U,$J,358.3,30235,0)
;;=F16.983^^120^1540^16
;;^UTILITY(U,$J,358.3,30235,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30235,1,3,0)
;;=3^Hallucinogen Persisting Perception D/O
;;^UTILITY(U,$J,358.3,30235,1,4,0)
;;=4^F16.983
;;^UTILITY(U,$J,358.3,30235,2)
;;=^5003358
;;^UTILITY(U,$J,358.3,30236,0)
;;=F16.21^^120^1540^20
;;^UTILITY(U,$J,358.3,30236,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30236,1,3,0)
;;=3^Hallucinogen Use DO,Mod/Sev,In Remiss
;;^UTILITY(U,$J,358.3,30236,1,4,0)
;;=4^F16.21
;;^UTILITY(U,$J,358.3,30236,2)
;;=^5003337
;;^UTILITY(U,$J,358.3,30237,0)
;;=F16.11^^120^1540^18
;;^UTILITY(U,$J,358.3,30237,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30237,1,3,0)
;;=3^Hallucinogen Use DO,Mild,In Remiss
;;^UTILITY(U,$J,358.3,30237,1,4,0)
;;=4^F16.11
;;^UTILITY(U,$J,358.3,30237,2)
;;=^268239
;;^UTILITY(U,$J,358.3,30238,0)
;;=F11.10^^120^1541^25
;;^UTILITY(U,$J,358.3,30238,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30238,1,3,0)
;;=3^Opioid Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,30238,1,4,0)
;;=4^F11.10
;;^UTILITY(U,$J,358.3,30238,2)
;;=^5003114
;;^UTILITY(U,$J,358.3,30239,0)
;;=F11.129^^120^1541^22
;;^UTILITY(U,$J,358.3,30239,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30239,1,3,0)
;;=3^Opioid Intox w/o Perceptual Dists w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30239,1,4,0)
;;=4^F11.129
;;^UTILITY(U,$J,358.3,30239,2)
;;=^5003118
;;^UTILITY(U,$J,358.3,30240,0)
;;=F11.14^^120^1541^5
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1W7 3771 printed Dec 13, 2024@02:17 Page 2
IBDEI1W7 ; ; 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,30228,1,3,0)
+2 ;;=3^Hallucinogen Induced Bipolar D/O w/ Mild Use D/O
+3 ;;^UTILITY(U,$J,358.3,30228,1,4,0)
+4 ;;=4^F16.14
+5 ;;^UTILITY(U,$J,358.3,30228,2)
+6 ;;=^5003328
+7 ;;^UTILITY(U,$J,358.3,30229,0)
+8 ;;=F16.24^^120^1540^5
+9 ;;^UTILITY(U,$J,358.3,30229,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,30229,1,3,0)
+12 ;;=3^Hallucinogen Induced Bipolar D/O w/ Mod/Sev Use D/O
+13 ;;^UTILITY(U,$J,358.3,30229,1,4,0)
+14 ;;=4^F16.24
+15 ;;^UTILITY(U,$J,358.3,30229,2)
+16 ;;=^5003341
+17 ;;^UTILITY(U,$J,358.3,30230,0)
+18 ;;=F16.94^^120^1540^6
+19 ;;^UTILITY(U,$J,358.3,30230,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,30230,1,3,0)
+22 ;;=3^Hallucinogen Induced Bipolar D/O w/o Use D/O
+23 ;;^UTILITY(U,$J,358.3,30230,1,4,0)
+24 ;;=4^F16.94
+25 ;;^UTILITY(U,$J,358.3,30230,2)
+26 ;;=^5003353
+27 ;;^UTILITY(U,$J,358.3,30231,0)
+28 ;;=F16.159^^120^1540^7
+29 ;;^UTILITY(U,$J,358.3,30231,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,30231,1,3,0)
+32 ;;=3^Hallucinogen Induced Psychotic D/O w/ Mild Use D/O
+33 ;;^UTILITY(U,$J,358.3,30231,1,4,0)
+34 ;;=4^F16.159
+35 ;;^UTILITY(U,$J,358.3,30231,2)
+36 ;;=^5003331
+37 ;;^UTILITY(U,$J,358.3,30232,0)
+38 ;;=F16.259^^120^1540^8
+39 ;;^UTILITY(U,$J,358.3,30232,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,30232,1,3,0)
+42 ;;=3^Hallucinogen Induced Psychotic D/O w/ Mod/Sev Use D/O
+43 ;;^UTILITY(U,$J,358.3,30232,1,4,0)
+44 ;;=4^F16.259
+45 ;;^UTILITY(U,$J,358.3,30232,2)
+46 ;;=^5003344
+47 ;;^UTILITY(U,$J,358.3,30233,0)
+48 ;;=F16.959^^120^1540^9
+49 ;;^UTILITY(U,$J,358.3,30233,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,30233,1,3,0)
+52 ;;=3^Hallucinogen Induced Psychotic D/O w/o Use D/O
+53 ;;^UTILITY(U,$J,358.3,30233,1,4,0)
+54 ;;=4^F16.959
+55 ;;^UTILITY(U,$J,358.3,30233,2)
+56 ;;=^5003356
+57 ;;^UTILITY(U,$J,358.3,30234,0)
+58 ;;=F16.99^^120^1540^17
+59 ;;^UTILITY(U,$J,358.3,30234,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,30234,1,3,0)
+62 ;;=3^Hallucinogen Related D/O,Unspec
+63 ;;^UTILITY(U,$J,358.3,30234,1,4,0)
+64 ;;=4^F16.99
+65 ;;^UTILITY(U,$J,358.3,30234,2)
+66 ;;=^5133359
+67 ;;^UTILITY(U,$J,358.3,30235,0)
+68 ;;=F16.983^^120^1540^16
+69 ;;^UTILITY(U,$J,358.3,30235,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,30235,1,3,0)
+72 ;;=3^Hallucinogen Persisting Perception D/O
+73 ;;^UTILITY(U,$J,358.3,30235,1,4,0)
+74 ;;=4^F16.983
+75 ;;^UTILITY(U,$J,358.3,30235,2)
+76 ;;=^5003358
+77 ;;^UTILITY(U,$J,358.3,30236,0)
+78 ;;=F16.21^^120^1540^20
+79 ;;^UTILITY(U,$J,358.3,30236,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,30236,1,3,0)
+82 ;;=3^Hallucinogen Use DO,Mod/Sev,In Remiss
+83 ;;^UTILITY(U,$J,358.3,30236,1,4,0)
+84 ;;=4^F16.21
+85 ;;^UTILITY(U,$J,358.3,30236,2)
+86 ;;=^5003337
+87 ;;^UTILITY(U,$J,358.3,30237,0)
+88 ;;=F16.11^^120^1540^18
+89 ;;^UTILITY(U,$J,358.3,30237,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,30237,1,3,0)
+92 ;;=3^Hallucinogen Use DO,Mild,In Remiss
+93 ;;^UTILITY(U,$J,358.3,30237,1,4,0)
+94 ;;=4^F16.11
+95 ;;^UTILITY(U,$J,358.3,30237,2)
+96 ;;=^268239
+97 ;;^UTILITY(U,$J,358.3,30238,0)
+98 ;;=F11.10^^120^1541^25
+99 ;;^UTILITY(U,$J,358.3,30238,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,30238,1,3,0)
+102 ;;=3^Opioid Use DO,Mild,Uncomp
+103 ;;^UTILITY(U,$J,358.3,30238,1,4,0)
+104 ;;=4^F11.10
+105 ;;^UTILITY(U,$J,358.3,30238,2)
+106 ;;=^5003114
+107 ;;^UTILITY(U,$J,358.3,30239,0)
+108 ;;=F11.129^^120^1541^22
+109 ;;^UTILITY(U,$J,358.3,30239,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,30239,1,3,0)
+112 ;;=3^Opioid Intox w/o Perceptual Dists w/ Mild Use D/O
+113 ;;^UTILITY(U,$J,358.3,30239,1,4,0)
+114 ;;=4^F11.129
+115 ;;^UTILITY(U,$J,358.3,30239,2)
+116 ;;=^5003118
+117 ;;^UTILITY(U,$J,358.3,30240,0)
+118 ;;=F11.14^^120^1541^5