- IBDEI1KZ ; ; 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,25628,1,4,0)
- ;;=4^F10.14
- ;;^UTILITY(U,$J,358.3,25628,2)
- ;;=^5003072
- ;;^UTILITY(U,$J,358.3,25629,0)
- ;;=F10.24^^92^1170^11
- ;;^UTILITY(U,$J,358.3,25629,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25629,1,3,0)
- ;;=3^Alcohol Induced Mood D/O w/ Mod/Sev Use D/O
- ;;^UTILITY(U,$J,358.3,25629,1,4,0)
- ;;=4^F10.24
- ;;^UTILITY(U,$J,358.3,25629,2)
- ;;=^5003090
- ;;^UTILITY(U,$J,358.3,25630,0)
- ;;=F10.94^^92^1170^12
- ;;^UTILITY(U,$J,358.3,25630,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25630,1,3,0)
- ;;=3^Alcohol Induced Mood D/O w/o Use D/O
- ;;^UTILITY(U,$J,358.3,25630,1,4,0)
- ;;=4^F10.94
- ;;^UTILITY(U,$J,358.3,25630,2)
- ;;=^5003104
- ;;^UTILITY(U,$J,358.3,25631,0)
- ;;=F10.231^^92^1170^32
- ;;^UTILITY(U,$J,358.3,25631,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25631,1,3,0)
- ;;=3^Alcohol Use DO (Mod/Sev) w/ WD Delirium
- ;;^UTILITY(U,$J,358.3,25631,1,4,0)
- ;;=4^F10.231
- ;;^UTILITY(U,$J,358.3,25631,2)
- ;;=^5003087
- ;;^UTILITY(U,$J,358.3,25632,0)
- ;;=F10.232^^92^1170^30
- ;;^UTILITY(U,$J,358.3,25632,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25632,1,3,0)
- ;;=3^Alcohol Use DO (Mod/Sev) WD w/ Perceptual Disturbances
- ;;^UTILITY(U,$J,358.3,25632,1,4,0)
- ;;=4^F10.232
- ;;^UTILITY(U,$J,358.3,25632,2)
- ;;=^5003088
- ;;^UTILITY(U,$J,358.3,25633,0)
- ;;=F10.21^^92^1170^33
- ;;^UTILITY(U,$J,358.3,25633,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25633,1,3,0)
- ;;=3^Alcohol Use DO (Mod/Sev),In Remission
- ;;^UTILITY(U,$J,358.3,25633,1,4,0)
- ;;=4^F10.21
- ;;^UTILITY(U,$J,358.3,25633,2)
- ;;=^5003082
- ;;^UTILITY(U,$J,358.3,25634,0)
- ;;=F10.930^^92^1170^35
- ;;^UTILITY(U,$J,358.3,25634,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25634,1,3,0)
- ;;=3^Alcohol Use,Unspec w/ Withdrawal
- ;;^UTILITY(U,$J,358.3,25634,1,4,0)
- ;;=4^F10.930
- ;;^UTILITY(U,$J,358.3,25634,2)
- ;;=^5159134
- ;;^UTILITY(U,$J,358.3,25635,0)
- ;;=F10.931^^92^1170^36
- ;;^UTILITY(U,$J,358.3,25635,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25635,1,3,0)
- ;;=3^Alcohol Use,Unspec w/ Withdrawal Delirium
- ;;^UTILITY(U,$J,358.3,25635,1,4,0)
- ;;=4^F10.931
- ;;^UTILITY(U,$J,358.3,25635,2)
- ;;=^5159135
- ;;^UTILITY(U,$J,358.3,25636,0)
- ;;=F10.932^^92^1170^37
- ;;^UTILITY(U,$J,358.3,25636,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25636,1,3,0)
- ;;=3^Alcohol Use,Unspec w/ Withdrawal w/ Perceptual Disturb
- ;;^UTILITY(U,$J,358.3,25636,1,4,0)
- ;;=4^F10.932
- ;;^UTILITY(U,$J,358.3,25636,2)
- ;;=^5159136
- ;;^UTILITY(U,$J,358.3,25637,0)
- ;;=F10.939^^92^1170^38
- ;;^UTILITY(U,$J,358.3,25637,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25637,1,3,0)
- ;;=3^Alcohol Use,Unspec w/ Withdrawal,Unspec
- ;;^UTILITY(U,$J,358.3,25637,1,4,0)
- ;;=4^F10.939
- ;;^UTILITY(U,$J,358.3,25637,2)
- ;;=^5159137
- ;;^UTILITY(U,$J,358.3,25638,0)
- ;;=F12.10^^92^1171^20
- ;;^UTILITY(U,$J,358.3,25638,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25638,1,3,0)
- ;;=3^Cannabis Use D/O,Mild
- ;;^UTILITY(U,$J,358.3,25638,1,4,0)
- ;;=4^F12.10
- ;;^UTILITY(U,$J,358.3,25638,2)
- ;;=^5003155
- ;;^UTILITY(U,$J,358.3,25639,0)
- ;;=F12.20^^92^1171^22
- ;;^UTILITY(U,$J,358.3,25639,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25639,1,3,0)
- ;;=3^Cannabis Use D/O,Mod/Sev
- ;;^UTILITY(U,$J,358.3,25639,1,4,0)
- ;;=4^F12.20
- ;;^UTILITY(U,$J,358.3,25639,2)
- ;;=^5003166
- ;;^UTILITY(U,$J,358.3,25640,0)
- ;;=F12.288^^92^1171^25
- ;;^UTILITY(U,$J,358.3,25640,1,0)
- ;;=^358.31IA^4^2
- ;;^UTILITY(U,$J,358.3,25640,1,3,0)
- ;;=3^Cannabis Withdrawal
- --- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1KZ 3756 printed Feb 18, 2025@23:37:06 Page 2
- IBDEI1KZ ; ; 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,25628,1,4,0)
- +2 ;;=4^F10.14
- +3 ;;^UTILITY(U,$J,358.3,25628,2)
- +4 ;;=^5003072
- +5 ;;^UTILITY(U,$J,358.3,25629,0)
- +6 ;;=F10.24^^92^1170^11
- +7 ;;^UTILITY(U,$J,358.3,25629,1,0)
- +8 ;;=^358.31IA^4^2
- +9 ;;^UTILITY(U,$J,358.3,25629,1,3,0)
- +10 ;;=3^Alcohol Induced Mood D/O w/ Mod/Sev Use D/O
- +11 ;;^UTILITY(U,$J,358.3,25629,1,4,0)
- +12 ;;=4^F10.24
- +13 ;;^UTILITY(U,$J,358.3,25629,2)
- +14 ;;=^5003090
- +15 ;;^UTILITY(U,$J,358.3,25630,0)
- +16 ;;=F10.94^^92^1170^12
- +17 ;;^UTILITY(U,$J,358.3,25630,1,0)
- +18 ;;=^358.31IA^4^2
- +19 ;;^UTILITY(U,$J,358.3,25630,1,3,0)
- +20 ;;=3^Alcohol Induced Mood D/O w/o Use D/O
- +21 ;;^UTILITY(U,$J,358.3,25630,1,4,0)
- +22 ;;=4^F10.94
- +23 ;;^UTILITY(U,$J,358.3,25630,2)
- +24 ;;=^5003104
- +25 ;;^UTILITY(U,$J,358.3,25631,0)
- +26 ;;=F10.231^^92^1170^32
- +27 ;;^UTILITY(U,$J,358.3,25631,1,0)
- +28 ;;=^358.31IA^4^2
- +29 ;;^UTILITY(U,$J,358.3,25631,1,3,0)
- +30 ;;=3^Alcohol Use DO (Mod/Sev) w/ WD Delirium
- +31 ;;^UTILITY(U,$J,358.3,25631,1,4,0)
- +32 ;;=4^F10.231
- +33 ;;^UTILITY(U,$J,358.3,25631,2)
- +34 ;;=^5003087
- +35 ;;^UTILITY(U,$J,358.3,25632,0)
- +36 ;;=F10.232^^92^1170^30
- +37 ;;^UTILITY(U,$J,358.3,25632,1,0)
- +38 ;;=^358.31IA^4^2
- +39 ;;^UTILITY(U,$J,358.3,25632,1,3,0)
- +40 ;;=3^Alcohol Use DO (Mod/Sev) WD w/ Perceptual Disturbances
- +41 ;;^UTILITY(U,$J,358.3,25632,1,4,0)
- +42 ;;=4^F10.232
- +43 ;;^UTILITY(U,$J,358.3,25632,2)
- +44 ;;=^5003088
- +45 ;;^UTILITY(U,$J,358.3,25633,0)
- +46 ;;=F10.21^^92^1170^33
- +47 ;;^UTILITY(U,$J,358.3,25633,1,0)
- +48 ;;=^358.31IA^4^2
- +49 ;;^UTILITY(U,$J,358.3,25633,1,3,0)
- +50 ;;=3^Alcohol Use DO (Mod/Sev),In Remission
- +51 ;;^UTILITY(U,$J,358.3,25633,1,4,0)
- +52 ;;=4^F10.21
- +53 ;;^UTILITY(U,$J,358.3,25633,2)
- +54 ;;=^5003082
- +55 ;;^UTILITY(U,$J,358.3,25634,0)
- +56 ;;=F10.930^^92^1170^35
- +57 ;;^UTILITY(U,$J,358.3,25634,1,0)
- +58 ;;=^358.31IA^4^2
- +59 ;;^UTILITY(U,$J,358.3,25634,1,3,0)
- +60 ;;=3^Alcohol Use,Unspec w/ Withdrawal
- +61 ;;^UTILITY(U,$J,358.3,25634,1,4,0)
- +62 ;;=4^F10.930
- +63 ;;^UTILITY(U,$J,358.3,25634,2)
- +64 ;;=^5159134
- +65 ;;^UTILITY(U,$J,358.3,25635,0)
- +66 ;;=F10.931^^92^1170^36
- +67 ;;^UTILITY(U,$J,358.3,25635,1,0)
- +68 ;;=^358.31IA^4^2
- +69 ;;^UTILITY(U,$J,358.3,25635,1,3,0)
- +70 ;;=3^Alcohol Use,Unspec w/ Withdrawal Delirium
- +71 ;;^UTILITY(U,$J,358.3,25635,1,4,0)
- +72 ;;=4^F10.931
- +73 ;;^UTILITY(U,$J,358.3,25635,2)
- +74 ;;=^5159135
- +75 ;;^UTILITY(U,$J,358.3,25636,0)
- +76 ;;=F10.932^^92^1170^37
- +77 ;;^UTILITY(U,$J,358.3,25636,1,0)
- +78 ;;=^358.31IA^4^2
- +79 ;;^UTILITY(U,$J,358.3,25636,1,3,0)
- +80 ;;=3^Alcohol Use,Unspec w/ Withdrawal w/ Perceptual Disturb
- +81 ;;^UTILITY(U,$J,358.3,25636,1,4,0)
- +82 ;;=4^F10.932
- +83 ;;^UTILITY(U,$J,358.3,25636,2)
- +84 ;;=^5159136
- +85 ;;^UTILITY(U,$J,358.3,25637,0)
- +86 ;;=F10.939^^92^1170^38
- +87 ;;^UTILITY(U,$J,358.3,25637,1,0)
- +88 ;;=^358.31IA^4^2
- +89 ;;^UTILITY(U,$J,358.3,25637,1,3,0)
- +90 ;;=3^Alcohol Use,Unspec w/ Withdrawal,Unspec
- +91 ;;^UTILITY(U,$J,358.3,25637,1,4,0)
- +92 ;;=4^F10.939
- +93 ;;^UTILITY(U,$J,358.3,25637,2)
- +94 ;;=^5159137
- +95 ;;^UTILITY(U,$J,358.3,25638,0)
- +96 ;;=F12.10^^92^1171^20
- +97 ;;^UTILITY(U,$J,358.3,25638,1,0)
- +98 ;;=^358.31IA^4^2
- +99 ;;^UTILITY(U,$J,358.3,25638,1,3,0)
- +100 ;;=3^Cannabis Use D/O,Mild
- +101 ;;^UTILITY(U,$J,358.3,25638,1,4,0)
- +102 ;;=4^F12.10
- +103 ;;^UTILITY(U,$J,358.3,25638,2)
- +104 ;;=^5003155
- +105 ;;^UTILITY(U,$J,358.3,25639,0)
- +106 ;;=F12.20^^92^1171^22
- +107 ;;^UTILITY(U,$J,358.3,25639,1,0)
- +108 ;;=^358.31IA^4^2
- +109 ;;^UTILITY(U,$J,358.3,25639,1,3,0)
- +110 ;;=3^Cannabis Use D/O,Mod/Sev
- +111 ;;^UTILITY(U,$J,358.3,25639,1,4,0)
- +112 ;;=4^F12.20
- +113 ;;^UTILITY(U,$J,358.3,25639,2)
- +114 ;;=^5003166
- +115 ;;^UTILITY(U,$J,358.3,25640,0)
- +116 ;;=F12.288^^92^1171^25
- +117 ;;^UTILITY(U,$J,358.3,25640,1,0)
- +118 ;;=^358.31IA^4^2
- +119 ;;^UTILITY(U,$J,358.3,25640,1,3,0)
- +120 ;;=3^Cannabis Withdrawal