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