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