IBDEI1QX ; ; 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,27901,1,4,0)
;;=4^F11.281
;;^UTILITY(U,$J,358.3,27901,2)
;;=^5003138
;;^UTILITY(U,$J,358.3,27902,0)
;;=F11.981^^113^1363^10
;;^UTILITY(U,$J,358.3,27902,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27902,1,3,0)
;;=3^Opioid Induced Sexual Dysfunc w/o Use D/O
;;^UTILITY(U,$J,358.3,27902,1,4,0)
;;=4^F11.981
;;^UTILITY(U,$J,358.3,27902,2)
;;=^5003152
;;^UTILITY(U,$J,358.3,27903,0)
;;=F11.282^^113^1363^12
;;^UTILITY(U,$J,358.3,27903,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27903,1,3,0)
;;=3^Opioid Induced Sleep D/O w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27903,1,4,0)
;;=4^F11.282
;;^UTILITY(U,$J,358.3,27903,2)
;;=^5003139
;;^UTILITY(U,$J,358.3,27904,0)
;;=F11.982^^113^1363^13
;;^UTILITY(U,$J,358.3,27904,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27904,1,3,0)
;;=3^Opioid Induced Sleep D/O w/o Use D/O
;;^UTILITY(U,$J,358.3,27904,1,4,0)
;;=4^F11.982
;;^UTILITY(U,$J,358.3,27904,2)
;;=^5003153
;;^UTILITY(U,$J,358.3,27905,0)
;;=F11.121^^113^1363^14
;;^UTILITY(U,$J,358.3,27905,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27905,1,3,0)
;;=3^Opioid Intox Delirium w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27905,1,4,0)
;;=4^F11.121
;;^UTILITY(U,$J,358.3,27905,2)
;;=^5003116
;;^UTILITY(U,$J,358.3,27906,0)
;;=F11.221^^113^1363^15
;;^UTILITY(U,$J,358.3,27906,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27906,1,3,0)
;;=3^Opioid Intox Delirium w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27906,1,4,0)
;;=4^F11.221
;;^UTILITY(U,$J,358.3,27906,2)
;;=^5003130
;;^UTILITY(U,$J,358.3,27907,0)
;;=F11.229^^113^1363^20
;;^UTILITY(U,$J,358.3,27907,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27907,1,3,0)
;;=3^Opioid Intox w/o Percep Disturb w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27907,1,4,0)
;;=4^F11.229
;;^UTILITY(U,$J,358.3,27907,2)
;;=^5003132
;;^UTILITY(U,$J,358.3,27908,0)
;;=F11.929^^113^1363^21
;;^UTILITY(U,$J,358.3,27908,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27908,1,3,0)
;;=3^Opioid Intox w/o Percep Disturb w/o Use D/O
;;^UTILITY(U,$J,358.3,27908,1,4,0)
;;=4^F11.929
;;^UTILITY(U,$J,358.3,27908,2)
;;=^5003146
;;^UTILITY(U,$J,358.3,27909,0)
;;=F11.122^^113^1363^17
;;^UTILITY(U,$J,358.3,27909,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27909,1,3,0)
;;=3^Opioid Intox w/ Percep Disturb w/ Mild Use D/O
;;^UTILITY(U,$J,358.3,27909,1,4,0)
;;=4^F11.122
;;^UTILITY(U,$J,358.3,27909,2)
;;=^5003117
;;^UTILITY(U,$J,358.3,27910,0)
;;=F11.222^^113^1363^18
;;^UTILITY(U,$J,358.3,27910,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27910,1,3,0)
;;=3^Opioid Intox w/ Percep Disturb w/ Mod/Sev Use D/O
;;^UTILITY(U,$J,358.3,27910,1,4,0)
;;=4^F11.222
;;^UTILITY(U,$J,358.3,27910,2)
;;=^5003131
;;^UTILITY(U,$J,358.3,27911,0)
;;=F11.922^^113^1363^19
;;^UTILITY(U,$J,358.3,27911,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27911,1,3,0)
;;=3^Opioid Intox w/ Percep Disturb w/o Use D/O
;;^UTILITY(U,$J,358.3,27911,1,4,0)
;;=4^F11.922
;;^UTILITY(U,$J,358.3,27911,2)
;;=^5003145
;;^UTILITY(U,$J,358.3,27912,0)
;;=F11.99^^113^1363^23
;;^UTILITY(U,$J,358.3,27912,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,27912,1,3,0)
;;=3^Opioid Related D/O,Unspec
;;^UTILITY(U,$J,358.3,27912,1,4,0)
;;=4^F11.99
;;^UTILITY(U,$J,358.3,27912,2)
;;=^5133352
;;^UTILITY(U,$J,358.3,27913,0)
;;=F11.21^^113^1363^27
;;^UTILITY(U,$J,358.3,27913,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1QX 3744 printed Dec 13, 2024@02:14:03 Page 2
IBDEI1QX ; ; 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,27901,1,4,0)
+2 ;;=4^F11.281
+3 ;;^UTILITY(U,$J,358.3,27901,2)
+4 ;;=^5003138
+5 ;;^UTILITY(U,$J,358.3,27902,0)
+6 ;;=F11.981^^113^1363^10
+7 ;;^UTILITY(U,$J,358.3,27902,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,27902,1,3,0)
+10 ;;=3^Opioid Induced Sexual Dysfunc w/o Use D/O
+11 ;;^UTILITY(U,$J,358.3,27902,1,4,0)
+12 ;;=4^F11.981
+13 ;;^UTILITY(U,$J,358.3,27902,2)
+14 ;;=^5003152
+15 ;;^UTILITY(U,$J,358.3,27903,0)
+16 ;;=F11.282^^113^1363^12
+17 ;;^UTILITY(U,$J,358.3,27903,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,27903,1,3,0)
+20 ;;=3^Opioid Induced Sleep D/O w/ Mod/Sev Use D/O
+21 ;;^UTILITY(U,$J,358.3,27903,1,4,0)
+22 ;;=4^F11.282
+23 ;;^UTILITY(U,$J,358.3,27903,2)
+24 ;;=^5003139
+25 ;;^UTILITY(U,$J,358.3,27904,0)
+26 ;;=F11.982^^113^1363^13
+27 ;;^UTILITY(U,$J,358.3,27904,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,27904,1,3,0)
+30 ;;=3^Opioid Induced Sleep D/O w/o Use D/O
+31 ;;^UTILITY(U,$J,358.3,27904,1,4,0)
+32 ;;=4^F11.982
+33 ;;^UTILITY(U,$J,358.3,27904,2)
+34 ;;=^5003153
+35 ;;^UTILITY(U,$J,358.3,27905,0)
+36 ;;=F11.121^^113^1363^14
+37 ;;^UTILITY(U,$J,358.3,27905,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,27905,1,3,0)
+40 ;;=3^Opioid Intox Delirium w/ Mild Use D/O
+41 ;;^UTILITY(U,$J,358.3,27905,1,4,0)
+42 ;;=4^F11.121
+43 ;;^UTILITY(U,$J,358.3,27905,2)
+44 ;;=^5003116
+45 ;;^UTILITY(U,$J,358.3,27906,0)
+46 ;;=F11.221^^113^1363^15
+47 ;;^UTILITY(U,$J,358.3,27906,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,27906,1,3,0)
+50 ;;=3^Opioid Intox Delirium w/ Mod/Sev Use D/O
+51 ;;^UTILITY(U,$J,358.3,27906,1,4,0)
+52 ;;=4^F11.221
+53 ;;^UTILITY(U,$J,358.3,27906,2)
+54 ;;=^5003130
+55 ;;^UTILITY(U,$J,358.3,27907,0)
+56 ;;=F11.229^^113^1363^20
+57 ;;^UTILITY(U,$J,358.3,27907,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,27907,1,3,0)
+60 ;;=3^Opioid Intox w/o Percep Disturb w/ Mod/Sev Use D/O
+61 ;;^UTILITY(U,$J,358.3,27907,1,4,0)
+62 ;;=4^F11.229
+63 ;;^UTILITY(U,$J,358.3,27907,2)
+64 ;;=^5003132
+65 ;;^UTILITY(U,$J,358.3,27908,0)
+66 ;;=F11.929^^113^1363^21
+67 ;;^UTILITY(U,$J,358.3,27908,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,27908,1,3,0)
+70 ;;=3^Opioid Intox w/o Percep Disturb w/o Use D/O
+71 ;;^UTILITY(U,$J,358.3,27908,1,4,0)
+72 ;;=4^F11.929
+73 ;;^UTILITY(U,$J,358.3,27908,2)
+74 ;;=^5003146
+75 ;;^UTILITY(U,$J,358.3,27909,0)
+76 ;;=F11.122^^113^1363^17
+77 ;;^UTILITY(U,$J,358.3,27909,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,27909,1,3,0)
+80 ;;=3^Opioid Intox w/ Percep Disturb w/ Mild Use D/O
+81 ;;^UTILITY(U,$J,358.3,27909,1,4,0)
+82 ;;=4^F11.122
+83 ;;^UTILITY(U,$J,358.3,27909,2)
+84 ;;=^5003117
+85 ;;^UTILITY(U,$J,358.3,27910,0)
+86 ;;=F11.222^^113^1363^18
+87 ;;^UTILITY(U,$J,358.3,27910,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,27910,1,3,0)
+90 ;;=3^Opioid Intox w/ Percep Disturb w/ Mod/Sev Use D/O
+91 ;;^UTILITY(U,$J,358.3,27910,1,4,0)
+92 ;;=4^F11.222
+93 ;;^UTILITY(U,$J,358.3,27910,2)
+94 ;;=^5003131
+95 ;;^UTILITY(U,$J,358.3,27911,0)
+96 ;;=F11.922^^113^1363^19
+97 ;;^UTILITY(U,$J,358.3,27911,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,27911,1,3,0)
+100 ;;=3^Opioid Intox w/ Percep Disturb w/o Use D/O
+101 ;;^UTILITY(U,$J,358.3,27911,1,4,0)
+102 ;;=4^F11.922
+103 ;;^UTILITY(U,$J,358.3,27911,2)
+104 ;;=^5003145
+105 ;;^UTILITY(U,$J,358.3,27912,0)
+106 ;;=F11.99^^113^1363^23
+107 ;;^UTILITY(U,$J,358.3,27912,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,27912,1,3,0)
+110 ;;=3^Opioid Related D/O,Unspec
+111 ;;^UTILITY(U,$J,358.3,27912,1,4,0)
+112 ;;=4^F11.99
+113 ;;^UTILITY(U,$J,358.3,27912,2)
+114 ;;=^5133352
+115 ;;^UTILITY(U,$J,358.3,27913,0)
+116 ;;=F11.21^^113^1363^27
+117 ;;^UTILITY(U,$J,358.3,27913,1,0)
+118 ;;=^358.31IA^4^2