IBDEI131 ; ; 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,17580,1,3,0)
;;=3^Opioid Dependence w/ Opioid-Induced Mood Disorder
;;^UTILITY(U,$J,358.3,17580,1,4,0)
;;=4^F11.24
;;^UTILITY(U,$J,358.3,17580,2)
;;=^5003134
;;^UTILITY(U,$J,358.3,17581,0)
;;=F11.23^^61^789^62
;;^UTILITY(U,$J,358.3,17581,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17581,1,3,0)
;;=3^Opioid Dependence w/ Withdrawal
;;^UTILITY(U,$J,358.3,17581,1,4,0)
;;=4^F11.23
;;^UTILITY(U,$J,358.3,17581,2)
;;=^5003133
;;^UTILITY(U,$J,358.3,17582,0)
;;=F11.20^^61^789^63
;;^UTILITY(U,$J,358.3,17582,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17582,1,3,0)
;;=3^Opioid Dependence,Uncomplicated
;;^UTILITY(U,$J,358.3,17582,1,4,0)
;;=4^F11.20
;;^UTILITY(U,$J,358.3,17582,2)
;;=^5003127
;;^UTILITY(U,$J,358.3,17583,0)
;;=F11.229^^61^789^55
;;^UTILITY(U,$J,358.3,17583,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17583,1,3,0)
;;=3^Opioid Dependence w/ Intoxication,Unspec
;;^UTILITY(U,$J,358.3,17583,1,4,0)
;;=4^F11.229
;;^UTILITY(U,$J,358.3,17583,2)
;;=^5003132
;;^UTILITY(U,$J,358.3,17584,0)
;;=F11.222^^61^789^53
;;^UTILITY(U,$J,358.3,17584,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17584,1,3,0)
;;=3^Opioid Dependence w/ Intoxication w/ Perceptual Disturbance
;;^UTILITY(U,$J,358.3,17584,1,4,0)
;;=4^F11.222
;;^UTILITY(U,$J,358.3,17584,2)
;;=^5003131
;;^UTILITY(U,$J,358.3,17585,0)
;;=F11.221^^61^789^52
;;^UTILITY(U,$J,358.3,17585,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17585,1,3,0)
;;=3^Opioid Dependence w/ Intoxication Delirium
;;^UTILITY(U,$J,358.3,17585,1,4,0)
;;=4^F11.221
;;^UTILITY(U,$J,358.3,17585,2)
;;=^5003130
;;^UTILITY(U,$J,358.3,17586,0)
;;=F11.220^^61^789^54
;;^UTILITY(U,$J,358.3,17586,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17586,1,3,0)
;;=3^Opioid Dependence w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,17586,1,4,0)
;;=4^F11.220
;;^UTILITY(U,$J,358.3,17586,2)
;;=^5003129
;;^UTILITY(U,$J,358.3,17587,0)
;;=F14.29^^61^789^34
;;^UTILITY(U,$J,358.3,17587,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17587,1,3,0)
;;=3^Cocaine Dependence w/ Unspec Cocaine-Induced Disorder
;;^UTILITY(U,$J,358.3,17587,1,4,0)
;;=4^F14.29
;;^UTILITY(U,$J,358.3,17587,2)
;;=^5003268
;;^UTILITY(U,$J,358.3,17588,0)
;;=F14.288^^61^789^33
;;^UTILITY(U,$J,358.3,17588,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17588,1,3,0)
;;=3^Cocaine Dependence w/ Other Cocaine-Induced Disorder
;;^UTILITY(U,$J,358.3,17588,1,4,0)
;;=4^F14.288
;;^UTILITY(U,$J,358.3,17588,2)
;;=^5003267
;;^UTILITY(U,$J,358.3,17589,0)
;;=F14.282^^61^789^27
;;^UTILITY(U,$J,358.3,17589,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17589,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Sleep Disorder
;;^UTILITY(U,$J,358.3,17589,1,4,0)
;;=4^F14.282
;;^UTILITY(U,$J,358.3,17589,2)
;;=^5003266
;;^UTILITY(U,$J,358.3,17590,0)
;;=F14.281^^61^789^28
;;^UTILITY(U,$J,358.3,17590,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17590,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Sexual Dysfunction
;;^UTILITY(U,$J,358.3,17590,1,4,0)
;;=4^F14.281
;;^UTILITY(U,$J,358.3,17590,2)
;;=^5003265
;;^UTILITY(U,$J,358.3,17591,0)
;;=F14.280^^61^789^25
;;^UTILITY(U,$J,358.3,17591,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17591,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Anxiety Disorder
;;^UTILITY(U,$J,358.3,17591,1,4,0)
;;=4^F14.280
;;^UTILITY(U,$J,358.3,17591,2)
;;=^5003264
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI131 3764 printed Dec 13, 2024@02:00:46 Page 2
IBDEI131 ; ; 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,17580,1,3,0)
+2 ;;=3^Opioid Dependence w/ Opioid-Induced Mood Disorder
+3 ;;^UTILITY(U,$J,358.3,17580,1,4,0)
+4 ;;=4^F11.24
+5 ;;^UTILITY(U,$J,358.3,17580,2)
+6 ;;=^5003134
+7 ;;^UTILITY(U,$J,358.3,17581,0)
+8 ;;=F11.23^^61^789^62
+9 ;;^UTILITY(U,$J,358.3,17581,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,17581,1,3,0)
+12 ;;=3^Opioid Dependence w/ Withdrawal
+13 ;;^UTILITY(U,$J,358.3,17581,1,4,0)
+14 ;;=4^F11.23
+15 ;;^UTILITY(U,$J,358.3,17581,2)
+16 ;;=^5003133
+17 ;;^UTILITY(U,$J,358.3,17582,0)
+18 ;;=F11.20^^61^789^63
+19 ;;^UTILITY(U,$J,358.3,17582,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,17582,1,3,0)
+22 ;;=3^Opioid Dependence,Uncomplicated
+23 ;;^UTILITY(U,$J,358.3,17582,1,4,0)
+24 ;;=4^F11.20
+25 ;;^UTILITY(U,$J,358.3,17582,2)
+26 ;;=^5003127
+27 ;;^UTILITY(U,$J,358.3,17583,0)
+28 ;;=F11.229^^61^789^55
+29 ;;^UTILITY(U,$J,358.3,17583,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,17583,1,3,0)
+32 ;;=3^Opioid Dependence w/ Intoxication,Unspec
+33 ;;^UTILITY(U,$J,358.3,17583,1,4,0)
+34 ;;=4^F11.229
+35 ;;^UTILITY(U,$J,358.3,17583,2)
+36 ;;=^5003132
+37 ;;^UTILITY(U,$J,358.3,17584,0)
+38 ;;=F11.222^^61^789^53
+39 ;;^UTILITY(U,$J,358.3,17584,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,17584,1,3,0)
+42 ;;=3^Opioid Dependence w/ Intoxication w/ Perceptual Disturbance
+43 ;;^UTILITY(U,$J,358.3,17584,1,4,0)
+44 ;;=4^F11.222
+45 ;;^UTILITY(U,$J,358.3,17584,2)
+46 ;;=^5003131
+47 ;;^UTILITY(U,$J,358.3,17585,0)
+48 ;;=F11.221^^61^789^52
+49 ;;^UTILITY(U,$J,358.3,17585,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,17585,1,3,0)
+52 ;;=3^Opioid Dependence w/ Intoxication Delirium
+53 ;;^UTILITY(U,$J,358.3,17585,1,4,0)
+54 ;;=4^F11.221
+55 ;;^UTILITY(U,$J,358.3,17585,2)
+56 ;;=^5003130
+57 ;;^UTILITY(U,$J,358.3,17586,0)
+58 ;;=F11.220^^61^789^54
+59 ;;^UTILITY(U,$J,358.3,17586,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,17586,1,3,0)
+62 ;;=3^Opioid Dependence w/ Intoxication,Uncomplicated
+63 ;;^UTILITY(U,$J,358.3,17586,1,4,0)
+64 ;;=4^F11.220
+65 ;;^UTILITY(U,$J,358.3,17586,2)
+66 ;;=^5003129
+67 ;;^UTILITY(U,$J,358.3,17587,0)
+68 ;;=F14.29^^61^789^34
+69 ;;^UTILITY(U,$J,358.3,17587,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,17587,1,3,0)
+72 ;;=3^Cocaine Dependence w/ Unspec Cocaine-Induced Disorder
+73 ;;^UTILITY(U,$J,358.3,17587,1,4,0)
+74 ;;=4^F14.29
+75 ;;^UTILITY(U,$J,358.3,17587,2)
+76 ;;=^5003268
+77 ;;^UTILITY(U,$J,358.3,17588,0)
+78 ;;=F14.288^^61^789^33
+79 ;;^UTILITY(U,$J,358.3,17588,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,17588,1,3,0)
+82 ;;=3^Cocaine Dependence w/ Other Cocaine-Induced Disorder
+83 ;;^UTILITY(U,$J,358.3,17588,1,4,0)
+84 ;;=4^F14.288
+85 ;;^UTILITY(U,$J,358.3,17588,2)
+86 ;;=^5003267
+87 ;;^UTILITY(U,$J,358.3,17589,0)
+88 ;;=F14.282^^61^789^27
+89 ;;^UTILITY(U,$J,358.3,17589,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,17589,1,3,0)
+92 ;;=3^Cocaine Dependence w/ Cocaine-Induced Sleep Disorder
+93 ;;^UTILITY(U,$J,358.3,17589,1,4,0)
+94 ;;=4^F14.282
+95 ;;^UTILITY(U,$J,358.3,17589,2)
+96 ;;=^5003266
+97 ;;^UTILITY(U,$J,358.3,17590,0)
+98 ;;=F14.281^^61^789^28
+99 ;;^UTILITY(U,$J,358.3,17590,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,17590,1,3,0)
+102 ;;=3^Cocaine Dependence w/ Cocaine-Induced Sexual Dysfunction
+103 ;;^UTILITY(U,$J,358.3,17590,1,4,0)
+104 ;;=4^F14.281
+105 ;;^UTILITY(U,$J,358.3,17590,2)
+106 ;;=^5003265
+107 ;;^UTILITY(U,$J,358.3,17591,0)
+108 ;;=F14.280^^61^789^25
+109 ;;^UTILITY(U,$J,358.3,17591,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,17591,1,3,0)
+112 ;;=3^Cocaine Dependence w/ Cocaine-Induced Anxiety Disorder
+113 ;;^UTILITY(U,$J,358.3,17591,1,4,0)
+114 ;;=4^F14.280
+115 ;;^UTILITY(U,$J,358.3,17591,2)
+116 ;;=^5003264