IBDEI132 ; ; 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,17592,0)
;;=F14.259^^61^789^24
;;^UTILITY(U,$J,358.3,17592,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17592,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induc Psychotic Disorder,Unspec
;;^UTILITY(U,$J,358.3,17592,1,4,0)
;;=4^F14.259
;;^UTILITY(U,$J,358.3,17592,2)
;;=^5003263
;;^UTILITY(U,$J,358.3,17593,0)
;;=F14.251^^61^789^23
;;^UTILITY(U,$J,358.3,17593,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17593,1,3,0)
;;=3^Cocaine Depend w/ Cocaine-Induc Psychotic Disorder w/ Hallucin
;;^UTILITY(U,$J,358.3,17593,1,4,0)
;;=4^F14.251
;;^UTILITY(U,$J,358.3,17593,2)
;;=^5003262
;;^UTILITY(U,$J,358.3,17594,0)
;;=F14.250^^61^789^22
;;^UTILITY(U,$J,358.3,17594,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17594,1,3,0)
;;=3^Cocaine Depend w/ Cocaine-Induc Psych Disorder w/ Delusions
;;^UTILITY(U,$J,358.3,17594,1,4,0)
;;=4^F14.250
;;^UTILITY(U,$J,358.3,17594,2)
;;=^5003261
;;^UTILITY(U,$J,358.3,17595,0)
;;=F14.24^^61^789^26
;;^UTILITY(U,$J,358.3,17595,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17595,1,3,0)
;;=3^Cocaine Dependence w/ Cocaine-Induced Mood Disorder
;;^UTILITY(U,$J,358.3,17595,1,4,0)
;;=4^F14.24
;;^UTILITY(U,$J,358.3,17595,2)
;;=^5003260
;;^UTILITY(U,$J,358.3,17596,0)
;;=F14.23^^61^789^35
;;^UTILITY(U,$J,358.3,17596,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17596,1,3,0)
;;=3^Cocaine Dependence w/ Withdrawal
;;^UTILITY(U,$J,358.3,17596,1,4,0)
;;=4^F14.23
;;^UTILITY(U,$J,358.3,17596,2)
;;=^5003259
;;^UTILITY(U,$J,358.3,17597,0)
;;=F14.229^^61^789^32
;;^UTILITY(U,$J,358.3,17597,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17597,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication,Unspec
;;^UTILITY(U,$J,358.3,17597,1,4,0)
;;=4^F14.229
;;^UTILITY(U,$J,358.3,17597,2)
;;=^5003258
;;^UTILITY(U,$J,358.3,17598,0)
;;=F14.222^^61^789^30
;;^UTILITY(U,$J,358.3,17598,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17598,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication w/ Perceptual Disturbance
;;^UTILITY(U,$J,358.3,17598,1,4,0)
;;=4^F14.222
;;^UTILITY(U,$J,358.3,17598,2)
;;=^5003257
;;^UTILITY(U,$J,358.3,17599,0)
;;=F14.221^^61^789^29
;;^UTILITY(U,$J,358.3,17599,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17599,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication Delirium
;;^UTILITY(U,$J,358.3,17599,1,4,0)
;;=4^F14.221
;;^UTILITY(U,$J,358.3,17599,2)
;;=^5003256
;;^UTILITY(U,$J,358.3,17600,0)
;;=F14.220^^61^789^31
;;^UTILITY(U,$J,358.3,17600,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17600,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,17600,1,4,0)
;;=4^F14.220
;;^UTILITY(U,$J,358.3,17600,2)
;;=^5003255
;;^UTILITY(U,$J,358.3,17601,0)
;;=F14.20^^61^789^36
;;^UTILITY(U,$J,358.3,17601,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17601,1,3,0)
;;=3^Cocaine Dependence,Uncompicated
;;^UTILITY(U,$J,358.3,17601,1,4,0)
;;=4^F14.20
;;^UTILITY(U,$J,358.3,17601,2)
;;=^5003253
;;^UTILITY(U,$J,358.3,17602,0)
;;=F10.120^^61^789^1
;;^UTILITY(U,$J,358.3,17602,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17602,1,3,0)
;;=3^Alcohol Abuse w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,17602,1,4,0)
;;=4^F10.120
;;^UTILITY(U,$J,358.3,17602,2)
;;=^5003069
;;^UTILITY(U,$J,358.3,17603,0)
;;=F10.10^^61^789^7
;;^UTILITY(U,$J,358.3,17603,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17603,1,3,0)
;;=3^Alcohol Abuse,Uncomplicated
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI132 3766 printed Nov 22, 2024@17:10:58 Page 2
IBDEI132 ; ; 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,17592,0)
+2 ;;=F14.259^^61^789^24
+3 ;;^UTILITY(U,$J,358.3,17592,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,17592,1,3,0)
+6 ;;=3^Cocaine Dependence w/ Cocaine-Induc Psychotic Disorder,Unspec
+7 ;;^UTILITY(U,$J,358.3,17592,1,4,0)
+8 ;;=4^F14.259
+9 ;;^UTILITY(U,$J,358.3,17592,2)
+10 ;;=^5003263
+11 ;;^UTILITY(U,$J,358.3,17593,0)
+12 ;;=F14.251^^61^789^23
+13 ;;^UTILITY(U,$J,358.3,17593,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,17593,1,3,0)
+16 ;;=3^Cocaine Depend w/ Cocaine-Induc Psychotic Disorder w/ Hallucin
+17 ;;^UTILITY(U,$J,358.3,17593,1,4,0)
+18 ;;=4^F14.251
+19 ;;^UTILITY(U,$J,358.3,17593,2)
+20 ;;=^5003262
+21 ;;^UTILITY(U,$J,358.3,17594,0)
+22 ;;=F14.250^^61^789^22
+23 ;;^UTILITY(U,$J,358.3,17594,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,17594,1,3,0)
+26 ;;=3^Cocaine Depend w/ Cocaine-Induc Psych Disorder w/ Delusions
+27 ;;^UTILITY(U,$J,358.3,17594,1,4,0)
+28 ;;=4^F14.250
+29 ;;^UTILITY(U,$J,358.3,17594,2)
+30 ;;=^5003261
+31 ;;^UTILITY(U,$J,358.3,17595,0)
+32 ;;=F14.24^^61^789^26
+33 ;;^UTILITY(U,$J,358.3,17595,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,17595,1,3,0)
+36 ;;=3^Cocaine Dependence w/ Cocaine-Induced Mood Disorder
+37 ;;^UTILITY(U,$J,358.3,17595,1,4,0)
+38 ;;=4^F14.24
+39 ;;^UTILITY(U,$J,358.3,17595,2)
+40 ;;=^5003260
+41 ;;^UTILITY(U,$J,358.3,17596,0)
+42 ;;=F14.23^^61^789^35
+43 ;;^UTILITY(U,$J,358.3,17596,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,17596,1,3,0)
+46 ;;=3^Cocaine Dependence w/ Withdrawal
+47 ;;^UTILITY(U,$J,358.3,17596,1,4,0)
+48 ;;=4^F14.23
+49 ;;^UTILITY(U,$J,358.3,17596,2)
+50 ;;=^5003259
+51 ;;^UTILITY(U,$J,358.3,17597,0)
+52 ;;=F14.229^^61^789^32
+53 ;;^UTILITY(U,$J,358.3,17597,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,17597,1,3,0)
+56 ;;=3^Cocaine Dependence w/ Intoxication,Unspec
+57 ;;^UTILITY(U,$J,358.3,17597,1,4,0)
+58 ;;=4^F14.229
+59 ;;^UTILITY(U,$J,358.3,17597,2)
+60 ;;=^5003258
+61 ;;^UTILITY(U,$J,358.3,17598,0)
+62 ;;=F14.222^^61^789^30
+63 ;;^UTILITY(U,$J,358.3,17598,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,17598,1,3,0)
+66 ;;=3^Cocaine Dependence w/ Intoxication w/ Perceptual Disturbance
+67 ;;^UTILITY(U,$J,358.3,17598,1,4,0)
+68 ;;=4^F14.222
+69 ;;^UTILITY(U,$J,358.3,17598,2)
+70 ;;=^5003257
+71 ;;^UTILITY(U,$J,358.3,17599,0)
+72 ;;=F14.221^^61^789^29
+73 ;;^UTILITY(U,$J,358.3,17599,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,17599,1,3,0)
+76 ;;=3^Cocaine Dependence w/ Intoxication Delirium
+77 ;;^UTILITY(U,$J,358.3,17599,1,4,0)
+78 ;;=4^F14.221
+79 ;;^UTILITY(U,$J,358.3,17599,2)
+80 ;;=^5003256
+81 ;;^UTILITY(U,$J,358.3,17600,0)
+82 ;;=F14.220^^61^789^31
+83 ;;^UTILITY(U,$J,358.3,17600,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,17600,1,3,0)
+86 ;;=3^Cocaine Dependence w/ Intoxication,Uncomplicated
+87 ;;^UTILITY(U,$J,358.3,17600,1,4,0)
+88 ;;=4^F14.220
+89 ;;^UTILITY(U,$J,358.3,17600,2)
+90 ;;=^5003255
+91 ;;^UTILITY(U,$J,358.3,17601,0)
+92 ;;=F14.20^^61^789^36
+93 ;;^UTILITY(U,$J,358.3,17601,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,17601,1,3,0)
+96 ;;=3^Cocaine Dependence,Uncompicated
+97 ;;^UTILITY(U,$J,358.3,17601,1,4,0)
+98 ;;=4^F14.20
+99 ;;^UTILITY(U,$J,358.3,17601,2)
+100 ;;=^5003253
+101 ;;^UTILITY(U,$J,358.3,17602,0)
+102 ;;=F10.120^^61^789^1
+103 ;;^UTILITY(U,$J,358.3,17602,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,17602,1,3,0)
+106 ;;=3^Alcohol Abuse w/ Intoxication,Uncomplicated
+107 ;;^UTILITY(U,$J,358.3,17602,1,4,0)
+108 ;;=4^F10.120
+109 ;;^UTILITY(U,$J,358.3,17602,2)
+110 ;;=^5003069
+111 ;;^UTILITY(U,$J,358.3,17603,0)
+112 ;;=F10.10^^61^789^7
+113 ;;^UTILITY(U,$J,358.3,17603,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,17603,1,3,0)
+116 ;;=3^Alcohol Abuse,Uncomplicated