IBDEI1WU ; ; 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,30501,1,3,0)
;;=3^Cocaine Induced Psychotic D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30501,1,4,0)
;;=4^F14.159
;;^UTILITY(U,$J,358.3,30501,2)
;;=^5003247
;;^UTILITY(U,$J,358.3,30502,0)
;;=F14.259^^120^1556^11
;;^UTILITY(U,$J,358.3,30502,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30502,1,3,0)
;;=3^Cocaine Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30502,1,4,0)
;;=4^F14.259
;;^UTILITY(U,$J,358.3,30502,2)
;;=^5003263
;;^UTILITY(U,$J,358.3,30503,0)
;;=F14.959^^120^1556^12
;;^UTILITY(U,$J,358.3,30503,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30503,1,3,0)
;;=3^Cocaine Induced Psychotic D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30503,1,4,0)
;;=4^F14.959
;;^UTILITY(U,$J,358.3,30503,2)
;;=^5003277
;;^UTILITY(U,$J,358.3,30504,0)
;;=F14.181^^120^1556^13
;;^UTILITY(U,$J,358.3,30504,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30504,1,3,0)
;;=3^Cocaine Induced Sexual Dysfunc w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30504,1,4,0)
;;=4^F14.181
;;^UTILITY(U,$J,358.3,30504,2)
;;=^5003249
;;^UTILITY(U,$J,358.3,30505,0)
;;=F14.281^^120^1556^14
;;^UTILITY(U,$J,358.3,30505,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30505,1,3,0)
;;=3^Cocaine Induced Sexual Dysfunc w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30505,1,4,0)
;;=4^F14.281
;;^UTILITY(U,$J,358.3,30505,2)
;;=^5003265
;;^UTILITY(U,$J,358.3,30506,0)
;;=F14.981^^120^1556^15
;;^UTILITY(U,$J,358.3,30506,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30506,1,3,0)
;;=3^Cocaine Induced Sexual Dysfunc w/o Use D/O
;;^UTILITY(U,$J,358.3,30506,1,4,0)
;;=4^F14.981
;;^UTILITY(U,$J,358.3,30506,2)
;;=^5003279
;;^UTILITY(U,$J,358.3,30507,0)
;;=F14.182^^120^1556^16
;;^UTILITY(U,$J,358.3,30507,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30507,1,3,0)
;;=3^Cocaine Induced Sleep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30507,1,4,0)
;;=4^F14.182
;;^UTILITY(U,$J,358.3,30507,2)
;;=^5003250
;;^UTILITY(U,$J,358.3,30508,0)
;;=F14.282^^120^1556^17
;;^UTILITY(U,$J,358.3,30508,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30508,1,3,0)
;;=3^Cocaine Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30508,1,4,0)
;;=4^F14.282
;;^UTILITY(U,$J,358.3,30508,2)
;;=^5003266
;;^UTILITY(U,$J,358.3,30509,0)
;;=F14.982^^120^1556^18
;;^UTILITY(U,$J,358.3,30509,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30509,1,3,0)
;;=3^Cocaine Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,30509,1,4,0)
;;=4^F14.982
;;^UTILITY(U,$J,358.3,30509,2)
;;=^5003280
;;^UTILITY(U,$J,358.3,30510,0)
;;=F14.122^^120^1556^22
;;^UTILITY(U,$J,358.3,30510,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30510,1,3,0)
;;=3^Cocaine Intox w/ Percept Disturb w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,30510,1,4,0)
;;=4^F14.122
;;^UTILITY(U,$J,358.3,30510,2)
;;=^5003242
;;^UTILITY(U,$J,358.3,30511,0)
;;=F14.222^^120^1556^23
;;^UTILITY(U,$J,358.3,30511,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30511,1,3,0)
;;=3^Cocaine Intox w/ Percept Disturb w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,30511,1,4,0)
;;=4^F14.222
;;^UTILITY(U,$J,358.3,30511,2)
;;=^5003257
;;^UTILITY(U,$J,358.3,30512,0)
;;=F14.922^^120^1556^24
;;^UTILITY(U,$J,358.3,30512,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,30512,1,3,0)
;;=3^Cocaine Intox w/ Percept Disturb w/o Use D/O
;;^UTILITY(U,$J,358.3,30512,1,4,0)
;;=4^F14.922
;;^UTILITY(U,$J,358.3,30512,2)
;;=^5003272
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1WU 3763 printed Dec 13, 2024@02:17:21 Page 2
IBDEI1WU ; ; 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,30501,1,3,0)
+2 ;;=3^Cocaine Induced Psychotic D/O w/ Mild Use D/O
+3 ;;^UTILITY(U,$J,358.3,30501,1,4,0)
+4 ;;=4^F14.159
+5 ;;^UTILITY(U,$J,358.3,30501,2)
+6 ;;=^5003247
+7 ;;^UTILITY(U,$J,358.3,30502,0)
+8 ;;=F14.259^^120^1556^11
+9 ;;^UTILITY(U,$J,358.3,30502,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,30502,1,3,0)
+12 ;;=3^Cocaine Induced Psychotic D/O w/ Mod/Sev Use D/O
+13 ;;^UTILITY(U,$J,358.3,30502,1,4,0)
+14 ;;=4^F14.259
+15 ;;^UTILITY(U,$J,358.3,30502,2)
+16 ;;=^5003263
+17 ;;^UTILITY(U,$J,358.3,30503,0)
+18 ;;=F14.959^^120^1556^12
+19 ;;^UTILITY(U,$J,358.3,30503,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,30503,1,3,0)
+22 ;;=3^Cocaine Induced Psychotic D/O w/o Use D/O
+23 ;;^UTILITY(U,$J,358.3,30503,1,4,0)
+24 ;;=4^F14.959
+25 ;;^UTILITY(U,$J,358.3,30503,2)
+26 ;;=^5003277
+27 ;;^UTILITY(U,$J,358.3,30504,0)
+28 ;;=F14.181^^120^1556^13
+29 ;;^UTILITY(U,$J,358.3,30504,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,30504,1,3,0)
+32 ;;=3^Cocaine Induced Sexual Dysfunc w/ Mild Use D/O
+33 ;;^UTILITY(U,$J,358.3,30504,1,4,0)
+34 ;;=4^F14.181
+35 ;;^UTILITY(U,$J,358.3,30504,2)
+36 ;;=^5003249
+37 ;;^UTILITY(U,$J,358.3,30505,0)
+38 ;;=F14.281^^120^1556^14
+39 ;;^UTILITY(U,$J,358.3,30505,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,30505,1,3,0)
+42 ;;=3^Cocaine Induced Sexual Dysfunc w/ Mod/Sev Use D/O
+43 ;;^UTILITY(U,$J,358.3,30505,1,4,0)
+44 ;;=4^F14.281
+45 ;;^UTILITY(U,$J,358.3,30505,2)
+46 ;;=^5003265
+47 ;;^UTILITY(U,$J,358.3,30506,0)
+48 ;;=F14.981^^120^1556^15
+49 ;;^UTILITY(U,$J,358.3,30506,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,30506,1,3,0)
+52 ;;=3^Cocaine Induced Sexual Dysfunc w/o Use D/O
+53 ;;^UTILITY(U,$J,358.3,30506,1,4,0)
+54 ;;=4^F14.981
+55 ;;^UTILITY(U,$J,358.3,30506,2)
+56 ;;=^5003279
+57 ;;^UTILITY(U,$J,358.3,30507,0)
+58 ;;=F14.182^^120^1556^16
+59 ;;^UTILITY(U,$J,358.3,30507,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,30507,1,3,0)
+62 ;;=3^Cocaine Induced Sleep D/O w/ Mild Use D/O
+63 ;;^UTILITY(U,$J,358.3,30507,1,4,0)
+64 ;;=4^F14.182
+65 ;;^UTILITY(U,$J,358.3,30507,2)
+66 ;;=^5003250
+67 ;;^UTILITY(U,$J,358.3,30508,0)
+68 ;;=F14.282^^120^1556^17
+69 ;;^UTILITY(U,$J,358.3,30508,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,30508,1,3,0)
+72 ;;=3^Cocaine Induced Sleep D/O w/ Mod/Sev Use D/O
+73 ;;^UTILITY(U,$J,358.3,30508,1,4,0)
+74 ;;=4^F14.282
+75 ;;^UTILITY(U,$J,358.3,30508,2)
+76 ;;=^5003266
+77 ;;^UTILITY(U,$J,358.3,30509,0)
+78 ;;=F14.982^^120^1556^18
+79 ;;^UTILITY(U,$J,358.3,30509,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,30509,1,3,0)
+82 ;;=3^Cocaine Induced Sleep D/O w/o Use D/O
+83 ;;^UTILITY(U,$J,358.3,30509,1,4,0)
+84 ;;=4^F14.982
+85 ;;^UTILITY(U,$J,358.3,30509,2)
+86 ;;=^5003280
+87 ;;^UTILITY(U,$J,358.3,30510,0)
+88 ;;=F14.122^^120^1556^22
+89 ;;^UTILITY(U,$J,358.3,30510,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,30510,1,3,0)
+92 ;;=3^Cocaine Intox w/ Percept Disturb w/ Mild Use D/O
+93 ;;^UTILITY(U,$J,358.3,30510,1,4,0)
+94 ;;=4^F14.122
+95 ;;^UTILITY(U,$J,358.3,30510,2)
+96 ;;=^5003242
+97 ;;^UTILITY(U,$J,358.3,30511,0)
+98 ;;=F14.222^^120^1556^23
+99 ;;^UTILITY(U,$J,358.3,30511,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,30511,1,3,0)
+102 ;;=3^Cocaine Intox w/ Percept Disturb w/ Mod/Sev Use D/O
+103 ;;^UTILITY(U,$J,358.3,30511,1,4,0)
+104 ;;=4^F14.222
+105 ;;^UTILITY(U,$J,358.3,30511,2)
+106 ;;=^5003257
+107 ;;^UTILITY(U,$J,358.3,30512,0)
+108 ;;=F14.922^^120^1556^24
+109 ;;^UTILITY(U,$J,358.3,30512,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,30512,1,3,0)
+112 ;;=3^Cocaine Intox w/ Percept Disturb w/o Use D/O
+113 ;;^UTILITY(U,$J,358.3,30512,1,4,0)
+114 ;;=4^F14.922
+115 ;;^UTILITY(U,$J,358.3,30512,2)
+116 ;;=^5003272