IBDEI266 ; ; 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,34642,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34642,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34642,1,4,0)
;;=4^F19.282
;;^UTILITY(U,$J,358.3,34642,2)
;;=^5003449
;;^UTILITY(U,$J,358.3,34643,0)
;;=F19.982^^134^1761^18
;;^UTILITY(U,$J,358.3,34643,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34643,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34643,1,4,0)
;;=4^F19.982
;;^UTILITY(U,$J,358.3,34643,2)
;;=^5003468
;;^UTILITY(U,$J,358.3,34644,0)
;;=F19.129^^134^1761^22
;;^UTILITY(U,$J,358.3,34644,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34644,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34644,1,4,0)
;;=4^F19.129
;;^UTILITY(U,$J,358.3,34644,2)
;;=^5003420
;;^UTILITY(U,$J,358.3,34645,0)
;;=F19.229^^134^1761^23
;;^UTILITY(U,$J,358.3,34645,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34645,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34645,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,34645,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,34646,0)
;;=F19.929^^134^1761^24
;;^UTILITY(U,$J,358.3,34646,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34646,1,3,0)
;;=3^Oth/Unk Substance Intox w/o Use D/O
;;^UTILITY(U,$J,358.3,34646,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,34646,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,34647,0)
;;=F19.121^^134^1761^19
;;^UTILITY(U,$J,358.3,34647,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34647,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34647,1,4,0)
;;=4^F19.121
;;^UTILITY(U,$J,358.3,34647,2)
;;=^5003418
;;^UTILITY(U,$J,358.3,34648,0)
;;=F19.221^^134^1761^20
;;^UTILITY(U,$J,358.3,34648,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34648,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34648,1,4,0)
;;=4^F19.221
;;^UTILITY(U,$J,358.3,34648,2)
;;=^5003434
;;^UTILITY(U,$J,358.3,34649,0)
;;=F19.921^^134^1761^21
;;^UTILITY(U,$J,358.3,34649,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34649,1,3,0)
;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
;;^UTILITY(U,$J,358.3,34649,1,4,0)
;;=4^F19.921
;;^UTILITY(U,$J,358.3,34649,2)
;;=^5003453
;;^UTILITY(U,$J,358.3,34650,0)
;;=F19.10^^134^1761^27
;;^UTILITY(U,$J,358.3,34650,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34650,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
;;^UTILITY(U,$J,358.3,34650,1,4,0)
;;=4^F19.10
;;^UTILITY(U,$J,358.3,34650,2)
;;=^5003416
;;^UTILITY(U,$J,358.3,34651,0)
;;=F19.20^^134^1761^29
;;^UTILITY(U,$J,358.3,34651,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34651,1,3,0)
;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
;;^UTILITY(U,$J,358.3,34651,1,4,0)
;;=4^F19.20
;;^UTILITY(U,$J,358.3,34651,2)
;;=^5003431
;;^UTILITY(U,$J,358.3,34652,0)
;;=F19.239^^134^1761^31
;;^UTILITY(U,$J,358.3,34652,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34652,1,3,0)
;;=3^Oth/Unk Substance Withdrawal
;;^UTILITY(U,$J,358.3,34652,1,4,0)
;;=4^F19.239
;;^UTILITY(U,$J,358.3,34652,2)
;;=^5003440
;;^UTILITY(U,$J,358.3,34653,0)
;;=F19.231^^134^1761^32
;;^UTILITY(U,$J,358.3,34653,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34653,1,3,0)
;;=3^Oth/Unk Substance Withdrawal Delirium
;;^UTILITY(U,$J,358.3,34653,1,4,0)
;;=4^F19.231
;;^UTILITY(U,$J,358.3,34653,2)
;;=^5003438
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI266 3777 printed Dec 13, 2024@02:22:32 Page 2
IBDEI266 ; ; 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,34642,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,34642,1,3,0)
+4 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
+5 ;;^UTILITY(U,$J,358.3,34642,1,4,0)
+6 ;;=4^F19.282
+7 ;;^UTILITY(U,$J,358.3,34642,2)
+8 ;;=^5003449
+9 ;;^UTILITY(U,$J,358.3,34643,0)
+10 ;;=F19.982^^134^1761^18
+11 ;;^UTILITY(U,$J,358.3,34643,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,34643,1,3,0)
+14 ;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
+15 ;;^UTILITY(U,$J,358.3,34643,1,4,0)
+16 ;;=4^F19.982
+17 ;;^UTILITY(U,$J,358.3,34643,2)
+18 ;;=^5003468
+19 ;;^UTILITY(U,$J,358.3,34644,0)
+20 ;;=F19.129^^134^1761^22
+21 ;;^UTILITY(U,$J,358.3,34644,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,34644,1,3,0)
+24 ;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
+25 ;;^UTILITY(U,$J,358.3,34644,1,4,0)
+26 ;;=4^F19.129
+27 ;;^UTILITY(U,$J,358.3,34644,2)
+28 ;;=^5003420
+29 ;;^UTILITY(U,$J,358.3,34645,0)
+30 ;;=F19.229^^134^1761^23
+31 ;;^UTILITY(U,$J,358.3,34645,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,34645,1,3,0)
+34 ;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
+35 ;;^UTILITY(U,$J,358.3,34645,1,4,0)
+36 ;;=4^F19.229
+37 ;;^UTILITY(U,$J,358.3,34645,2)
+38 ;;=^5003436
+39 ;;^UTILITY(U,$J,358.3,34646,0)
+40 ;;=F19.929^^134^1761^24
+41 ;;^UTILITY(U,$J,358.3,34646,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,34646,1,3,0)
+44 ;;=3^Oth/Unk Substance Intox w/o Use D/O
+45 ;;^UTILITY(U,$J,358.3,34646,1,4,0)
+46 ;;=4^F19.929
+47 ;;^UTILITY(U,$J,358.3,34646,2)
+48 ;;=^5003455
+49 ;;^UTILITY(U,$J,358.3,34647,0)
+50 ;;=F19.121^^134^1761^19
+51 ;;^UTILITY(U,$J,358.3,34647,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,34647,1,3,0)
+54 ;;=3^Oth/Unk Substance Intox Delirium w/ Mild Use D/O
+55 ;;^UTILITY(U,$J,358.3,34647,1,4,0)
+56 ;;=4^F19.121
+57 ;;^UTILITY(U,$J,358.3,34647,2)
+58 ;;=^5003418
+59 ;;^UTILITY(U,$J,358.3,34648,0)
+60 ;;=F19.221^^134^1761^20
+61 ;;^UTILITY(U,$J,358.3,34648,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,34648,1,3,0)
+64 ;;=3^Oth/Unk Substance Intox Delirium w/ Mod/Sev Use D/O
+65 ;;^UTILITY(U,$J,358.3,34648,1,4,0)
+66 ;;=4^F19.221
+67 ;;^UTILITY(U,$J,358.3,34648,2)
+68 ;;=^5003434
+69 ;;^UTILITY(U,$J,358.3,34649,0)
+70 ;;=F19.921^^134^1761^21
+71 ;;^UTILITY(U,$J,358.3,34649,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,34649,1,3,0)
+74 ;;=3^Oth/Unk Substance Intox Delirium w/o Use D/O
+75 ;;^UTILITY(U,$J,358.3,34649,1,4,0)
+76 ;;=4^F19.921
+77 ;;^UTILITY(U,$J,358.3,34649,2)
+78 ;;=^5003453
+79 ;;^UTILITY(U,$J,358.3,34650,0)
+80 ;;=F19.10^^134^1761^27
+81 ;;^UTILITY(U,$J,358.3,34650,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,34650,1,3,0)
+84 ;;=3^Oth/Unk Substance Use DO,Mild,Uncomp
+85 ;;^UTILITY(U,$J,358.3,34650,1,4,0)
+86 ;;=4^F19.10
+87 ;;^UTILITY(U,$J,358.3,34650,2)
+88 ;;=^5003416
+89 ;;^UTILITY(U,$J,358.3,34651,0)
+90 ;;=F19.20^^134^1761^29
+91 ;;^UTILITY(U,$J,358.3,34651,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,34651,1,3,0)
+94 ;;=3^Oth/Unk Substance Use DO,Mod/Sev,Uncomp
+95 ;;^UTILITY(U,$J,358.3,34651,1,4,0)
+96 ;;=4^F19.20
+97 ;;^UTILITY(U,$J,358.3,34651,2)
+98 ;;=^5003431
+99 ;;^UTILITY(U,$J,358.3,34652,0)
+100 ;;=F19.239^^134^1761^31
+101 ;;^UTILITY(U,$J,358.3,34652,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,34652,1,3,0)
+104 ;;=3^Oth/Unk Substance Withdrawal
+105 ;;^UTILITY(U,$J,358.3,34652,1,4,0)
+106 ;;=4^F19.239
+107 ;;^UTILITY(U,$J,358.3,34652,2)
+108 ;;=^5003440
+109 ;;^UTILITY(U,$J,358.3,34653,0)
+110 ;;=F19.231^^134^1761^32
+111 ;;^UTILITY(U,$J,358.3,34653,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,34653,1,3,0)
+114 ;;=3^Oth/Unk Substance Withdrawal Delirium
+115 ;;^UTILITY(U,$J,358.3,34653,1,4,0)
+116 ;;=4^F19.231
+117 ;;^UTILITY(U,$J,358.3,34653,2)
+118 ;;=^5003438