IBDEI26M ; ; 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,34851,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34851,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 30 minutes or less, init
;;^UTILITY(U,$J,358.3,34851,1,4,0)
;;=4^S06.1X1A
;;^UTILITY(U,$J,358.3,34851,2)
;;=^5020699
;;^UTILITY(U,$J,358.3,34852,0)
;;=S06.1X2A^^137^1786^19
;;^UTILITY(U,$J,358.3,34852,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34852,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 31-59 min, init
;;^UTILITY(U,$J,358.3,34852,1,4,0)
;;=4^S06.1X2A
;;^UTILITY(U,$J,358.3,34852,2)
;;=^5020702
;;^UTILITY(U,$J,358.3,34853,0)
;;=S06.1X4A^^137^1786^20
;;^UTILITY(U,$J,358.3,34853,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34853,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 6 hours to 24 hours, init
;;^UTILITY(U,$J,358.3,34853,1,4,0)
;;=4^S06.1X4A
;;^UTILITY(U,$J,358.3,34853,2)
;;=^5020708
;;^UTILITY(U,$J,358.3,34854,0)
;;=S06.1X7A^^137^1786^22
;;^UTILITY(U,$J,358.3,34854,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34854,1,3,0)
;;=3^Traumatic cerebral edema w LOC w death d/t brain inj bf consc, init
;;^UTILITY(U,$J,358.3,34854,1,4,0)
;;=4^S06.1X7A
;;^UTILITY(U,$J,358.3,34854,2)
;;=^5020717
;;^UTILITY(U,$J,358.3,34855,0)
;;=S06.1X8A^^137^1786^23
;;^UTILITY(U,$J,358.3,34855,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34855,1,3,0)
;;=3^Traumatic cerebral edema w LOC w death d/t oth cause bf consc, init
;;^UTILITY(U,$J,358.3,34855,1,4,0)
;;=4^S06.1X8A
;;^UTILITY(U,$J,358.3,34855,2)
;;=^5020720
;;^UTILITY(U,$J,358.3,34856,0)
;;=S06.1X9A^^137^1786^21
;;^UTILITY(U,$J,358.3,34856,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34856,1,3,0)
;;=3^Traumatic cerebral edema w LOC of unsp duration, init
;;^UTILITY(U,$J,358.3,34856,1,4,0)
;;=4^S06.1X9A
;;^UTILITY(U,$J,358.3,34856,2)
;;=^5020723
;;^UTILITY(U,$J,358.3,34857,0)
;;=S06.1X0A^^137^1786^24
;;^UTILITY(U,$J,358.3,34857,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34857,1,3,0)
;;=3^Traumatic cerebral edema w/o LOC, init
;;^UTILITY(U,$J,358.3,34857,1,4,0)
;;=4^S06.1X0A
;;^UTILITY(U,$J,358.3,34857,2)
;;=^5020696
;;^UTILITY(U,$J,358.3,34858,0)
;;=S06.9X5A^^137^1786^4
;;^UTILITY(U,$J,358.3,34858,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34858,1,3,0)
;;=3^Intcrn inj w LOC >24 hr w ret consc lev, init encntr,Unspec
;;^UTILITY(U,$J,358.3,34858,1,4,0)
;;=4^S06.9X5A
;;^UTILITY(U,$J,358.3,34858,2)
;;=^5021221
;;^UTILITY(U,$J,358.3,34859,0)
;;=S06.9X6A^^137^1786^5
;;^UTILITY(U,$J,358.3,34859,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34859,1,3,0)
;;=3^Intcrn inj w LOC >24 hr w/o ret consc w surv, init encntr,Unspec
;;^UTILITY(U,$J,358.3,34859,1,4,0)
;;=4^S06.9X6A
;;^UTILITY(U,$J,358.3,34859,2)
;;=^5021224
;;^UTILITY(U,$J,358.3,34860,0)
;;=S06.9X3A^^137^1786^6
;;^UTILITY(U,$J,358.3,34860,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34860,1,3,0)
;;=3^Intcrn inj w LOC of 1-5 hrs 59 min, init encntr,Unspec
;;^UTILITY(U,$J,358.3,34860,1,4,0)
;;=4^S06.9X3A
;;^UTILITY(U,$J,358.3,34860,2)
;;=^5021215
;;^UTILITY(U,$J,358.3,34861,0)
;;=S06.9X1A^^137^1786^7
;;^UTILITY(U,$J,358.3,34861,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,34861,1,3,0)
;;=3^Intcrn inj w LOC of 30 minutes or less, init encntr,Unspec
;;^UTILITY(U,$J,358.3,34861,1,4,0)
;;=4^S06.9X1A
;;^UTILITY(U,$J,358.3,34861,2)
;;=^5021209
;;^UTILITY(U,$J,358.3,34862,0)
;;=S06.9X2A^^137^1786^8
;;^UTILITY(U,$J,358.3,34862,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI26M 3780 printed Nov 22, 2024@17:32:58 Page 2
IBDEI26M ; ; 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,34851,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,34851,1,3,0)
+4 ;;=3^Traumatic cerebral edema w LOC of 30 minutes or less, init
+5 ;;^UTILITY(U,$J,358.3,34851,1,4,0)
+6 ;;=4^S06.1X1A
+7 ;;^UTILITY(U,$J,358.3,34851,2)
+8 ;;=^5020699
+9 ;;^UTILITY(U,$J,358.3,34852,0)
+10 ;;=S06.1X2A^^137^1786^19
+11 ;;^UTILITY(U,$J,358.3,34852,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,34852,1,3,0)
+14 ;;=3^Traumatic cerebral edema w LOC of 31-59 min, init
+15 ;;^UTILITY(U,$J,358.3,34852,1,4,0)
+16 ;;=4^S06.1X2A
+17 ;;^UTILITY(U,$J,358.3,34852,2)
+18 ;;=^5020702
+19 ;;^UTILITY(U,$J,358.3,34853,0)
+20 ;;=S06.1X4A^^137^1786^20
+21 ;;^UTILITY(U,$J,358.3,34853,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,34853,1,3,0)
+24 ;;=3^Traumatic cerebral edema w LOC of 6 hours to 24 hours, init
+25 ;;^UTILITY(U,$J,358.3,34853,1,4,0)
+26 ;;=4^S06.1X4A
+27 ;;^UTILITY(U,$J,358.3,34853,2)
+28 ;;=^5020708
+29 ;;^UTILITY(U,$J,358.3,34854,0)
+30 ;;=S06.1X7A^^137^1786^22
+31 ;;^UTILITY(U,$J,358.3,34854,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,34854,1,3,0)
+34 ;;=3^Traumatic cerebral edema w LOC w death d/t brain inj bf consc, init
+35 ;;^UTILITY(U,$J,358.3,34854,1,4,0)
+36 ;;=4^S06.1X7A
+37 ;;^UTILITY(U,$J,358.3,34854,2)
+38 ;;=^5020717
+39 ;;^UTILITY(U,$J,358.3,34855,0)
+40 ;;=S06.1X8A^^137^1786^23
+41 ;;^UTILITY(U,$J,358.3,34855,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,34855,1,3,0)
+44 ;;=3^Traumatic cerebral edema w LOC w death d/t oth cause bf consc, init
+45 ;;^UTILITY(U,$J,358.3,34855,1,4,0)
+46 ;;=4^S06.1X8A
+47 ;;^UTILITY(U,$J,358.3,34855,2)
+48 ;;=^5020720
+49 ;;^UTILITY(U,$J,358.3,34856,0)
+50 ;;=S06.1X9A^^137^1786^21
+51 ;;^UTILITY(U,$J,358.3,34856,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,34856,1,3,0)
+54 ;;=3^Traumatic cerebral edema w LOC of unsp duration, init
+55 ;;^UTILITY(U,$J,358.3,34856,1,4,0)
+56 ;;=4^S06.1X9A
+57 ;;^UTILITY(U,$J,358.3,34856,2)
+58 ;;=^5020723
+59 ;;^UTILITY(U,$J,358.3,34857,0)
+60 ;;=S06.1X0A^^137^1786^24
+61 ;;^UTILITY(U,$J,358.3,34857,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,34857,1,3,0)
+64 ;;=3^Traumatic cerebral edema w/o LOC, init
+65 ;;^UTILITY(U,$J,358.3,34857,1,4,0)
+66 ;;=4^S06.1X0A
+67 ;;^UTILITY(U,$J,358.3,34857,2)
+68 ;;=^5020696
+69 ;;^UTILITY(U,$J,358.3,34858,0)
+70 ;;=S06.9X5A^^137^1786^4
+71 ;;^UTILITY(U,$J,358.3,34858,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,34858,1,3,0)
+74 ;;=3^Intcrn inj w LOC >24 hr w ret consc lev, init encntr,Unspec
+75 ;;^UTILITY(U,$J,358.3,34858,1,4,0)
+76 ;;=4^S06.9X5A
+77 ;;^UTILITY(U,$J,358.3,34858,2)
+78 ;;=^5021221
+79 ;;^UTILITY(U,$J,358.3,34859,0)
+80 ;;=S06.9X6A^^137^1786^5
+81 ;;^UTILITY(U,$J,358.3,34859,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,34859,1,3,0)
+84 ;;=3^Intcrn inj w LOC >24 hr w/o ret consc w surv, init encntr,Unspec
+85 ;;^UTILITY(U,$J,358.3,34859,1,4,0)
+86 ;;=4^S06.9X6A
+87 ;;^UTILITY(U,$J,358.3,34859,2)
+88 ;;=^5021224
+89 ;;^UTILITY(U,$J,358.3,34860,0)
+90 ;;=S06.9X3A^^137^1786^6
+91 ;;^UTILITY(U,$J,358.3,34860,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,34860,1,3,0)
+94 ;;=3^Intcrn inj w LOC of 1-5 hrs 59 min, init encntr,Unspec
+95 ;;^UTILITY(U,$J,358.3,34860,1,4,0)
+96 ;;=4^S06.9X3A
+97 ;;^UTILITY(U,$J,358.3,34860,2)
+98 ;;=^5021215
+99 ;;^UTILITY(U,$J,358.3,34861,0)
+100 ;;=S06.9X1A^^137^1786^7
+101 ;;^UTILITY(U,$J,358.3,34861,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,34861,1,3,0)
+104 ;;=3^Intcrn inj w LOC of 30 minutes or less, init encntr,Unspec
+105 ;;^UTILITY(U,$J,358.3,34861,1,4,0)
+106 ;;=4^S06.9X1A
+107 ;;^UTILITY(U,$J,358.3,34861,2)
+108 ;;=^5021209
+109 ;;^UTILITY(U,$J,358.3,34862,0)
+110 ;;=S06.9X2A^^137^1786^8
+111 ;;^UTILITY(U,$J,358.3,34862,1,0)
+112 ;;=^358.31IA^4^2