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