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