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