IBDEI0LE ; ; 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,9627,1,4,0)
;;=4^F14.29
;;^UTILITY(U,$J,358.3,9627,2)
;;=^5003268
;;^UTILITY(U,$J,358.3,9628,0)
;;=F14.288^^39^415^33
;;^UTILITY(U,$J,358.3,9628,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9628,1,3,0)
;;=3^Cocaine Dependence w/ Other Cocaine-Induced Disorder
;;^UTILITY(U,$J,358.3,9628,1,4,0)
;;=4^F14.288
;;^UTILITY(U,$J,358.3,9628,2)
;;=^5003267
;;^UTILITY(U,$J,358.3,9629,0)
;;=F14.282^^39^415^27
;;^UTILITY(U,$J,358.3,9629,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9629,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Sleep Disorder
;;^UTILITY(U,$J,358.3,9629,1,4,0)
;;=4^F14.282
;;^UTILITY(U,$J,358.3,9629,2)
;;=^5003266
;;^UTILITY(U,$J,358.3,9630,0)
;;=F14.281^^39^415^28
;;^UTILITY(U,$J,358.3,9630,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9630,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Sexual Dysfunction
;;^UTILITY(U,$J,358.3,9630,1,4,0)
;;=4^F14.281
;;^UTILITY(U,$J,358.3,9630,2)
;;=^5003265
;;^UTILITY(U,$J,358.3,9631,0)
;;=F14.280^^39^415^25
;;^UTILITY(U,$J,358.3,9631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9631,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Anxiety Disorder
;;^UTILITY(U,$J,358.3,9631,1,4,0)
;;=4^F14.280
;;^UTILITY(U,$J,358.3,9631,2)
;;=^5003264
;;^UTILITY(U,$J,358.3,9632,0)
;;=F14.259^^39^415^24
;;^UTILITY(U,$J,358.3,9632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9632,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induc Psychotic Disorder,Unspec
;;^UTILITY(U,$J,358.3,9632,1,4,0)
;;=4^F14.259
;;^UTILITY(U,$J,358.3,9632,2)
;;=^5003263
;;^UTILITY(U,$J,358.3,9633,0)
;;=F14.251^^39^415^23
;;^UTILITY(U,$J,358.3,9633,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9633,1,3,0)
;;=3^Cocaine Depend w/ Cocaine-Induc Psychotic Disorder w/ Hallucin
;;^UTILITY(U,$J,358.3,9633,1,4,0)
;;=4^F14.251
;;^UTILITY(U,$J,358.3,9633,2)
;;=^5003262
;;^UTILITY(U,$J,358.3,9634,0)
;;=F14.250^^39^415^22
;;^UTILITY(U,$J,358.3,9634,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9634,1,3,0)
;;=3^Cocaine Depend w/ Cocaine-Induc Psych Disorder w/ Delusions
;;^UTILITY(U,$J,358.3,9634,1,4,0)
;;=4^F14.250
;;^UTILITY(U,$J,358.3,9634,2)
;;=^5003261
;;^UTILITY(U,$J,358.3,9635,0)
;;=F14.24^^39^415^26
;;^UTILITY(U,$J,358.3,9635,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9635,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Mood Disorder
;;^UTILITY(U,$J,358.3,9635,1,4,0)
;;=4^F14.24
;;^UTILITY(U,$J,358.3,9635,2)
;;=^5003260
;;^UTILITY(U,$J,358.3,9636,0)
;;=F14.23^^39^415^35
;;^UTILITY(U,$J,358.3,9636,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9636,1,3,0)
;;=3^Cocaine Dependence w/ Withdrawal
;;^UTILITY(U,$J,358.3,9636,1,4,0)
;;=4^F14.23
;;^UTILITY(U,$J,358.3,9636,2)
;;=^5003259
;;^UTILITY(U,$J,358.3,9637,0)
;;=F14.229^^39^415^32
;;^UTILITY(U,$J,358.3,9637,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9637,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication,Unspec
;;^UTILITY(U,$J,358.3,9637,1,4,0)
;;=4^F14.229
;;^UTILITY(U,$J,358.3,9637,2)
;;=^5003258
;;^UTILITY(U,$J,358.3,9638,0)
;;=F14.222^^39^415^30
;;^UTILITY(U,$J,358.3,9638,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9638,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication w/ Perceptual Disturbance
;;^UTILITY(U,$J,358.3,9638,1,4,0)
;;=4^F14.222
;;^UTILITY(U,$J,358.3,9638,2)
;;=^5003257
;;^UTILITY(U,$J,358.3,9639,0)
;;=F14.221^^39^415^29
;;^UTILITY(U,$J,358.3,9639,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0LE 3787 printed Dec 13, 2024@01:50:57 Page 2
IBDEI0LE ; ; 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,9627,1,4,0)
+2 ;;=4^F14.29
+3 ;;^UTILITY(U,$J,358.3,9627,2)
+4 ;;=^5003268
+5 ;;^UTILITY(U,$J,358.3,9628,0)
+6 ;;=F14.288^^39^415^33
+7 ;;^UTILITY(U,$J,358.3,9628,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,9628,1,3,0)
+10 ;;=3^Cocaine Dependence w/ Other Cocaine-Induced Disorder
+11 ;;^UTILITY(U,$J,358.3,9628,1,4,0)
+12 ;;=4^F14.288
+13 ;;^UTILITY(U,$J,358.3,9628,2)
+14 ;;=^5003267
+15 ;;^UTILITY(U,$J,358.3,9629,0)
+16 ;;=F14.282^^39^415^27
+17 ;;^UTILITY(U,$J,358.3,9629,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,9629,1,3,0)
+20 ;;=3^Cocaine Dependence w/ Cocaine-Induced Sleep Disorder
+21 ;;^UTILITY(U,$J,358.3,9629,1,4,0)
+22 ;;=4^F14.282
+23 ;;^UTILITY(U,$J,358.3,9629,2)
+24 ;;=^5003266
+25 ;;^UTILITY(U,$J,358.3,9630,0)
+26 ;;=F14.281^^39^415^28
+27 ;;^UTILITY(U,$J,358.3,9630,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,9630,1,3,0)
+30 ;;=3^Cocaine Dependence w/ Cocaine-Induced Sexual Dysfunction
+31 ;;^UTILITY(U,$J,358.3,9630,1,4,0)
+32 ;;=4^F14.281
+33 ;;^UTILITY(U,$J,358.3,9630,2)
+34 ;;=^5003265
+35 ;;^UTILITY(U,$J,358.3,9631,0)
+36 ;;=F14.280^^39^415^25
+37 ;;^UTILITY(U,$J,358.3,9631,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,9631,1,3,0)
+40 ;;=3^Cocaine Dependence w/ Cocaine-Induced Anxiety Disorder
+41 ;;^UTILITY(U,$J,358.3,9631,1,4,0)
+42 ;;=4^F14.280
+43 ;;^UTILITY(U,$J,358.3,9631,2)
+44 ;;=^5003264
+45 ;;^UTILITY(U,$J,358.3,9632,0)
+46 ;;=F14.259^^39^415^24
+47 ;;^UTILITY(U,$J,358.3,9632,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,9632,1,3,0)
+50 ;;=3^Cocaine Dependence w/ Cocaine-Induc Psychotic Disorder,Unspec
+51 ;;^UTILITY(U,$J,358.3,9632,1,4,0)
+52 ;;=4^F14.259
+53 ;;^UTILITY(U,$J,358.3,9632,2)
+54 ;;=^5003263
+55 ;;^UTILITY(U,$J,358.3,9633,0)
+56 ;;=F14.251^^39^415^23
+57 ;;^UTILITY(U,$J,358.3,9633,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,9633,1,3,0)
+60 ;;=3^Cocaine Depend w/ Cocaine-Induc Psychotic Disorder w/ Hallucin
+61 ;;^UTILITY(U,$J,358.3,9633,1,4,0)
+62 ;;=4^F14.251
+63 ;;^UTILITY(U,$J,358.3,9633,2)
+64 ;;=^5003262
+65 ;;^UTILITY(U,$J,358.3,9634,0)
+66 ;;=F14.250^^39^415^22
+67 ;;^UTILITY(U,$J,358.3,9634,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,9634,1,3,0)
+70 ;;=3^Cocaine Depend w/ Cocaine-Induc Psych Disorder w/ Delusions
+71 ;;^UTILITY(U,$J,358.3,9634,1,4,0)
+72 ;;=4^F14.250
+73 ;;^UTILITY(U,$J,358.3,9634,2)
+74 ;;=^5003261
+75 ;;^UTILITY(U,$J,358.3,9635,0)
+76 ;;=F14.24^^39^415^26
+77 ;;^UTILITY(U,$J,358.3,9635,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,9635,1,3,0)
+80 ;;=3^Cocaine Dependence w/ Cocaine-Induced Mood Disorder
+81 ;;^UTILITY(U,$J,358.3,9635,1,4,0)
+82 ;;=4^F14.24
+83 ;;^UTILITY(U,$J,358.3,9635,2)
+84 ;;=^5003260
+85 ;;^UTILITY(U,$J,358.3,9636,0)
+86 ;;=F14.23^^39^415^35
+87 ;;^UTILITY(U,$J,358.3,9636,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,9636,1,3,0)
+90 ;;=3^Cocaine Dependence w/ Withdrawal
+91 ;;^UTILITY(U,$J,358.3,9636,1,4,0)
+92 ;;=4^F14.23
+93 ;;^UTILITY(U,$J,358.3,9636,2)
+94 ;;=^5003259
+95 ;;^UTILITY(U,$J,358.3,9637,0)
+96 ;;=F14.229^^39^415^32
+97 ;;^UTILITY(U,$J,358.3,9637,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,9637,1,3,0)
+100 ;;=3^Cocaine Dependence w/ Intoxication,Unspec
+101 ;;^UTILITY(U,$J,358.3,9637,1,4,0)
+102 ;;=4^F14.229
+103 ;;^UTILITY(U,$J,358.3,9637,2)
+104 ;;=^5003258
+105 ;;^UTILITY(U,$J,358.3,9638,0)
+106 ;;=F14.222^^39^415^30
+107 ;;^UTILITY(U,$J,358.3,9638,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,9638,1,3,0)
+110 ;;=3^Cocaine Dependence w/ Intoxication w/ Perceptual Disturbance
+111 ;;^UTILITY(U,$J,358.3,9638,1,4,0)
+112 ;;=4^F14.222
+113 ;;^UTILITY(U,$J,358.3,9638,2)
+114 ;;=^5003257
+115 ;;^UTILITY(U,$J,358.3,9639,0)
+116 ;;=F14.221^^39^415^29
+117 ;;^UTILITY(U,$J,358.3,9639,1,0)
+118 ;;=^358.31IA^4^2