IBDEI1QR ; ; 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,27830,1,3,0)
;;=3^Alcohol Intoxication Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,27830,1,4,0)
;;=4^F10.921
;;^UTILITY(U,$J,358.3,27830,2)
;;=^5003102
;;^UTILITY(U,$J,358.3,27831,0)
;;=F10.129^^113^1360^25
;;^UTILITY(U,$J,358.3,27831,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27831,1,3,0)
;;=3^Alcohol Intoxication w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27831,1,4,0)
;;=4^F10.129
;;^UTILITY(U,$J,358.3,27831,2)
;;=^5003071
;;^UTILITY(U,$J,358.3,27832,0)
;;=F10.229^^113^1360^26
;;^UTILITY(U,$J,358.3,27832,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27832,1,3,0)
;;=3^Alcohol Intoxication w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27832,1,4,0)
;;=4^F10.229
;;^UTILITY(U,$J,358.3,27832,2)
;;=^5003085
;;^UTILITY(U,$J,358.3,27833,0)
;;=F10.929^^113^1360^27
;;^UTILITY(U,$J,358.3,27833,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27833,1,3,0)
;;=3^Alcohol Intoxication w/o Use D/O
;;^UTILITY(U,$J,358.3,27833,1,4,0)
;;=4^F10.929
;;^UTILITY(U,$J,358.3,27833,2)
;;=^5003103
;;^UTILITY(U,$J,358.3,27834,0)
;;=F10.99^^113^1360^28
;;^UTILITY(U,$J,358.3,27834,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27834,1,3,0)
;;=3^Alcohol Related D/O,Unspec
;;^UTILITY(U,$J,358.3,27834,1,4,0)
;;=4^F10.99
;;^UTILITY(U,$J,358.3,27834,2)
;;=^5133351
;;^UTILITY(U,$J,358.3,27835,0)
;;=F10.14^^113^1360^10
;;^UTILITY(U,$J,358.3,27835,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27835,1,3,0)
;;=3^Alcohol Induced Mood D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27835,1,4,0)
;;=4^F10.14
;;^UTILITY(U,$J,358.3,27835,2)
;;=^5003072
;;^UTILITY(U,$J,358.3,27836,0)
;;=F10.24^^113^1360^11
;;^UTILITY(U,$J,358.3,27836,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27836,1,3,0)
;;=3^Alcohol Induced Mood D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27836,1,4,0)
;;=4^F10.24
;;^UTILITY(U,$J,358.3,27836,2)
;;=^5003090
;;^UTILITY(U,$J,358.3,27837,0)
;;=F10.94^^113^1360^12
;;^UTILITY(U,$J,358.3,27837,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27837,1,3,0)
;;=3^Alcohol Induced Mood D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27837,1,4,0)
;;=4^F10.94
;;^UTILITY(U,$J,358.3,27837,2)
;;=^5003104
;;^UTILITY(U,$J,358.3,27838,0)
;;=F10.231^^113^1360^32
;;^UTILITY(U,$J,358.3,27838,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27838,1,3,0)
;;=3^Alcohol Use DO (Mod/Sev) w/ WD Delirium
;;^UTILITY(U,$J,358.3,27838,1,4,0)
;;=4^F10.231
;;^UTILITY(U,$J,358.3,27838,2)
;;=^5003087
;;^UTILITY(U,$J,358.3,27839,0)
;;=F10.232^^113^1360^30
;;^UTILITY(U,$J,358.3,27839,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27839,1,3,0)
;;=3^Alcohol Use DO (Mod/Sev) WD w/ Perceptual Disturbances
;;^UTILITY(U,$J,358.3,27839,1,4,0)
;;=4^F10.232
;;^UTILITY(U,$J,358.3,27839,2)
;;=^5003088
;;^UTILITY(U,$J,358.3,27840,0)
;;=F10.21^^113^1360^33
;;^UTILITY(U,$J,358.3,27840,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27840,1,3,0)
;;=3^Alcohol Use DO (Mod/Sev),In Remission
;;^UTILITY(U,$J,358.3,27840,1,4,0)
;;=4^F10.21
;;^UTILITY(U,$J,358.3,27840,2)
;;=^5003082
;;^UTILITY(U,$J,358.3,27841,0)
;;=F12.10^^113^1361^20
;;^UTILITY(U,$J,358.3,27841,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27841,1,3,0)
;;=3^Cannabis Use D/O,Mild
;;^UTILITY(U,$J,358.3,27841,1,4,0)
;;=4^F12.10
;;^UTILITY(U,$J,358.3,27841,2)
;;=^5003155
;;^UTILITY(U,$J,358.3,27842,0)
;;=F12.20^^113^1361^22
;;^UTILITY(U,$J,358.3,27842,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QR 3771 printed Dec 13, 2024@02:13:58 Page 2
IBDEI1QR ; ; 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,27830,1,3,0)
+2 ;;=3^Alcohol Intoxication Delirium w/o Use D/O
+3 ;;^UTILITY(U,$J,358.3,27830,1,4,0)
+4 ;;=4^F10.921
+5 ;;^UTILITY(U,$J,358.3,27830,2)
+6 ;;=^5003102
+7 ;;^UTILITY(U,$J,358.3,27831,0)
+8 ;;=F10.129^^113^1360^25
+9 ;;^UTILITY(U,$J,358.3,27831,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,27831,1,3,0)
+12 ;;=3^Alcohol Intoxication w/ Mild Use D/O
+13 ;;^UTILITY(U,$J,358.3,27831,1,4,0)
+14 ;;=4^F10.129
+15 ;;^UTILITY(U,$J,358.3,27831,2)
+16 ;;=^5003071
+17 ;;^UTILITY(U,$J,358.3,27832,0)
+18 ;;=F10.229^^113^1360^26
+19 ;;^UTILITY(U,$J,358.3,27832,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,27832,1,3,0)
+22 ;;=3^Alcohol Intoxication w/ Mod/Sev Use D/O
+23 ;;^UTILITY(U,$J,358.3,27832,1,4,0)
+24 ;;=4^F10.229
+25 ;;^UTILITY(U,$J,358.3,27832,2)
+26 ;;=^5003085
+27 ;;^UTILITY(U,$J,358.3,27833,0)
+28 ;;=F10.929^^113^1360^27
+29 ;;^UTILITY(U,$J,358.3,27833,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,27833,1,3,0)
+32 ;;=3^Alcohol Intoxication w/o Use D/O
+33 ;;^UTILITY(U,$J,358.3,27833,1,4,0)
+34 ;;=4^F10.929
+35 ;;^UTILITY(U,$J,358.3,27833,2)
+36 ;;=^5003103
+37 ;;^UTILITY(U,$J,358.3,27834,0)
+38 ;;=F10.99^^113^1360^28
+39 ;;^UTILITY(U,$J,358.3,27834,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,27834,1,3,0)
+42 ;;=3^Alcohol Related D/O,Unspec
+43 ;;^UTILITY(U,$J,358.3,27834,1,4,0)
+44 ;;=4^F10.99
+45 ;;^UTILITY(U,$J,358.3,27834,2)
+46 ;;=^5133351
+47 ;;^UTILITY(U,$J,358.3,27835,0)
+48 ;;=F10.14^^113^1360^10
+49 ;;^UTILITY(U,$J,358.3,27835,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,27835,1,3,0)
+52 ;;=3^Alcohol Induced Mood D/O w/ Mild Use D/O
+53 ;;^UTILITY(U,$J,358.3,27835,1,4,0)
+54 ;;=4^F10.14
+55 ;;^UTILITY(U,$J,358.3,27835,2)
+56 ;;=^5003072
+57 ;;^UTILITY(U,$J,358.3,27836,0)
+58 ;;=F10.24^^113^1360^11
+59 ;;^UTILITY(U,$J,358.3,27836,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,27836,1,3,0)
+62 ;;=3^Alcohol Induced Mood D/O w/ Mod/Sev Use D/O
+63 ;;^UTILITY(U,$J,358.3,27836,1,4,0)
+64 ;;=4^F10.24
+65 ;;^UTILITY(U,$J,358.3,27836,2)
+66 ;;=^5003090
+67 ;;^UTILITY(U,$J,358.3,27837,0)
+68 ;;=F10.94^^113^1360^12
+69 ;;^UTILITY(U,$J,358.3,27837,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,27837,1,3,0)
+72 ;;=3^Alcohol Induced Mood D/O w/o Use D/O
+73 ;;^UTILITY(U,$J,358.3,27837,1,4,0)
+74 ;;=4^F10.94
+75 ;;^UTILITY(U,$J,358.3,27837,2)
+76 ;;=^5003104
+77 ;;^UTILITY(U,$J,358.3,27838,0)
+78 ;;=F10.231^^113^1360^32
+79 ;;^UTILITY(U,$J,358.3,27838,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,27838,1,3,0)
+82 ;;=3^Alcohol Use DO (Mod/Sev) w/ WD Delirium
+83 ;;^UTILITY(U,$J,358.3,27838,1,4,0)
+84 ;;=4^F10.231
+85 ;;^UTILITY(U,$J,358.3,27838,2)
+86 ;;=^5003087
+87 ;;^UTILITY(U,$J,358.3,27839,0)
+88 ;;=F10.232^^113^1360^30
+89 ;;^UTILITY(U,$J,358.3,27839,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,27839,1,3,0)
+92 ;;=3^Alcohol Use DO (Mod/Sev) WD w/ Perceptual Disturbances
+93 ;;^UTILITY(U,$J,358.3,27839,1,4,0)
+94 ;;=4^F10.232
+95 ;;^UTILITY(U,$J,358.3,27839,2)
+96 ;;=^5003088
+97 ;;^UTILITY(U,$J,358.3,27840,0)
+98 ;;=F10.21^^113^1360^33
+99 ;;^UTILITY(U,$J,358.3,27840,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,27840,1,3,0)
+102 ;;=3^Alcohol Use DO (Mod/Sev),In Remission
+103 ;;^UTILITY(U,$J,358.3,27840,1,4,0)
+104 ;;=4^F10.21
+105 ;;^UTILITY(U,$J,358.3,27840,2)
+106 ;;=^5003082
+107 ;;^UTILITY(U,$J,358.3,27841,0)
+108 ;;=F12.10^^113^1361^20
+109 ;;^UTILITY(U,$J,358.3,27841,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,27841,1,3,0)
+112 ;;=3^Cannabis Use D/O,Mild
+113 ;;^UTILITY(U,$J,358.3,27841,1,4,0)
+114 ;;=4^F12.10
+115 ;;^UTILITY(U,$J,358.3,27841,2)
+116 ;;=^5003155
+117 ;;^UTILITY(U,$J,358.3,27842,0)
+118 ;;=F12.20^^113^1361^22
+119 ;;^UTILITY(U,$J,358.3,27842,1,0)
+120 ;;=^358.31IA^4^2