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