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