IBDEI2EL ; ; 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,38358,0)
;;=S06.5X0A^^149^1948^40
;;^UTILITY(U,$J,358.3,38358,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38358,1,3,0)
;;=3^Traum subdr hem w/o LOC, init
;;^UTILITY(U,$J,358.3,38358,1,4,0)
;;=4^S06.5X0A
;;^UTILITY(U,$J,358.3,38358,2)
;;=^5021056
;;^UTILITY(U,$J,358.3,38359,0)
;;=S06.5X1A^^149^1948^34
;;^UTILITY(U,$J,358.3,38359,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38359,1,3,0)
;;=3^Traum subdr hem w LOC of 30 minutes or less, init
;;^UTILITY(U,$J,358.3,38359,1,4,0)
;;=4^S06.5X1A
;;^UTILITY(U,$J,358.3,38359,2)
;;=^5021059
;;^UTILITY(U,$J,358.3,38360,0)
;;=S06.5X2A^^149^1948^35
;;^UTILITY(U,$J,358.3,38360,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38360,1,3,0)
;;=3^Traum subdr hem w LOC of 31-59 min, init
;;^UTILITY(U,$J,358.3,38360,1,4,0)
;;=4^S06.5X2A
;;^UTILITY(U,$J,358.3,38360,2)
;;=^5021062
;;^UTILITY(U,$J,358.3,38361,0)
;;=S06.5X3A^^149^1948^33
;;^UTILITY(U,$J,358.3,38361,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38361,1,3,0)
;;=3^Traum subdr hem w LOC of 1-5 hrs 59 min, init
;;^UTILITY(U,$J,358.3,38361,1,4,0)
;;=4^S06.5X3A
;;^UTILITY(U,$J,358.3,38361,2)
;;=^5021065
;;^UTILITY(U,$J,358.3,38362,0)
;;=S06.5X4A^^149^1948^36
;;^UTILITY(U,$J,358.3,38362,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38362,1,3,0)
;;=3^Traum subdr hem w LOC of 6 hours to 24 hours, init
;;^UTILITY(U,$J,358.3,38362,1,4,0)
;;=4^S06.5X4A
;;^UTILITY(U,$J,358.3,38362,2)
;;=^5021068
;;^UTILITY(U,$J,358.3,38363,0)
;;=S06.5X5A^^149^1948^31
;;^UTILITY(U,$J,358.3,38363,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38363,1,3,0)
;;=3^Traum subdr hem w LOC >24 hr w ret consc lev, init
;;^UTILITY(U,$J,358.3,38363,1,4,0)
;;=4^S06.5X5A
;;^UTILITY(U,$J,358.3,38363,2)
;;=^5021071
;;^UTILITY(U,$J,358.3,38364,0)
;;=S06.5X6A^^149^1948^32
;;^UTILITY(U,$J,358.3,38364,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38364,1,3,0)
;;=3^Traum subdr hem w LOC >24 hr w/o ret consc w surv, init
;;^UTILITY(U,$J,358.3,38364,1,4,0)
;;=4^S06.5X6A
;;^UTILITY(U,$J,358.3,38364,2)
;;=^5021074
;;^UTILITY(U,$J,358.3,38365,0)
;;=S06.5X7A^^149^1948^38
;;^UTILITY(U,$J,358.3,38365,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38365,1,3,0)
;;=3^Traum subdr hem w LOC w dth d/t brain inj bef reg consc,init
;;^UTILITY(U,$J,358.3,38365,1,4,0)
;;=4^S06.5X7A
;;^UTILITY(U,$J,358.3,38365,2)
;;=^5021077
;;^UTILITY(U,$J,358.3,38366,0)
;;=S06.5X8A^^149^1948^39
;;^UTILITY(U,$J,358.3,38366,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38366,1,3,0)
;;=3^Traum subdr hem w LOC w dth d/t oth cause bef reg consc,init
;;^UTILITY(U,$J,358.3,38366,1,4,0)
;;=4^S06.5X8A
;;^UTILITY(U,$J,358.3,38366,2)
;;=^5021080
;;^UTILITY(U,$J,358.3,38367,0)
;;=S06.5X0S^^149^1948^41
;;^UTILITY(U,$J,358.3,38367,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38367,1,3,0)
;;=3^Traum subdr hem w/o LOC, sequela
;;^UTILITY(U,$J,358.3,38367,1,4,0)
;;=4^S06.5X0S
;;^UTILITY(U,$J,358.3,38367,2)
;;=^5021058
;;^UTILITY(U,$J,358.3,38368,0)
;;=S06.5X9S^^149^1948^37
;;^UTILITY(U,$J,358.3,38368,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38368,1,3,0)
;;=3^Traum subdr hem w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,38368,1,4,0)
;;=4^S06.5X9S
;;^UTILITY(U,$J,358.3,38368,2)
;;=^5021085
;;^UTILITY(U,$J,358.3,38369,0)
;;=S06.6X0A^^149^1948^55
;;^UTILITY(U,$J,358.3,38369,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38369,1,3,0)
;;=3^Traum subrac hem w/o LOC, init
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2EL 3811 printed Nov 22, 2024@17:37:23 Page 2
IBDEI2EL ; ; 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,38358,0)
+2 ;;=S06.5X0A^^149^1948^40
+3 ;;^UTILITY(U,$J,358.3,38358,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,38358,1,3,0)
+6 ;;=3^Traum subdr hem w/o LOC, init
+7 ;;^UTILITY(U,$J,358.3,38358,1,4,0)
+8 ;;=4^S06.5X0A
+9 ;;^UTILITY(U,$J,358.3,38358,2)
+10 ;;=^5021056
+11 ;;^UTILITY(U,$J,358.3,38359,0)
+12 ;;=S06.5X1A^^149^1948^34
+13 ;;^UTILITY(U,$J,358.3,38359,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,38359,1,3,0)
+16 ;;=3^Traum subdr hem w LOC of 30 minutes or less, init
+17 ;;^UTILITY(U,$J,358.3,38359,1,4,0)
+18 ;;=4^S06.5X1A
+19 ;;^UTILITY(U,$J,358.3,38359,2)
+20 ;;=^5021059
+21 ;;^UTILITY(U,$J,358.3,38360,0)
+22 ;;=S06.5X2A^^149^1948^35
+23 ;;^UTILITY(U,$J,358.3,38360,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,38360,1,3,0)
+26 ;;=3^Traum subdr hem w LOC of 31-59 min, init
+27 ;;^UTILITY(U,$J,358.3,38360,1,4,0)
+28 ;;=4^S06.5X2A
+29 ;;^UTILITY(U,$J,358.3,38360,2)
+30 ;;=^5021062
+31 ;;^UTILITY(U,$J,358.3,38361,0)
+32 ;;=S06.5X3A^^149^1948^33
+33 ;;^UTILITY(U,$J,358.3,38361,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,38361,1,3,0)
+36 ;;=3^Traum subdr hem w LOC of 1-5 hrs 59 min, init
+37 ;;^UTILITY(U,$J,358.3,38361,1,4,0)
+38 ;;=4^S06.5X3A
+39 ;;^UTILITY(U,$J,358.3,38361,2)
+40 ;;=^5021065
+41 ;;^UTILITY(U,$J,358.3,38362,0)
+42 ;;=S06.5X4A^^149^1948^36
+43 ;;^UTILITY(U,$J,358.3,38362,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,38362,1,3,0)
+46 ;;=3^Traum subdr hem w LOC of 6 hours to 24 hours, init
+47 ;;^UTILITY(U,$J,358.3,38362,1,4,0)
+48 ;;=4^S06.5X4A
+49 ;;^UTILITY(U,$J,358.3,38362,2)
+50 ;;=^5021068
+51 ;;^UTILITY(U,$J,358.3,38363,0)
+52 ;;=S06.5X5A^^149^1948^31
+53 ;;^UTILITY(U,$J,358.3,38363,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,38363,1,3,0)
+56 ;;=3^Traum subdr hem w LOC >24 hr w ret consc lev, init
+57 ;;^UTILITY(U,$J,358.3,38363,1,4,0)
+58 ;;=4^S06.5X5A
+59 ;;^UTILITY(U,$J,358.3,38363,2)
+60 ;;=^5021071
+61 ;;^UTILITY(U,$J,358.3,38364,0)
+62 ;;=S06.5X6A^^149^1948^32
+63 ;;^UTILITY(U,$J,358.3,38364,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,38364,1,3,0)
+66 ;;=3^Traum subdr hem w LOC >24 hr w/o ret consc w surv, init
+67 ;;^UTILITY(U,$J,358.3,38364,1,4,0)
+68 ;;=4^S06.5X6A
+69 ;;^UTILITY(U,$J,358.3,38364,2)
+70 ;;=^5021074
+71 ;;^UTILITY(U,$J,358.3,38365,0)
+72 ;;=S06.5X7A^^149^1948^38
+73 ;;^UTILITY(U,$J,358.3,38365,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,38365,1,3,0)
+76 ;;=3^Traum subdr hem w LOC w dth d/t brain inj bef reg consc,init
+77 ;;^UTILITY(U,$J,358.3,38365,1,4,0)
+78 ;;=4^S06.5X7A
+79 ;;^UTILITY(U,$J,358.3,38365,2)
+80 ;;=^5021077
+81 ;;^UTILITY(U,$J,358.3,38366,0)
+82 ;;=S06.5X8A^^149^1948^39
+83 ;;^UTILITY(U,$J,358.3,38366,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,38366,1,3,0)
+86 ;;=3^Traum subdr hem w LOC w dth d/t oth cause bef reg consc,init
+87 ;;^UTILITY(U,$J,358.3,38366,1,4,0)
+88 ;;=4^S06.5X8A
+89 ;;^UTILITY(U,$J,358.3,38366,2)
+90 ;;=^5021080
+91 ;;^UTILITY(U,$J,358.3,38367,0)
+92 ;;=S06.5X0S^^149^1948^41
+93 ;;^UTILITY(U,$J,358.3,38367,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,38367,1,3,0)
+96 ;;=3^Traum subdr hem w/o LOC, sequela
+97 ;;^UTILITY(U,$J,358.3,38367,1,4,0)
+98 ;;=4^S06.5X0S
+99 ;;^UTILITY(U,$J,358.3,38367,2)
+100 ;;=^5021058
+101 ;;^UTILITY(U,$J,358.3,38368,0)
+102 ;;=S06.5X9S^^149^1948^37
+103 ;;^UTILITY(U,$J,358.3,38368,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,38368,1,3,0)
+106 ;;=3^Traum subdr hem w LOC of unsp duration, sequela
+107 ;;^UTILITY(U,$J,358.3,38368,1,4,0)
+108 ;;=4^S06.5X9S
+109 ;;^UTILITY(U,$J,358.3,38368,2)
+110 ;;=^5021085
+111 ;;^UTILITY(U,$J,358.3,38369,0)
+112 ;;=S06.6X0A^^149^1948^55
+113 ;;^UTILITY(U,$J,358.3,38369,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,38369,1,3,0)
+116 ;;=3^Traum subrac hem w/o LOC, init