IBDEI265 ; ; 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,34631,0)
;;=F19.97^^134^1761^6
;;^UTILITY(U,$J,358.3,34631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34631,1,3,0)
;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34631,1,4,0)
;;=4^F19.97
;;^UTILITY(U,$J,358.3,34631,2)
;;=^5003465
;;^UTILITY(U,$J,358.3,34632,0)
;;=F19.188^^134^1761^7
;;^UTILITY(U,$J,358.3,34632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34632,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34632,1,4,0)
;;=4^F19.188
;;^UTILITY(U,$J,358.3,34632,2)
;;=^5133361
;;^UTILITY(U,$J,358.3,34633,0)
;;=F19.288^^134^1761^8
;;^UTILITY(U,$J,358.3,34633,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34633,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34633,1,4,0)
;;=4^F19.288
;;^UTILITY(U,$J,358.3,34633,2)
;;=^5133362
;;^UTILITY(U,$J,358.3,34634,0)
;;=F19.988^^134^1761^9
;;^UTILITY(U,$J,358.3,34634,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34634,1,3,0)
;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34634,1,4,0)
;;=4^F19.988
;;^UTILITY(U,$J,358.3,34634,2)
;;=^5133363
;;^UTILITY(U,$J,358.3,34635,0)
;;=F19.159^^134^1761^10
;;^UTILITY(U,$J,358.3,34635,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34635,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34635,1,4,0)
;;=4^F19.159
;;^UTILITY(U,$J,358.3,34635,2)
;;=^5003424
;;^UTILITY(U,$J,358.3,34636,0)
;;=F19.259^^134^1761^11
;;^UTILITY(U,$J,358.3,34636,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34636,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34636,1,4,0)
;;=4^F19.259
;;^UTILITY(U,$J,358.3,34636,2)
;;=^5003444
;;^UTILITY(U,$J,358.3,34637,0)
;;=F19.959^^134^1761^12
;;^UTILITY(U,$J,358.3,34637,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34637,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,34637,1,4,0)
;;=4^F19.959
;;^UTILITY(U,$J,358.3,34637,2)
;;=^5003463
;;^UTILITY(U,$J,358.3,34638,0)
;;=F19.181^^134^1761^13
;;^UTILITY(U,$J,358.3,34638,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34638,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34638,1,4,0)
;;=4^F19.181
;;^UTILITY(U,$J,358.3,34638,2)
;;=^5003428
;;^UTILITY(U,$J,358.3,34639,0)
;;=F19.281^^134^1761^14
;;^UTILITY(U,$J,358.3,34639,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34639,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,34639,1,4,0)
;;=4^F19.281
;;^UTILITY(U,$J,358.3,34639,2)
;;=^5003448
;;^UTILITY(U,$J,358.3,34640,0)
;;=F19.981^^134^1761^15
;;^UTILITY(U,$J,358.3,34640,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34640,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
;;^UTILITY(U,$J,358.3,34640,1,4,0)
;;=4^F19.981
;;^UTILITY(U,$J,358.3,34640,2)
;;=^5003467
;;^UTILITY(U,$J,358.3,34641,0)
;;=F19.182^^134^1761^16
;;^UTILITY(U,$J,358.3,34641,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34641,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,34641,1,4,0)
;;=4^F19.182
;;^UTILITY(U,$J,358.3,34641,2)
;;=^5003429
;;^UTILITY(U,$J,358.3,34642,0)
;;=F19.282^^134^1761^17
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI265 3749 printed Dec 13, 2024@02:22:32 Page 2
IBDEI265 ; ; 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,34631,0)
+2 ;;=F19.97^^134^1761^6
+3 ;;^UTILITY(U,$J,358.3,34631,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,34631,1,3,0)
+6 ;;=3^Oth/Unk Substance Induced Maj Neurocog D/O w/o Use D/O
+7 ;;^UTILITY(U,$J,358.3,34631,1,4,0)
+8 ;;=4^F19.97
+9 ;;^UTILITY(U,$J,358.3,34631,2)
+10 ;;=^5003465
+11 ;;^UTILITY(U,$J,358.3,34632,0)
+12 ;;=F19.188^^134^1761^7
+13 ;;^UTILITY(U,$J,358.3,34632,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,34632,1,3,0)
+16 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mild Use D/O
+17 ;;^UTILITY(U,$J,358.3,34632,1,4,0)
+18 ;;=4^F19.188
+19 ;;^UTILITY(U,$J,358.3,34632,2)
+20 ;;=^5133361
+21 ;;^UTILITY(U,$J,358.3,34633,0)
+22 ;;=F19.288^^134^1761^8
+23 ;;^UTILITY(U,$J,358.3,34633,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,34633,1,3,0)
+26 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/ Mod/Sev Use D/O
+27 ;;^UTILITY(U,$J,358.3,34633,1,4,0)
+28 ;;=4^F19.288
+29 ;;^UTILITY(U,$J,358.3,34633,2)
+30 ;;=^5133362
+31 ;;^UTILITY(U,$J,358.3,34634,0)
+32 ;;=F19.988^^134^1761^9
+33 ;;^UTILITY(U,$J,358.3,34634,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,34634,1,3,0)
+36 ;;=3^Oth/Unk Substance Induced Mild Neurocog D/O w/o Use D/O
+37 ;;^UTILITY(U,$J,358.3,34634,1,4,0)
+38 ;;=4^F19.988
+39 ;;^UTILITY(U,$J,358.3,34634,2)
+40 ;;=^5133363
+41 ;;^UTILITY(U,$J,358.3,34635,0)
+42 ;;=F19.159^^134^1761^10
+43 ;;^UTILITY(U,$J,358.3,34635,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,34635,1,3,0)
+46 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mild Use D/O
+47 ;;^UTILITY(U,$J,358.3,34635,1,4,0)
+48 ;;=4^F19.159
+49 ;;^UTILITY(U,$J,358.3,34635,2)
+50 ;;=^5003424
+51 ;;^UTILITY(U,$J,358.3,34636,0)
+52 ;;=F19.259^^134^1761^11
+53 ;;^UTILITY(U,$J,358.3,34636,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,34636,1,3,0)
+56 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
+57 ;;^UTILITY(U,$J,358.3,34636,1,4,0)
+58 ;;=4^F19.259
+59 ;;^UTILITY(U,$J,358.3,34636,2)
+60 ;;=^5003444
+61 ;;^UTILITY(U,$J,358.3,34637,0)
+62 ;;=F19.959^^134^1761^12
+63 ;;^UTILITY(U,$J,358.3,34637,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,34637,1,3,0)
+66 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
+67 ;;^UTILITY(U,$J,358.3,34637,1,4,0)
+68 ;;=4^F19.959
+69 ;;^UTILITY(U,$J,358.3,34637,2)
+70 ;;=^5003463
+71 ;;^UTILITY(U,$J,358.3,34638,0)
+72 ;;=F19.181^^134^1761^13
+73 ;;^UTILITY(U,$J,358.3,34638,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,34638,1,3,0)
+76 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
+77 ;;^UTILITY(U,$J,358.3,34638,1,4,0)
+78 ;;=4^F19.181
+79 ;;^UTILITY(U,$J,358.3,34638,2)
+80 ;;=^5003428
+81 ;;^UTILITY(U,$J,358.3,34639,0)
+82 ;;=F19.281^^134^1761^14
+83 ;;^UTILITY(U,$J,358.3,34639,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,34639,1,3,0)
+86 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
+87 ;;^UTILITY(U,$J,358.3,34639,1,4,0)
+88 ;;=4^F19.281
+89 ;;^UTILITY(U,$J,358.3,34639,2)
+90 ;;=^5003448
+91 ;;^UTILITY(U,$J,358.3,34640,0)
+92 ;;=F19.981^^134^1761^15
+93 ;;^UTILITY(U,$J,358.3,34640,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,34640,1,3,0)
+96 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
+97 ;;^UTILITY(U,$J,358.3,34640,1,4,0)
+98 ;;=4^F19.981
+99 ;;^UTILITY(U,$J,358.3,34640,2)
+100 ;;=^5003467
+101 ;;^UTILITY(U,$J,358.3,34641,0)
+102 ;;=F19.182^^134^1761^16
+103 ;;^UTILITY(U,$J,358.3,34641,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,34641,1,3,0)
+106 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
+107 ;;^UTILITY(U,$J,358.3,34641,1,4,0)
+108 ;;=4^F19.182
+109 ;;^UTILITY(U,$J,358.3,34641,2)
+110 ;;=^5003429
+111 ;;^UTILITY(U,$J,358.3,34642,0)
+112 ;;=F19.282^^134^1761^17