IBDEI1PK ; ; 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,27294,2)
;;=^5003424
;;^UTILITY(U,$J,358.3,27295,0)
;;=F19.259^^110^1323^11
;;^UTILITY(U,$J,358.3,27295,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27295,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27295,1,4,0)
;;=4^F19.259
;;^UTILITY(U,$J,358.3,27295,2)
;;=^5003444
;;^UTILITY(U,$J,358.3,27296,0)
;;=F19.959^^110^1323^12
;;^UTILITY(U,$J,358.3,27296,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27296,1,3,0)
;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27296,1,4,0)
;;=4^F19.959
;;^UTILITY(U,$J,358.3,27296,2)
;;=^5003463
;;^UTILITY(U,$J,358.3,27297,0)
;;=F19.181^^110^1323^13
;;^UTILITY(U,$J,358.3,27297,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27297,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27297,1,4,0)
;;=4^F19.181
;;^UTILITY(U,$J,358.3,27297,2)
;;=^5003428
;;^UTILITY(U,$J,358.3,27298,0)
;;=F19.281^^110^1323^14
;;^UTILITY(U,$J,358.3,27298,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27298,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27298,1,4,0)
;;=4^F19.281
;;^UTILITY(U,$J,358.3,27298,2)
;;=^5003448
;;^UTILITY(U,$J,358.3,27299,0)
;;=F19.981^^110^1323^15
;;^UTILITY(U,$J,358.3,27299,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27299,1,3,0)
;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
;;^UTILITY(U,$J,358.3,27299,1,4,0)
;;=4^F19.981
;;^UTILITY(U,$J,358.3,27299,2)
;;=^5003467
;;^UTILITY(U,$J,358.3,27300,0)
;;=F19.182^^110^1323^16
;;^UTILITY(U,$J,358.3,27300,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27300,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27300,1,4,0)
;;=4^F19.182
;;^UTILITY(U,$J,358.3,27300,2)
;;=^5003429
;;^UTILITY(U,$J,358.3,27301,0)
;;=F19.282^^110^1323^17
;;^UTILITY(U,$J,358.3,27301,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27301,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27301,1,4,0)
;;=4^F19.282
;;^UTILITY(U,$J,358.3,27301,2)
;;=^5003449
;;^UTILITY(U,$J,358.3,27302,0)
;;=F19.982^^110^1323^18
;;^UTILITY(U,$J,358.3,27302,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27302,1,3,0)
;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27302,1,4,0)
;;=4^F19.982
;;^UTILITY(U,$J,358.3,27302,2)
;;=^5003468
;;^UTILITY(U,$J,358.3,27303,0)
;;=F19.129^^110^1323^22
;;^UTILITY(U,$J,358.3,27303,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27303,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27303,1,4,0)
;;=4^F19.129
;;^UTILITY(U,$J,358.3,27303,2)
;;=^5003420
;;^UTILITY(U,$J,358.3,27304,0)
;;=F19.229^^110^1323^23
;;^UTILITY(U,$J,358.3,27304,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27304,1,3,0)
;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27304,1,4,0)
;;=4^F19.229
;;^UTILITY(U,$J,358.3,27304,2)
;;=^5003436
;;^UTILITY(U,$J,358.3,27305,0)
;;=F19.929^^110^1323^24
;;^UTILITY(U,$J,358.3,27305,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27305,1,3,0)
;;=3^Oth/Unk Substance Intox w/o Use D/O
;;^UTILITY(U,$J,358.3,27305,1,4,0)
;;=4^F19.929
;;^UTILITY(U,$J,358.3,27305,2)
;;=^5003455
;;^UTILITY(U,$J,358.3,27306,0)
;;=F19.121^^110^1323^19
;;^UTILITY(U,$J,358.3,27306,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1PK 3788 printed Dec 13, 2024@02:13:18 Page 2
IBDEI1PK ; ; 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,27294,2)
+2 ;;=^5003424
+3 ;;^UTILITY(U,$J,358.3,27295,0)
+4 ;;=F19.259^^110^1323^11
+5 ;;^UTILITY(U,$J,358.3,27295,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,27295,1,3,0)
+8 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/ Mod/Sev Use D/O
+9 ;;^UTILITY(U,$J,358.3,27295,1,4,0)
+10 ;;=4^F19.259
+11 ;;^UTILITY(U,$J,358.3,27295,2)
+12 ;;=^5003444
+13 ;;^UTILITY(U,$J,358.3,27296,0)
+14 ;;=F19.959^^110^1323^12
+15 ;;^UTILITY(U,$J,358.3,27296,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,27296,1,3,0)
+18 ;;=3^Oth/Unk Substance Induced Psychotic D/O w/o Use D/O
+19 ;;^UTILITY(U,$J,358.3,27296,1,4,0)
+20 ;;=4^F19.959
+21 ;;^UTILITY(U,$J,358.3,27296,2)
+22 ;;=^5003463
+23 ;;^UTILITY(U,$J,358.3,27297,0)
+24 ;;=F19.181^^110^1323^13
+25 ;;^UTILITY(U,$J,358.3,27297,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,27297,1,3,0)
+28 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mild Use D/O
+29 ;;^UTILITY(U,$J,358.3,27297,1,4,0)
+30 ;;=4^F19.181
+31 ;;^UTILITY(U,$J,358.3,27297,2)
+32 ;;=^5003428
+33 ;;^UTILITY(U,$J,358.3,27298,0)
+34 ;;=F19.281^^110^1323^14
+35 ;;^UTILITY(U,$J,358.3,27298,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,27298,1,3,0)
+38 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ Mod/Sev Use D/O
+39 ;;^UTILITY(U,$J,358.3,27298,1,4,0)
+40 ;;=4^F19.281
+41 ;;^UTILITY(U,$J,358.3,27298,2)
+42 ;;=^5003448
+43 ;;^UTILITY(U,$J,358.3,27299,0)
+44 ;;=F19.981^^110^1323^15
+45 ;;^UTILITY(U,$J,358.3,27299,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,27299,1,3,0)
+48 ;;=3^Oth/Unk Substance Induced Sexual Dysfunc w/ o Use D/O
+49 ;;^UTILITY(U,$J,358.3,27299,1,4,0)
+50 ;;=4^F19.981
+51 ;;^UTILITY(U,$J,358.3,27299,2)
+52 ;;=^5003467
+53 ;;^UTILITY(U,$J,358.3,27300,0)
+54 ;;=F19.182^^110^1323^16
+55 ;;^UTILITY(U,$J,358.3,27300,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,27300,1,3,0)
+58 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mild Use D/O
+59 ;;^UTILITY(U,$J,358.3,27300,1,4,0)
+60 ;;=4^F19.182
+61 ;;^UTILITY(U,$J,358.3,27300,2)
+62 ;;=^5003429
+63 ;;^UTILITY(U,$J,358.3,27301,0)
+64 ;;=F19.282^^110^1323^17
+65 ;;^UTILITY(U,$J,358.3,27301,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,27301,1,3,0)
+68 ;;=3^Oth/Unk Substance Induced Sleep D/O w/ Mod/Sev Use D/O
+69 ;;^UTILITY(U,$J,358.3,27301,1,4,0)
+70 ;;=4^F19.282
+71 ;;^UTILITY(U,$J,358.3,27301,2)
+72 ;;=^5003449
+73 ;;^UTILITY(U,$J,358.3,27302,0)
+74 ;;=F19.982^^110^1323^18
+75 ;;^UTILITY(U,$J,358.3,27302,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,27302,1,3,0)
+78 ;;=3^Oth/Unk Substance Induced Sleep D/O w/o Use D/O
+79 ;;^UTILITY(U,$J,358.3,27302,1,4,0)
+80 ;;=4^F19.982
+81 ;;^UTILITY(U,$J,358.3,27302,2)
+82 ;;=^5003468
+83 ;;^UTILITY(U,$J,358.3,27303,0)
+84 ;;=F19.129^^110^1323^22
+85 ;;^UTILITY(U,$J,358.3,27303,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,27303,1,3,0)
+88 ;;=3^Oth/Unk Substance Intox w/ Mild Use D/O
+89 ;;^UTILITY(U,$J,358.3,27303,1,4,0)
+90 ;;=4^F19.129
+91 ;;^UTILITY(U,$J,358.3,27303,2)
+92 ;;=^5003420
+93 ;;^UTILITY(U,$J,358.3,27304,0)
+94 ;;=F19.229^^110^1323^23
+95 ;;^UTILITY(U,$J,358.3,27304,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,27304,1,3,0)
+98 ;;=3^Oth/Unk Substance Intox w/ Mod/Sev Use D/O
+99 ;;^UTILITY(U,$J,358.3,27304,1,4,0)
+100 ;;=4^F19.229
+101 ;;^UTILITY(U,$J,358.3,27304,2)
+102 ;;=^5003436
+103 ;;^UTILITY(U,$J,358.3,27305,0)
+104 ;;=F19.929^^110^1323^24
+105 ;;^UTILITY(U,$J,358.3,27305,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,27305,1,3,0)
+108 ;;=3^Oth/Unk Substance Intox w/o Use D/O
+109 ;;^UTILITY(U,$J,358.3,27305,1,4,0)
+110 ;;=4^F19.929
+111 ;;^UTILITY(U,$J,358.3,27305,2)
+112 ;;=^5003455
+113 ;;^UTILITY(U,$J,358.3,27306,0)
+114 ;;=F19.121^^110^1323^19
+115 ;;^UTILITY(U,$J,358.3,27306,1,0)
+116 ;;=^358.31IA^4^2