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