IBDEI2SN ; ; 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,44547,1,3,0)
;;=3^Cocaine Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,44547,1,4,0)
;;=4^F14.921
;;^UTILITY(U,$J,358.3,44547,2)
;;=^5003271
;;^UTILITY(U,$J,358.3,44548,0)
;;=F14.10^^164^2207^30
;;^UTILITY(U,$J,358.3,44548,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44548,1,3,0)
;;=3^Cocaine Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,44548,1,4,0)
;;=4^F14.10
;;^UTILITY(U,$J,358.3,44548,2)
;;=^5003239
;;^UTILITY(U,$J,358.3,44549,0)
;;=F14.20^^164^2207^32
;;^UTILITY(U,$J,358.3,44549,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44549,1,3,0)
;;=3^Cocaine Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,44549,1,4,0)
;;=4^F14.20
;;^UTILITY(U,$J,358.3,44549,2)
;;=^5003253
;;^UTILITY(U,$J,358.3,44550,0)
;;=F14.23^^164^2207^33
;;^UTILITY(U,$J,358.3,44550,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44550,1,3,0)
;;=3^Cocaine Withdrawal
;;^UTILITY(U,$J,358.3,44550,1,4,0)
;;=4^F14.23
;;^UTILITY(U,$J,358.3,44550,2)
;;=^5003259
;;^UTILITY(U,$J,358.3,44551,0)
;;=F14.21^^164^2207^31
;;^UTILITY(U,$J,358.3,44551,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44551,1,3,0)
;;=3^Cocaine Use DO,Mod/Sev,In Remiss
;;^UTILITY(U,$J,358.3,44551,1,4,0)
;;=4^F14.21
;;^UTILITY(U,$J,358.3,44551,2)
;;=^5003254
;;^UTILITY(U,$J,358.3,44552,0)
;;=F15.11^^164^2207^63
;;^UTILITY(U,$J,358.3,44552,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44552,1,3,0)
;;=3^Oth Stimulant Mild Use D/O,In Remission
;;^UTILITY(U,$J,358.3,44552,1,4,0)
;;=4^F15.11
;;^UTILITY(U,$J,358.3,44552,2)
;;=^5151304
;;^UTILITY(U,$J,358.3,44553,0)
;;=F14.11^^164^2207^29
;;^UTILITY(U,$J,358.3,44553,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44553,1,3,0)
;;=3^Cocaine Use DO,Mild,In Remiss
;;^UTILITY(U,$J,358.3,44553,1,4,0)
;;=4^F14.11
;;^UTILITY(U,$J,358.3,44553,2)
;;=^268249
;;^UTILITY(U,$J,358.3,44554,0)
;;=F15.21^^164^2207^34
;;^UTILITY(U,$J,358.3,44554,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44554,1,3,0)
;;=3^Oth Stimulant Dependence,Mod/Sev,In Remission
;;^UTILITY(U,$J,358.3,44554,1,4,0)
;;=4^F15.21
;;^UTILITY(U,$J,358.3,44554,2)
;;=^5003296
;;^UTILITY(U,$J,358.3,44555,0)
;;=Z91.120^^164^2208^1
;;^UTILITY(U,$J,358.3,44555,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44555,1,3,0)
;;=3^Intentional Underdosing d/t Financial Hardship
;;^UTILITY(U,$J,358.3,44555,1,4,0)
;;=4^Z91.120
;;^UTILITY(U,$J,358.3,44555,2)
;;=^5063612
;;^UTILITY(U,$J,358.3,44556,0)
;;=Z91.128^^164^2208^2
;;^UTILITY(U,$J,358.3,44556,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44556,1,3,0)
;;=3^Intentional Underdosing,Other Reasons
;;^UTILITY(U,$J,358.3,44556,1,4,0)
;;=4^Z91.128
;;^UTILITY(U,$J,358.3,44556,2)
;;=^5063613
;;^UTILITY(U,$J,358.3,44557,0)
;;=Z91.130^^164^2208^15
;;^UTILITY(U,$J,358.3,44557,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44557,1,3,0)
;;=3^Unintented Underdosing d/t Age-Related Disability
;;^UTILITY(U,$J,358.3,44557,1,4,0)
;;=4^Z91.130
;;^UTILITY(U,$J,358.3,44557,2)
;;=^5063614
;;^UTILITY(U,$J,358.3,44558,0)
;;=Z91.138^^164^2208^16
;;^UTILITY(U,$J,358.3,44558,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44558,1,3,0)
;;=3^Unintented Underdosing,Other Reasons
;;^UTILITY(U,$J,358.3,44558,1,4,0)
;;=4^Z91.138
;;^UTILITY(U,$J,358.3,44558,2)
;;=^5063615
;;^UTILITY(U,$J,358.3,44559,0)
;;=T38.3X6A^^164^2208^3
;;^UTILITY(U,$J,358.3,44559,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,44559,1,3,0)
;;=3^Underdosing Insulin/Oral Hypoglycemic Drugs,Init Encntr
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2SN 3843 printed Dec 13, 2024@02:35:03 Page 2
IBDEI2SN ; ; 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,44547,1,3,0)
+2 ;;=3^Cocaine Intox Delirium w/o Use D/O
+3 ;;^UTILITY(U,$J,358.3,44547,1,4,0)
+4 ;;=4^F14.921
+5 ;;^UTILITY(U,$J,358.3,44547,2)
+6 ;;=^5003271
+7 ;;^UTILITY(U,$J,358.3,44548,0)
+8 ;;=F14.10^^164^2207^30
+9 ;;^UTILITY(U,$J,358.3,44548,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,44548,1,3,0)
+12 ;;=3^Cocaine Use DO,Mild,Uncomp
+13 ;;^UTILITY(U,$J,358.3,44548,1,4,0)
+14 ;;=4^F14.10
+15 ;;^UTILITY(U,$J,358.3,44548,2)
+16 ;;=^5003239
+17 ;;^UTILITY(U,$J,358.3,44549,0)
+18 ;;=F14.20^^164^2207^32
+19 ;;^UTILITY(U,$J,358.3,44549,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,44549,1,3,0)
+22 ;;=3^Cocaine Use DO,Mod/Sev,Uncomp
+23 ;;^UTILITY(U,$J,358.3,44549,1,4,0)
+24 ;;=4^F14.20
+25 ;;^UTILITY(U,$J,358.3,44549,2)
+26 ;;=^5003253
+27 ;;^UTILITY(U,$J,358.3,44550,0)
+28 ;;=F14.23^^164^2207^33
+29 ;;^UTILITY(U,$J,358.3,44550,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,44550,1,3,0)
+32 ;;=3^Cocaine Withdrawal
+33 ;;^UTILITY(U,$J,358.3,44550,1,4,0)
+34 ;;=4^F14.23
+35 ;;^UTILITY(U,$J,358.3,44550,2)
+36 ;;=^5003259
+37 ;;^UTILITY(U,$J,358.3,44551,0)
+38 ;;=F14.21^^164^2207^31
+39 ;;^UTILITY(U,$J,358.3,44551,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,44551,1,3,0)
+42 ;;=3^Cocaine Use DO,Mod/Sev,In Remiss
+43 ;;^UTILITY(U,$J,358.3,44551,1,4,0)
+44 ;;=4^F14.21
+45 ;;^UTILITY(U,$J,358.3,44551,2)
+46 ;;=^5003254
+47 ;;^UTILITY(U,$J,358.3,44552,0)
+48 ;;=F15.11^^164^2207^63
+49 ;;^UTILITY(U,$J,358.3,44552,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,44552,1,3,0)
+52 ;;=3^Oth Stimulant Mild Use D/O,In Remission
+53 ;;^UTILITY(U,$J,358.3,44552,1,4,0)
+54 ;;=4^F15.11
+55 ;;^UTILITY(U,$J,358.3,44552,2)
+56 ;;=^5151304
+57 ;;^UTILITY(U,$J,358.3,44553,0)
+58 ;;=F14.11^^164^2207^29
+59 ;;^UTILITY(U,$J,358.3,44553,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,44553,1,3,0)
+62 ;;=3^Cocaine Use DO,Mild,In Remiss
+63 ;;^UTILITY(U,$J,358.3,44553,1,4,0)
+64 ;;=4^F14.11
+65 ;;^UTILITY(U,$J,358.3,44553,2)
+66 ;;=^268249
+67 ;;^UTILITY(U,$J,358.3,44554,0)
+68 ;;=F15.21^^164^2207^34
+69 ;;^UTILITY(U,$J,358.3,44554,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,44554,1,3,0)
+72 ;;=3^Oth Stimulant Dependence,Mod/Sev,In Remission
+73 ;;^UTILITY(U,$J,358.3,44554,1,4,0)
+74 ;;=4^F15.21
+75 ;;^UTILITY(U,$J,358.3,44554,2)
+76 ;;=^5003296
+77 ;;^UTILITY(U,$J,358.3,44555,0)
+78 ;;=Z91.120^^164^2208^1
+79 ;;^UTILITY(U,$J,358.3,44555,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,44555,1,3,0)
+82 ;;=3^Intentional Underdosing d/t Financial Hardship
+83 ;;^UTILITY(U,$J,358.3,44555,1,4,0)
+84 ;;=4^Z91.120
+85 ;;^UTILITY(U,$J,358.3,44555,2)
+86 ;;=^5063612
+87 ;;^UTILITY(U,$J,358.3,44556,0)
+88 ;;=Z91.128^^164^2208^2
+89 ;;^UTILITY(U,$J,358.3,44556,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,44556,1,3,0)
+92 ;;=3^Intentional Underdosing,Other Reasons
+93 ;;^UTILITY(U,$J,358.3,44556,1,4,0)
+94 ;;=4^Z91.128
+95 ;;^UTILITY(U,$J,358.3,44556,2)
+96 ;;=^5063613
+97 ;;^UTILITY(U,$J,358.3,44557,0)
+98 ;;=Z91.130^^164^2208^15
+99 ;;^UTILITY(U,$J,358.3,44557,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,44557,1,3,0)
+102 ;;=3^Unintented Underdosing d/t Age-Related Disability
+103 ;;^UTILITY(U,$J,358.3,44557,1,4,0)
+104 ;;=4^Z91.130
+105 ;;^UTILITY(U,$J,358.3,44557,2)
+106 ;;=^5063614
+107 ;;^UTILITY(U,$J,358.3,44558,0)
+108 ;;=Z91.138^^164^2208^16
+109 ;;^UTILITY(U,$J,358.3,44558,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,44558,1,3,0)
+112 ;;=3^Unintented Underdosing,Other Reasons
+113 ;;^UTILITY(U,$J,358.3,44558,1,4,0)
+114 ;;=4^Z91.138
+115 ;;^UTILITY(U,$J,358.3,44558,2)
+116 ;;=^5063615
+117 ;;^UTILITY(U,$J,358.3,44559,0)
+118 ;;=T38.3X6A^^164^2208^3
+119 ;;^UTILITY(U,$J,358.3,44559,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,44559,1,3,0)
+122 ;;=3^Underdosing Insulin/Oral Hypoglycemic Drugs,Init Encntr