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