IBDEI0LD ; ; 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,9615,2)
;;=^5003139
;;^UTILITY(U,$J,358.3,9616,0)
;;=F11.281^^39^415^58
;;^UTILITY(U,$J,358.3,9616,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9616,1,3,0)
;;=3^Opioid Dependence w/ Opioid-Induced Sexual Dysfunction
;;^UTILITY(U,$J,358.3,9616,1,4,0)
;;=4^F11.281
;;^UTILITY(U,$J,358.3,9616,2)
;;=^5003138
;;^UTILITY(U,$J,358.3,9617,0)
;;=F11.259^^39^415^57
;;^UTILITY(U,$J,358.3,9617,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9617,1,3,0)
;;=3^Opioid Dependence w/ Opioid-Induced Psychotic Disorder,Unspec
;;^UTILITY(U,$J,358.3,9617,1,4,0)
;;=4^F11.259
;;^UTILITY(U,$J,358.3,9617,2)
;;=^5003137
;;^UTILITY(U,$J,358.3,9618,0)
;;=F11.251^^39^415^50
;;^UTILITY(U,$J,358.3,9618,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9618,1,3,0)
;;=3^Opioid Depend w/ Opioid-Induc Psychotic Disorder w/ Hallucin
;;^UTILITY(U,$J,358.3,9618,1,4,0)
;;=4^F11.251
;;^UTILITY(U,$J,358.3,9618,2)
;;=^5003136
;;^UTILITY(U,$J,358.3,9619,0)
;;=F11.250^^39^415^51
;;^UTILITY(U,$J,358.3,9619,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9619,1,3,0)
;;=3^Opioid Depend w/ Opioid-Induc Psychotic Disorder w/ Delusions
;;^UTILITY(U,$J,358.3,9619,1,4,0)
;;=4^F11.250
;;^UTILITY(U,$J,358.3,9619,2)
;;=^5003135
;;^UTILITY(U,$J,358.3,9620,0)
;;=F11.24^^39^415^56
;;^UTILITY(U,$J,358.3,9620,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9620,1,3,0)
;;=3^Opioid Dependence w/ Opioid-Induced Mood Disorder
;;^UTILITY(U,$J,358.3,9620,1,4,0)
;;=4^F11.24
;;^UTILITY(U,$J,358.3,9620,2)
;;=^5003134
;;^UTILITY(U,$J,358.3,9621,0)
;;=F11.23^^39^415^62
;;^UTILITY(U,$J,358.3,9621,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9621,1,3,0)
;;=3^Opioid Dependence w/ Withdrawal
;;^UTILITY(U,$J,358.3,9621,1,4,0)
;;=4^F11.23
;;^UTILITY(U,$J,358.3,9621,2)
;;=^5003133
;;^UTILITY(U,$J,358.3,9622,0)
;;=F11.20^^39^415^63
;;^UTILITY(U,$J,358.3,9622,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9622,1,3,0)
;;=3^Opioid Dependence,Uncomplicated
;;^UTILITY(U,$J,358.3,9622,1,4,0)
;;=4^F11.20
;;^UTILITY(U,$J,358.3,9622,2)
;;=^5003127
;;^UTILITY(U,$J,358.3,9623,0)
;;=F11.229^^39^415^55
;;^UTILITY(U,$J,358.3,9623,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9623,1,3,0)
;;=3^Opioid Dependence w/ Intoxication,Unspec
;;^UTILITY(U,$J,358.3,9623,1,4,0)
;;=4^F11.229
;;^UTILITY(U,$J,358.3,9623,2)
;;=^5003132
;;^UTILITY(U,$J,358.3,9624,0)
;;=F11.222^^39^415^53
;;^UTILITY(U,$J,358.3,9624,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9624,1,3,0)
;;=3^Opioid Dependence w/ Intoxication w/ Perceptual Disturbance
;;^UTILITY(U,$J,358.3,9624,1,4,0)
;;=4^F11.222
;;^UTILITY(U,$J,358.3,9624,2)
;;=^5003131
;;^UTILITY(U,$J,358.3,9625,0)
;;=F11.221^^39^415^52
;;^UTILITY(U,$J,358.3,9625,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9625,1,3,0)
;;=3^Opioid Dependence w/ Intoxication Delirium
;;^UTILITY(U,$J,358.3,9625,1,4,0)
;;=4^F11.221
;;^UTILITY(U,$J,358.3,9625,2)
;;=^5003130
;;^UTILITY(U,$J,358.3,9626,0)
;;=F11.220^^39^415^54
;;^UTILITY(U,$J,358.3,9626,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9626,1,3,0)
;;=3^Opioid Dependence w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,9626,1,4,0)
;;=4^F11.220
;;^UTILITY(U,$J,358.3,9626,2)
;;=^5003129
;;^UTILITY(U,$J,358.3,9627,0)
;;=F14.29^^39^415^34
;;^UTILITY(U,$J,358.3,9627,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9627,1,3,0)
;;=3^Cocaine Dependence w/ Unspec Cocaine-Induced Disorder
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0LD 3786 printed Nov 22, 2024@17:01:08 Page 2
IBDEI0LD ; ; 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,9615,2)
+2 ;;=^5003139
+3 ;;^UTILITY(U,$J,358.3,9616,0)
+4 ;;=F11.281^^39^415^58
+5 ;;^UTILITY(U,$J,358.3,9616,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,9616,1,3,0)
+8 ;;=3^Opioid Dependence w/ Opioid-Induced Sexual Dysfunction
+9 ;;^UTILITY(U,$J,358.3,9616,1,4,0)
+10 ;;=4^F11.281
+11 ;;^UTILITY(U,$J,358.3,9616,2)
+12 ;;=^5003138
+13 ;;^UTILITY(U,$J,358.3,9617,0)
+14 ;;=F11.259^^39^415^57
+15 ;;^UTILITY(U,$J,358.3,9617,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,9617,1,3,0)
+18 ;;=3^Opioid Dependence w/ Opioid-Induced Psychotic Disorder,Unspec
+19 ;;^UTILITY(U,$J,358.3,9617,1,4,0)
+20 ;;=4^F11.259
+21 ;;^UTILITY(U,$J,358.3,9617,2)
+22 ;;=^5003137
+23 ;;^UTILITY(U,$J,358.3,9618,0)
+24 ;;=F11.251^^39^415^50
+25 ;;^UTILITY(U,$J,358.3,9618,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,9618,1,3,0)
+28 ;;=3^Opioid Depend w/ Opioid-Induc Psychotic Disorder w/ Hallucin
+29 ;;^UTILITY(U,$J,358.3,9618,1,4,0)
+30 ;;=4^F11.251
+31 ;;^UTILITY(U,$J,358.3,9618,2)
+32 ;;=^5003136
+33 ;;^UTILITY(U,$J,358.3,9619,0)
+34 ;;=F11.250^^39^415^51
+35 ;;^UTILITY(U,$J,358.3,9619,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,9619,1,3,0)
+38 ;;=3^Opioid Depend w/ Opioid-Induc Psychotic Disorder w/ Delusions
+39 ;;^UTILITY(U,$J,358.3,9619,1,4,0)
+40 ;;=4^F11.250
+41 ;;^UTILITY(U,$J,358.3,9619,2)
+42 ;;=^5003135
+43 ;;^UTILITY(U,$J,358.3,9620,0)
+44 ;;=F11.24^^39^415^56
+45 ;;^UTILITY(U,$J,358.3,9620,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,9620,1,3,0)
+48 ;;=3^Opioid Dependence w/ Opioid-Induced Mood Disorder
+49 ;;^UTILITY(U,$J,358.3,9620,1,4,0)
+50 ;;=4^F11.24
+51 ;;^UTILITY(U,$J,358.3,9620,2)
+52 ;;=^5003134
+53 ;;^UTILITY(U,$J,358.3,9621,0)
+54 ;;=F11.23^^39^415^62
+55 ;;^UTILITY(U,$J,358.3,9621,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,9621,1,3,0)
+58 ;;=3^Opioid Dependence w/ Withdrawal
+59 ;;^UTILITY(U,$J,358.3,9621,1,4,0)
+60 ;;=4^F11.23
+61 ;;^UTILITY(U,$J,358.3,9621,2)
+62 ;;=^5003133
+63 ;;^UTILITY(U,$J,358.3,9622,0)
+64 ;;=F11.20^^39^415^63
+65 ;;^UTILITY(U,$J,358.3,9622,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,9622,1,3,0)
+68 ;;=3^Opioid Dependence,Uncomplicated
+69 ;;^UTILITY(U,$J,358.3,9622,1,4,0)
+70 ;;=4^F11.20
+71 ;;^UTILITY(U,$J,358.3,9622,2)
+72 ;;=^5003127
+73 ;;^UTILITY(U,$J,358.3,9623,0)
+74 ;;=F11.229^^39^415^55
+75 ;;^UTILITY(U,$J,358.3,9623,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,9623,1,3,0)
+78 ;;=3^Opioid Dependence w/ Intoxication,Unspec
+79 ;;^UTILITY(U,$J,358.3,9623,1,4,0)
+80 ;;=4^F11.229
+81 ;;^UTILITY(U,$J,358.3,9623,2)
+82 ;;=^5003132
+83 ;;^UTILITY(U,$J,358.3,9624,0)
+84 ;;=F11.222^^39^415^53
+85 ;;^UTILITY(U,$J,358.3,9624,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,9624,1,3,0)
+88 ;;=3^Opioid Dependence w/ Intoxication w/ Perceptual Disturbance
+89 ;;^UTILITY(U,$J,358.3,9624,1,4,0)
+90 ;;=4^F11.222
+91 ;;^UTILITY(U,$J,358.3,9624,2)
+92 ;;=^5003131
+93 ;;^UTILITY(U,$J,358.3,9625,0)
+94 ;;=F11.221^^39^415^52
+95 ;;^UTILITY(U,$J,358.3,9625,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,9625,1,3,0)
+98 ;;=3^Opioid Dependence w/ Intoxication Delirium
+99 ;;^UTILITY(U,$J,358.3,9625,1,4,0)
+100 ;;=4^F11.221
+101 ;;^UTILITY(U,$J,358.3,9625,2)
+102 ;;=^5003130
+103 ;;^UTILITY(U,$J,358.3,9626,0)
+104 ;;=F11.220^^39^415^54
+105 ;;^UTILITY(U,$J,358.3,9626,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,9626,1,3,0)
+108 ;;=3^Opioid Dependence w/ Intoxication,Uncomplicated
+109 ;;^UTILITY(U,$J,358.3,9626,1,4,0)
+110 ;;=4^F11.220
+111 ;;^UTILITY(U,$J,358.3,9626,2)
+112 ;;=^5003129
+113 ;;^UTILITY(U,$J,358.3,9627,0)
+114 ;;=F14.29^^39^415^34
+115 ;;^UTILITY(U,$J,358.3,9627,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,9627,1,3,0)
+118 ;;=3^Cocaine Dependence w/ Unspec Cocaine-Induced Disorder