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