IBDEI0LF ; ; 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,9639,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication Delirium
;;^UTILITY(U,$J,358.3,9639,1,4,0)
;;=4^F14.221
;;^UTILITY(U,$J,358.3,9639,2)
;;=^5003256
;;^UTILITY(U,$J,358.3,9640,0)
;;=F14.220^^39^415^31
;;^UTILITY(U,$J,358.3,9640,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9640,1,3,0)
;;=3^Cocaine Dependence w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,9640,1,4,0)
;;=4^F14.220
;;^UTILITY(U,$J,358.3,9640,2)
;;=^5003255
;;^UTILITY(U,$J,358.3,9641,0)
;;=F14.20^^39^415^36
;;^UTILITY(U,$J,358.3,9641,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9641,1,3,0)
;;=3^Cocaine Dependence,Uncompicated
;;^UTILITY(U,$J,358.3,9641,1,4,0)
;;=4^F14.20
;;^UTILITY(U,$J,358.3,9641,2)
;;=^5003253
;;^UTILITY(U,$J,358.3,9642,0)
;;=F10.120^^39^415^1
;;^UTILITY(U,$J,358.3,9642,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9642,1,3,0)
;;=3^Alcohol Abuse w/ Intoxication,Uncomplicated
;;^UTILITY(U,$J,358.3,9642,1,4,0)
;;=4^F10.120
;;^UTILITY(U,$J,358.3,9642,2)
;;=^5003069
;;^UTILITY(U,$J,358.3,9643,0)
;;=F10.10^^39^415^7
;;^UTILITY(U,$J,358.3,9643,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9643,1,3,0)
;;=3^Alcohol Abuse,Uncomplicated
;;^UTILITY(U,$J,358.3,9643,1,4,0)
;;=4^F10.10
;;^UTILITY(U,$J,358.3,9643,2)
;;=^5003068
;;^UTILITY(U,$J,358.3,9644,0)
;;=F17.201^^39^415^41
;;^UTILITY(U,$J,358.3,9644,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9644,1,3,0)
;;=3^Nicotine Dependence In Remission,Unspec
;;^UTILITY(U,$J,358.3,9644,1,4,0)
;;=4^F17.201
;;^UTILITY(U,$J,358.3,9644,2)
;;=^5003361
;;^UTILITY(U,$J,358.3,9645,0)
;;=F17.210^^39^415^40
;;^UTILITY(U,$J,358.3,9645,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9645,1,3,0)
;;=3^Nicotine Dependence Cigarettes,Uncomplicated
;;^UTILITY(U,$J,358.3,9645,1,4,0)
;;=4^F17.210
;;^UTILITY(U,$J,358.3,9645,2)
;;=^5003365
;;^UTILITY(U,$J,358.3,9646,0)
;;=F17.291^^39^415^42
;;^UTILITY(U,$J,358.3,9646,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9646,1,3,0)
;;=3^Nicotine Dependence Oth Tobacco Product,In Remission
;;^UTILITY(U,$J,358.3,9646,1,4,0)
;;=4^F17.291
;;^UTILITY(U,$J,358.3,9646,2)
;;=^5003376
;;^UTILITY(U,$J,358.3,9647,0)
;;=F17.290^^39^415^43
;;^UTILITY(U,$J,358.3,9647,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9647,1,3,0)
;;=3^Nicotine Dependence Oth Tobacco Product,Uncomplicated
;;^UTILITY(U,$J,358.3,9647,1,4,0)
;;=4^F17.290
;;^UTILITY(U,$J,358.3,9647,2)
;;=^5003375
;;^UTILITY(U,$J,358.3,9648,0)
;;=F17.221^^39^415^37
;;^UTILITY(U,$J,358.3,9648,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9648,1,3,0)
;;=3^Nicotine Dependence Chewing Tobacco,In Remission
;;^UTILITY(U,$J,358.3,9648,1,4,0)
;;=4^F17.221
;;^UTILITY(U,$J,358.3,9648,2)
;;=^5003371
;;^UTILITY(U,$J,358.3,9649,0)
;;=F17.220^^39^415^38
;;^UTILITY(U,$J,358.3,9649,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9649,1,3,0)
;;=3^Nicotine Dependence Chewing Tobacco,Uncomplicated
;;^UTILITY(U,$J,358.3,9649,1,4,0)
;;=4^F17.220
;;^UTILITY(U,$J,358.3,9649,2)
;;=^5003370
;;^UTILITY(U,$J,358.3,9650,0)
;;=F17.211^^39^415^39
;;^UTILITY(U,$J,358.3,9650,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9650,1,3,0)
;;=3^Nicotine Dependence Cigarettes,In Remission
;;^UTILITY(U,$J,358.3,9650,1,4,0)
;;=4^F17.211
;;^UTILITY(U,$J,358.3,9650,2)
;;=^5003366
;;^UTILITY(U,$J,358.3,9651,0)
;;=F17.200^^39^415^44
;;^UTILITY(U,$J,358.3,9651,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0LF 3770 printed Nov 22, 2024@17:01:10 Page 2
IBDEI0LF ; ; 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,9639,1,3,0)
+2 ;;=3^Cocaine Dependence w/ Intoxication Delirium
+3 ;;^UTILITY(U,$J,358.3,9639,1,4,0)
+4 ;;=4^F14.221
+5 ;;^UTILITY(U,$J,358.3,9639,2)
+6 ;;=^5003256
+7 ;;^UTILITY(U,$J,358.3,9640,0)
+8 ;;=F14.220^^39^415^31
+9 ;;^UTILITY(U,$J,358.3,9640,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,9640,1,3,0)
+12 ;;=3^Cocaine Dependence w/ Intoxication,Uncomplicated
+13 ;;^UTILITY(U,$J,358.3,9640,1,4,0)
+14 ;;=4^F14.220
+15 ;;^UTILITY(U,$J,358.3,9640,2)
+16 ;;=^5003255
+17 ;;^UTILITY(U,$J,358.3,9641,0)
+18 ;;=F14.20^^39^415^36
+19 ;;^UTILITY(U,$J,358.3,9641,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,9641,1,3,0)
+22 ;;=3^Cocaine Dependence,Uncompicated
+23 ;;^UTILITY(U,$J,358.3,9641,1,4,0)
+24 ;;=4^F14.20
+25 ;;^UTILITY(U,$J,358.3,9641,2)
+26 ;;=^5003253
+27 ;;^UTILITY(U,$J,358.3,9642,0)
+28 ;;=F10.120^^39^415^1
+29 ;;^UTILITY(U,$J,358.3,9642,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,9642,1,3,0)
+32 ;;=3^Alcohol Abuse w/ Intoxication,Uncomplicated
+33 ;;^UTILITY(U,$J,358.3,9642,1,4,0)
+34 ;;=4^F10.120
+35 ;;^UTILITY(U,$J,358.3,9642,2)
+36 ;;=^5003069
+37 ;;^UTILITY(U,$J,358.3,9643,0)
+38 ;;=F10.10^^39^415^7
+39 ;;^UTILITY(U,$J,358.3,9643,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,9643,1,3,0)
+42 ;;=3^Alcohol Abuse,Uncomplicated
+43 ;;^UTILITY(U,$J,358.3,9643,1,4,0)
+44 ;;=4^F10.10
+45 ;;^UTILITY(U,$J,358.3,9643,2)
+46 ;;=^5003068
+47 ;;^UTILITY(U,$J,358.3,9644,0)
+48 ;;=F17.201^^39^415^41
+49 ;;^UTILITY(U,$J,358.3,9644,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,9644,1,3,0)
+52 ;;=3^Nicotine Dependence In Remission,Unspec
+53 ;;^UTILITY(U,$J,358.3,9644,1,4,0)
+54 ;;=4^F17.201
+55 ;;^UTILITY(U,$J,358.3,9644,2)
+56 ;;=^5003361
+57 ;;^UTILITY(U,$J,358.3,9645,0)
+58 ;;=F17.210^^39^415^40
+59 ;;^UTILITY(U,$J,358.3,9645,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,9645,1,3,0)
+62 ;;=3^Nicotine Dependence Cigarettes,Uncomplicated
+63 ;;^UTILITY(U,$J,358.3,9645,1,4,0)
+64 ;;=4^F17.210
+65 ;;^UTILITY(U,$J,358.3,9645,2)
+66 ;;=^5003365
+67 ;;^UTILITY(U,$J,358.3,9646,0)
+68 ;;=F17.291^^39^415^42
+69 ;;^UTILITY(U,$J,358.3,9646,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,9646,1,3,0)
+72 ;;=3^Nicotine Dependence Oth Tobacco Product,In Remission
+73 ;;^UTILITY(U,$J,358.3,9646,1,4,0)
+74 ;;=4^F17.291
+75 ;;^UTILITY(U,$J,358.3,9646,2)
+76 ;;=^5003376
+77 ;;^UTILITY(U,$J,358.3,9647,0)
+78 ;;=F17.290^^39^415^43
+79 ;;^UTILITY(U,$J,358.3,9647,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,9647,1,3,0)
+82 ;;=3^Nicotine Dependence Oth Tobacco Product,Uncomplicated
+83 ;;^UTILITY(U,$J,358.3,9647,1,4,0)
+84 ;;=4^F17.290
+85 ;;^UTILITY(U,$J,358.3,9647,2)
+86 ;;=^5003375
+87 ;;^UTILITY(U,$J,358.3,9648,0)
+88 ;;=F17.221^^39^415^37
+89 ;;^UTILITY(U,$J,358.3,9648,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,9648,1,3,0)
+92 ;;=3^Nicotine Dependence Chewing Tobacco,In Remission
+93 ;;^UTILITY(U,$J,358.3,9648,1,4,0)
+94 ;;=4^F17.221
+95 ;;^UTILITY(U,$J,358.3,9648,2)
+96 ;;=^5003371
+97 ;;^UTILITY(U,$J,358.3,9649,0)
+98 ;;=F17.220^^39^415^38
+99 ;;^UTILITY(U,$J,358.3,9649,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,9649,1,3,0)
+102 ;;=3^Nicotine Dependence Chewing Tobacco,Uncomplicated
+103 ;;^UTILITY(U,$J,358.3,9649,1,4,0)
+104 ;;=4^F17.220
+105 ;;^UTILITY(U,$J,358.3,9649,2)
+106 ;;=^5003370
+107 ;;^UTILITY(U,$J,358.3,9650,0)
+108 ;;=F17.211^^39^415^39
+109 ;;^UTILITY(U,$J,358.3,9650,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,9650,1,3,0)
+112 ;;=3^Nicotine Dependence Cigarettes,In Remission
+113 ;;^UTILITY(U,$J,358.3,9650,1,4,0)
+114 ;;=4^F17.211
+115 ;;^UTILITY(U,$J,358.3,9650,2)
+116 ;;=^5003366
+117 ;;^UTILITY(U,$J,358.3,9651,0)
+118 ;;=F17.200^^39^415^44
+119 ;;^UTILITY(U,$J,358.3,9651,1,0)
+120 ;;=^358.31IA^4^2