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