IBDEI1PJ ; ; 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,27283,1,3,0)
;;=3^Suicide Attempt,Subsequent Encntr
;;^UTILITY(U,$J,358.3,27283,1,4,0)
;;=4^T14.91XD
;;^UTILITY(U,$J,358.3,27283,2)
;;=^5151780
;;^UTILITY(U,$J,358.3,27284,0)
;;=T14.91XS^^110^1322^5
;;^UTILITY(U,$J,358.3,27284,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27284,1,3,0)
;;=3^Suicide Attempt,Sequela
;;^UTILITY(U,$J,358.3,27284,1,4,0)
;;=4^T14.91XS
;;^UTILITY(U,$J,358.3,27284,2)
;;=^5151781
;;^UTILITY(U,$J,358.3,27285,0)
;;=F19.14^^110^1323^1
;;^UTILITY(U,$J,358.3,27285,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27285,1,3,0)
;;=3^Oth/Unk Substance Induced Dep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27285,1,4,0)
;;=4^F19.14
;;^UTILITY(U,$J,358.3,27285,2)
;;=^5003421
;;^UTILITY(U,$J,358.3,27286,0)
;;=F19.24^^110^1323^2
;;^UTILITY(U,$J,358.3,27286,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27286,1,3,0)
;;=3^Oth/Unk Substance Induced Dep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27286,1,4,0)
;;=4^F19.24
;;^UTILITY(U,$J,358.3,27286,2)
;;=^5003441
;;^UTILITY(U,$J,358.3,27287,0)
;;=F19.94^^110^1323^3
;;^UTILITY(U,$J,358.3,27287,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27287,1,3,0)
;;=3^Oth/Unk Substance Induced Dep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27287,1,4,0)
;;=4^F19.94
;;^UTILITY(U,$J,358.3,27287,2)
;;=^5003460
;;^UTILITY(U,$J,358.3,27288,0)
;;=F19.17^^110^1323^4
;;^UTILITY(U,$J,358.3,27288,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27288,1,3,0)
;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27288,1,4,0)
;;=4^F19.17
;;^UTILITY(U,$J,358.3,27288,2)
;;=^5003426
;;^UTILITY(U,$J,358.3,27289,0)
;;=F19.27^^110^1323^5
;;^UTILITY(U,$J,358.3,27289,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27289,1,3,0)
;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27289,1,4,0)
;;=4^F19.27
;;^UTILITY(U,$J,358.3,27289,2)
;;=^5003446
;;^UTILITY(U,$J,358.3,27290,0)
;;=F19.97^^110^1323^6
;;^UTILITY(U,$J,358.3,27290,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27290,1,3,0)
;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27290,1,4,0)
;;=4^F19.97
;;^UTILITY(U,$J,358.3,27290,2)
;;=^5003465
;;^UTILITY(U,$J,358.3,27291,0)
;;=F19.188^^110^1323^7
;;^UTILITY(U,$J,358.3,27291,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27291,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27291,1,4,0)
;;=4^F19.188
;;^UTILITY(U,$J,358.3,27291,2)
;;=^5133361
;;^UTILITY(U,$J,358.3,27292,0)
;;=F19.288^^110^1323^8
;;^UTILITY(U,$J,358.3,27292,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27292,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27292,1,4,0)
;;=4^F19.288
;;^UTILITY(U,$J,358.3,27292,2)
;;=^5133362
;;^UTILITY(U,$J,358.3,27293,0)
;;=F19.988^^110^1323^9
;;^UTILITY(U,$J,358.3,27293,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27293,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27293,1,4,0)
;;=4^F19.988
;;^UTILITY(U,$J,358.3,27293,2)
;;=^5133363
;;^UTILITY(U,$J,358.3,27294,0)
;;=F19.159^^110^1323^10
;;^UTILITY(U,$J,358.3,27294,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27294,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27294,1,4,0)
;;=4^F19.159
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1PJ 3767 printed Oct 16, 2024@18:14:06 Page 2
IBDEI1PJ ; ; 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,27283,1,3,0)
+2 ;;=3^Suicide Attempt,Subsequent Encntr
+3 ;;^UTILITY(U,$J,358.3,27283,1,4,0)
+4 ;;=4^T14.91XD
+5 ;;^UTILITY(U,$J,358.3,27283,2)
+6 ;;=^5151780
+7 ;;^UTILITY(U,$J,358.3,27284,0)
+8 ;;=T14.91XS^^110^1322^5
+9 ;;^UTILITY(U,$J,358.3,27284,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,27284,1,3,0)
+12 ;;=3^Suicide Attempt,Sequela
+13 ;;^UTILITY(U,$J,358.3,27284,1,4,0)
+14 ;;=4^T14.91XS
+15 ;;^UTILITY(U,$J,358.3,27284,2)
+16 ;;=^5151781
+17 ;;^UTILITY(U,$J,358.3,27285,0)
+18 ;;=F19.14^^110^1323^1
+19 ;;^UTILITY(U,$J,358.3,27285,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,27285,1,3,0)
+22 ;;=3^Oth/Unk Substance Induced Dep D/O w/ Mild Use D/O
+23 ;;^UTILITY(U,$J,358.3,27285,1,4,0)
+24 ;;=4^F19.14
+25 ;;^UTILITY(U,$J,358.3,27285,2)
+26 ;;=^5003421
+27 ;;^UTILITY(U,$J,358.3,27286,0)
+28 ;;=F19.24^^110^1323^2
+29 ;;^UTILITY(U,$J,358.3,27286,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,27286,1,3,0)
+32 ;;=3^Oth/Unk Substance Induced Dep D/O w/ Mod/Sev Use D/O
+33 ;;^UTILITY(U,$J,358.3,27286,1,4,0)
+34 ;;=4^F19.24
+35 ;;^UTILITY(U,$J,358.3,27286,2)
+36 ;;=^5003441
+37 ;;^UTILITY(U,$J,358.3,27287,0)
+38 ;;=F19.94^^110^1323^3
+39 ;;^UTILITY(U,$J,358.3,27287,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,27287,1,3,0)
+42 ;;=3^Oth/Unk Substance Induced Dep D/O w/o Use D/O
+43 ;;^UTILITY(U,$J,358.3,27287,1,4,0)
+44 ;;=4^F19.94
+45 ;;^UTILITY(U,$J,358.3,27287,2)
+46 ;;=^5003460
+47 ;;^UTILITY(U,$J,358.3,27288,0)
+48 ;;=F19.17^^110^1323^4
+49 ;;^UTILITY(U,$J,358.3,27288,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,27288,1,3,0)
+52 ;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/ Mild Use D/O
+53 ;;^UTILITY(U,$J,358.3,27288,1,4,0)
+54 ;;=4^F19.17
+55 ;;^UTILITY(U,$J,358.3,27288,2)
+56 ;;=^5003426
+57 ;;^UTILITY(U,$J,358.3,27289,0)
+58 ;;=F19.27^^110^1323^5
+59 ;;^UTILITY(U,$J,358.3,27289,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,27289,1,3,0)
+62 ;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/ Mod/Sev Use D/O
+63 ;;^UTILITY(U,$J,358.3,27289,1,4,0)
+64 ;;=4^F19.27
+65 ;;^UTILITY(U,$J,358.3,27289,2)
+66 ;;=^5003446
+67 ;;^UTILITY(U,$J,358.3,27290,0)
+68 ;;=F19.97^^110^1323^6
+69 ;;^UTILITY(U,$J,358.3,27290,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,27290,1,3,0)
+72 ;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/o Use D/O
+73 ;;^UTILITY(U,$J,358.3,27290,1,4,0)
+74 ;;=4^F19.97
+75 ;;^UTILITY(U,$J,358.3,27290,2)
+76 ;;=^5003465
+77 ;;^UTILITY(U,$J,358.3,27291,0)
+78 ;;=F19.188^^110^1323^7
+79 ;;^UTILITY(U,$J,358.3,27291,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,27291,1,3,0)
+82 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mild Use D/O
+83 ;;^UTILITY(U,$J,358.3,27291,1,4,0)
+84 ;;=4^F19.188
+85 ;;^UTILITY(U,$J,358.3,27291,2)
+86 ;;=^5133361
+87 ;;^UTILITY(U,$J,358.3,27292,0)
+88 ;;=F19.288^^110^1323^8
+89 ;;^UTILITY(U,$J,358.3,27292,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,27292,1,3,0)
+92 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
+93 ;;^UTILITY(U,$J,358.3,27292,1,4,0)
+94 ;;=4^F19.288
+95 ;;^UTILITY(U,$J,358.3,27292,2)
+96 ;;=^5133362
+97 ;;^UTILITY(U,$J,358.3,27293,0)
+98 ;;=F19.988^^110^1323^9
+99 ;;^UTILITY(U,$J,358.3,27293,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,27293,1,3,0)
+102 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/o Use D/O
+103 ;;^UTILITY(U,$J,358.3,27293,1,4,0)
+104 ;;=4^F19.988
+105 ;;^UTILITY(U,$J,358.3,27293,2)
+106 ;;=^5133363
+107 ;;^UTILITY(U,$J,358.3,27294,0)
+108 ;;=F19.159^^110^1323^10
+109 ;;^UTILITY(U,$J,358.3,27294,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,27294,1,3,0)
+112 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mild Use D/O
+113 ;;^UTILITY(U,$J,358.3,27294,1,4,0)
+114 ;;=4^F19.159