IBDEI188 ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,19907,1,3,0)
;;=3^Contus/lac/hem crblm w LOC >24 hr w ret consc lev, sequela
;;^UTILITY(U,$J,358.3,19907,1,4,0)
;;=4^S06.375S
;;^UTILITY(U,$J,358.3,19907,2)
;;=^5020983
;;^UTILITY(U,$J,358.3,19908,0)
;;=S06.376S^^67^882^33
;;^UTILITY(U,$J,358.3,19908,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19908,1,3,0)
;;=3^Contus/lac/hem crblm w LOC >24 hr w/o ret consc w surv, sqla
;;^UTILITY(U,$J,358.3,19908,1,4,0)
;;=4^S06.376S
;;^UTILITY(U,$J,358.3,19908,2)
;;=^5020986
;;^UTILITY(U,$J,358.3,19909,0)
;;=S06.373S^^67^882^34
;;^UTILITY(U,$J,358.3,19909,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19909,1,3,0)
;;=3^Contus/lac/hem crblm w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,19909,1,4,0)
;;=4^S06.373S
;;^UTILITY(U,$J,358.3,19909,2)
;;=^5020977
;;^UTILITY(U,$J,358.3,19910,0)
;;=S06.371S^^67^882^35
;;^UTILITY(U,$J,358.3,19910,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19910,1,3,0)
;;=3^Contus/lac/hem crblm w LOC of 30 minutes or less, sequela
;;^UTILITY(U,$J,358.3,19910,1,4,0)
;;=4^S06.371S
;;^UTILITY(U,$J,358.3,19910,2)
;;=^5020971
;;^UTILITY(U,$J,358.3,19911,0)
;;=S06.372S^^67^882^36
;;^UTILITY(U,$J,358.3,19911,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19911,1,3,0)
;;=3^Contus/lac/hem crblm w LOC of 31-59 min, sequela
;;^UTILITY(U,$J,358.3,19911,1,4,0)
;;=4^S06.372S
;;^UTILITY(U,$J,358.3,19911,2)
;;=^5020974
;;^UTILITY(U,$J,358.3,19912,0)
;;=S06.374S^^67^882^37
;;^UTILITY(U,$J,358.3,19912,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19912,1,3,0)
;;=3^Contus/lac/hem crblm w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,19912,1,4,0)
;;=4^S06.374S
;;^UTILITY(U,$J,358.3,19912,2)
;;=^5020980
;;^UTILITY(U,$J,358.3,19913,0)
;;=S06.379S^^67^882^38
;;^UTILITY(U,$J,358.3,19913,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19913,1,3,0)
;;=3^Contus/lac/hem crblm w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,19913,1,4,0)
;;=4^S06.379S
;;^UTILITY(U,$J,358.3,19913,2)
;;=^5020995
;;^UTILITY(U,$J,358.3,19914,0)
;;=S06.370S^^67^882^39
;;^UTILITY(U,$J,358.3,19914,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19914,1,3,0)
;;=3^Contus/lac/hem crblm w/o LOC, sequela
;;^UTILITY(U,$J,358.3,19914,1,4,0)
;;=4^S06.370S
;;^UTILITY(U,$J,358.3,19914,2)
;;=^5020968
;;^UTILITY(U,$J,358.3,19915,0)
;;=S06.2X5S^^67^882^40
;;^UTILITY(U,$J,358.3,19915,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19915,1,3,0)
;;=3^Diffuse TBI w LOC >24 hr w return to consc levels, sequela
;;^UTILITY(U,$J,358.3,19915,1,4,0)
;;=4^S06.2X5S
;;^UTILITY(U,$J,358.3,19915,2)
;;=^5020743
;;^UTILITY(U,$J,358.3,19916,0)
;;=S06.2X6S^^67^882^41
;;^UTILITY(U,$J,358.3,19916,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19916,1,3,0)
;;=3^Diffuse TBI w LOC >24 hr w/o ret consc w surv, sequela
;;^UTILITY(U,$J,358.3,19916,1,4,0)
;;=4^S06.2X6S
;;^UTILITY(U,$J,358.3,19916,2)
;;=^5020746
;;^UTILITY(U,$J,358.3,19917,0)
;;=S06.2X3S^^67^882^42
;;^UTILITY(U,$J,358.3,19917,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19917,1,3,0)
;;=3^Diffuse TBI w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,19917,1,4,0)
;;=4^S06.2X3S
;;^UTILITY(U,$J,358.3,19917,2)
;;=^5020737
;;^UTILITY(U,$J,358.3,19918,0)
;;=S06.2X1S^^67^882^43
;;^UTILITY(U,$J,358.3,19918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19918,1,3,0)
;;=3^Diffuse TBI w LOC of 30 minutes or less, sequela
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI188 3755 printed Nov 22, 2024@17:13:51 Page 2
IBDEI188 ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,19907,1,3,0)
+2 ;;=3^Contus/lac/hem crblm w LOC >24 hr w ret consc lev, sequela
+3 ;;^UTILITY(U,$J,358.3,19907,1,4,0)
+4 ;;=4^S06.375S
+5 ;;^UTILITY(U,$J,358.3,19907,2)
+6 ;;=^5020983
+7 ;;^UTILITY(U,$J,358.3,19908,0)
+8 ;;=S06.376S^^67^882^33
+9 ;;^UTILITY(U,$J,358.3,19908,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,19908,1,3,0)
+12 ;;=3^Contus/lac/hem crblm w LOC >24 hr w/o ret consc w surv, sqla
+13 ;;^UTILITY(U,$J,358.3,19908,1,4,0)
+14 ;;=4^S06.376S
+15 ;;^UTILITY(U,$J,358.3,19908,2)
+16 ;;=^5020986
+17 ;;^UTILITY(U,$J,358.3,19909,0)
+18 ;;=S06.373S^^67^882^34
+19 ;;^UTILITY(U,$J,358.3,19909,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,19909,1,3,0)
+22 ;;=3^Contus/lac/hem crblm w LOC of 1-5 hrs 59 min, sequela
+23 ;;^UTILITY(U,$J,358.3,19909,1,4,0)
+24 ;;=4^S06.373S
+25 ;;^UTILITY(U,$J,358.3,19909,2)
+26 ;;=^5020977
+27 ;;^UTILITY(U,$J,358.3,19910,0)
+28 ;;=S06.371S^^67^882^35
+29 ;;^UTILITY(U,$J,358.3,19910,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,19910,1,3,0)
+32 ;;=3^Contus/lac/hem crblm w LOC of 30 minutes or less, sequela
+33 ;;^UTILITY(U,$J,358.3,19910,1,4,0)
+34 ;;=4^S06.371S
+35 ;;^UTILITY(U,$J,358.3,19910,2)
+36 ;;=^5020971
+37 ;;^UTILITY(U,$J,358.3,19911,0)
+38 ;;=S06.372S^^67^882^36
+39 ;;^UTILITY(U,$J,358.3,19911,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,19911,1,3,0)
+42 ;;=3^Contus/lac/hem crblm w LOC of 31-59 min, sequela
+43 ;;^UTILITY(U,$J,358.3,19911,1,4,0)
+44 ;;=4^S06.372S
+45 ;;^UTILITY(U,$J,358.3,19911,2)
+46 ;;=^5020974
+47 ;;^UTILITY(U,$J,358.3,19912,0)
+48 ;;=S06.374S^^67^882^37
+49 ;;^UTILITY(U,$J,358.3,19912,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,19912,1,3,0)
+52 ;;=3^Contus/lac/hem crblm w LOC of 6 hours to 24 hours, sequela
+53 ;;^UTILITY(U,$J,358.3,19912,1,4,0)
+54 ;;=4^S06.374S
+55 ;;^UTILITY(U,$J,358.3,19912,2)
+56 ;;=^5020980
+57 ;;^UTILITY(U,$J,358.3,19913,0)
+58 ;;=S06.379S^^67^882^38
+59 ;;^UTILITY(U,$J,358.3,19913,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,19913,1,3,0)
+62 ;;=3^Contus/lac/hem crblm w LOC of unsp duration, sequela
+63 ;;^UTILITY(U,$J,358.3,19913,1,4,0)
+64 ;;=4^S06.379S
+65 ;;^UTILITY(U,$J,358.3,19913,2)
+66 ;;=^5020995
+67 ;;^UTILITY(U,$J,358.3,19914,0)
+68 ;;=S06.370S^^67^882^39
+69 ;;^UTILITY(U,$J,358.3,19914,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,19914,1,3,0)
+72 ;;=3^Contus/lac/hem crblm w/o LOC, sequela
+73 ;;^UTILITY(U,$J,358.3,19914,1,4,0)
+74 ;;=4^S06.370S
+75 ;;^UTILITY(U,$J,358.3,19914,2)
+76 ;;=^5020968
+77 ;;^UTILITY(U,$J,358.3,19915,0)
+78 ;;=S06.2X5S^^67^882^40
+79 ;;^UTILITY(U,$J,358.3,19915,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,19915,1,3,0)
+82 ;;=3^Diffuse TBI w LOC >24 hr w return to consc levels, sequela
+83 ;;^UTILITY(U,$J,358.3,19915,1,4,0)
+84 ;;=4^S06.2X5S
+85 ;;^UTILITY(U,$J,358.3,19915,2)
+86 ;;=^5020743
+87 ;;^UTILITY(U,$J,358.3,19916,0)
+88 ;;=S06.2X6S^^67^882^41
+89 ;;^UTILITY(U,$J,358.3,19916,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,19916,1,3,0)
+92 ;;=3^Diffuse TBI w LOC >24 hr w/o ret consc w surv, sequela
+93 ;;^UTILITY(U,$J,358.3,19916,1,4,0)
+94 ;;=4^S06.2X6S
+95 ;;^UTILITY(U,$J,358.3,19916,2)
+96 ;;=^5020746
+97 ;;^UTILITY(U,$J,358.3,19917,0)
+98 ;;=S06.2X3S^^67^882^42
+99 ;;^UTILITY(U,$J,358.3,19917,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,19917,1,3,0)
+102 ;;=3^Diffuse TBI w LOC of 1-5 hrs 59 min, sequela
+103 ;;^UTILITY(U,$J,358.3,19917,1,4,0)
+104 ;;=4^S06.2X3S
+105 ;;^UTILITY(U,$J,358.3,19917,2)
+106 ;;=^5020737
+107 ;;^UTILITY(U,$J,358.3,19918,0)
+108 ;;=S06.2X1S^^67^882^43
+109 ;;^UTILITY(U,$J,358.3,19918,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,19918,1,3,0)
+112 ;;=3^Diffuse TBI w LOC of 30 minutes or less, sequela