IBDEI187 ; ; 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,19896,0)
;;=S06.314S^^67^882^21
;;^UTILITY(U,$J,358.3,19896,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19896,1,3,0)
;;=3^Contus/lac right cerebrum w LOC of 6-24 hrs, sequela
;;^UTILITY(U,$J,358.3,19896,1,4,0)
;;=4^S06.314S
;;^UTILITY(U,$J,358.3,19896,2)
;;=^5020800
;;^UTILITY(U,$J,358.3,19897,0)
;;=S06.319S^^67^882^22
;;^UTILITY(U,$J,358.3,19897,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19897,1,3,0)
;;=3^Contus/lac right cerebrum w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,19897,1,4,0)
;;=4^S06.319S
;;^UTILITY(U,$J,358.3,19897,2)
;;=^5020815
;;^UTILITY(U,$J,358.3,19898,0)
;;=S06.310S^^67^882^23
;;^UTILITY(U,$J,358.3,19898,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19898,1,3,0)
;;=3^Contus/lac right cerebrum w/o LOC, sequela
;;^UTILITY(U,$J,358.3,19898,1,4,0)
;;=4^S06.310S
;;^UTILITY(U,$J,358.3,19898,2)
;;=^5020788
;;^UTILITY(U,$J,358.3,19899,0)
;;=S06.385S^^67^882^24
;;^UTILITY(U,$J,358.3,19899,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19899,1,3,0)
;;=3^Contus/lac/hem brnst w LOC >24 hr w ret consc lev, sequela
;;^UTILITY(U,$J,358.3,19899,1,4,0)
;;=4^S06.385S
;;^UTILITY(U,$J,358.3,19899,2)
;;=^5021013
;;^UTILITY(U,$J,358.3,19900,0)
;;=S06.386S^^67^882^25
;;^UTILITY(U,$J,358.3,19900,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19900,1,3,0)
;;=3^Contus/lac/hem brnst w LOC >24 hr w/o ret consc w surv, sqla
;;^UTILITY(U,$J,358.3,19900,1,4,0)
;;=4^S06.386S
;;^UTILITY(U,$J,358.3,19900,2)
;;=^5021016
;;^UTILITY(U,$J,358.3,19901,0)
;;=S06.383S^^67^882^26
;;^UTILITY(U,$J,358.3,19901,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19901,1,3,0)
;;=3^Contus/lac/hem brnst w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,19901,1,4,0)
;;=4^S06.383S
;;^UTILITY(U,$J,358.3,19901,2)
;;=^5021007
;;^UTILITY(U,$J,358.3,19902,0)
;;=S06.381S^^67^882^27
;;^UTILITY(U,$J,358.3,19902,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19902,1,3,0)
;;=3^Contus/lac/hem brnst w LOC of 30 minutes or less, sequela
;;^UTILITY(U,$J,358.3,19902,1,4,0)
;;=4^S06.381S
;;^UTILITY(U,$J,358.3,19902,2)
;;=^5021001
;;^UTILITY(U,$J,358.3,19903,0)
;;=S06.382S^^67^882^28
;;^UTILITY(U,$J,358.3,19903,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19903,1,3,0)
;;=3^Contus/lac/hem brnst w LOC of 31-59 min, sequela
;;^UTILITY(U,$J,358.3,19903,1,4,0)
;;=4^S06.382S
;;^UTILITY(U,$J,358.3,19903,2)
;;=^5021004
;;^UTILITY(U,$J,358.3,19904,0)
;;=S06.384S^^67^882^29
;;^UTILITY(U,$J,358.3,19904,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19904,1,3,0)
;;=3^Contus/lac/hem brnst w LOC of 6-24 hrs, sequela
;;^UTILITY(U,$J,358.3,19904,1,4,0)
;;=4^S06.384S
;;^UTILITY(U,$J,358.3,19904,2)
;;=^5021010
;;^UTILITY(U,$J,358.3,19905,0)
;;=S06.389S^^67^882^30
;;^UTILITY(U,$J,358.3,19905,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19905,1,3,0)
;;=3^Contus/lac/hem brnst w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,19905,1,4,0)
;;=4^S06.389S
;;^UTILITY(U,$J,358.3,19905,2)
;;=^5021025
;;^UTILITY(U,$J,358.3,19906,0)
;;=S06.380S^^67^882^31
;;^UTILITY(U,$J,358.3,19906,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,19906,1,3,0)
;;=3^Contus/lac/hem brnst w/o LOC, sequela
;;^UTILITY(U,$J,358.3,19906,1,4,0)
;;=4^S06.380S
;;^UTILITY(U,$J,358.3,19906,2)
;;=^5020998
;;^UTILITY(U,$J,358.3,19907,0)
;;=S06.375S^^67^882^32
;;^UTILITY(U,$J,358.3,19907,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI187 3758 printed Nov 22, 2024@17:13:50 Page 2
IBDEI187 ; ; 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,19896,0)
+2 ;;=S06.314S^^67^882^21
+3 ;;^UTILITY(U,$J,358.3,19896,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,19896,1,3,0)
+6 ;;=3^Contus/lac right cerebrum w LOC of 6-24 hrs, sequela
+7 ;;^UTILITY(U,$J,358.3,19896,1,4,0)
+8 ;;=4^S06.314S
+9 ;;^UTILITY(U,$J,358.3,19896,2)
+10 ;;=^5020800
+11 ;;^UTILITY(U,$J,358.3,19897,0)
+12 ;;=S06.319S^^67^882^22
+13 ;;^UTILITY(U,$J,358.3,19897,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,19897,1,3,0)
+16 ;;=3^Contus/lac right cerebrum w LOC of unsp duration, sequela
+17 ;;^UTILITY(U,$J,358.3,19897,1,4,0)
+18 ;;=4^S06.319S
+19 ;;^UTILITY(U,$J,358.3,19897,2)
+20 ;;=^5020815
+21 ;;^UTILITY(U,$J,358.3,19898,0)
+22 ;;=S06.310S^^67^882^23
+23 ;;^UTILITY(U,$J,358.3,19898,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,19898,1,3,0)
+26 ;;=3^Contus/lac right cerebrum w/o LOC, sequela
+27 ;;^UTILITY(U,$J,358.3,19898,1,4,0)
+28 ;;=4^S06.310S
+29 ;;^UTILITY(U,$J,358.3,19898,2)
+30 ;;=^5020788
+31 ;;^UTILITY(U,$J,358.3,19899,0)
+32 ;;=S06.385S^^67^882^24
+33 ;;^UTILITY(U,$J,358.3,19899,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,19899,1,3,0)
+36 ;;=3^Contus/lac/hem brnst w LOC >24 hr w ret consc lev, sequela
+37 ;;^UTILITY(U,$J,358.3,19899,1,4,0)
+38 ;;=4^S06.385S
+39 ;;^UTILITY(U,$J,358.3,19899,2)
+40 ;;=^5021013
+41 ;;^UTILITY(U,$J,358.3,19900,0)
+42 ;;=S06.386S^^67^882^25
+43 ;;^UTILITY(U,$J,358.3,19900,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,19900,1,3,0)
+46 ;;=3^Contus/lac/hem brnst w LOC >24 hr w/o ret consc w surv, sqla
+47 ;;^UTILITY(U,$J,358.3,19900,1,4,0)
+48 ;;=4^S06.386S
+49 ;;^UTILITY(U,$J,358.3,19900,2)
+50 ;;=^5021016
+51 ;;^UTILITY(U,$J,358.3,19901,0)
+52 ;;=S06.383S^^67^882^26
+53 ;;^UTILITY(U,$J,358.3,19901,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,19901,1,3,0)
+56 ;;=3^Contus/lac/hem brnst w LOC of 1-5 hrs 59 min, sequela
+57 ;;^UTILITY(U,$J,358.3,19901,1,4,0)
+58 ;;=4^S06.383S
+59 ;;^UTILITY(U,$J,358.3,19901,2)
+60 ;;=^5021007
+61 ;;^UTILITY(U,$J,358.3,19902,0)
+62 ;;=S06.381S^^67^882^27
+63 ;;^UTILITY(U,$J,358.3,19902,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,19902,1,3,0)
+66 ;;=3^Contus/lac/hem brnst w LOC of 30 minutes or less, sequela
+67 ;;^UTILITY(U,$J,358.3,19902,1,4,0)
+68 ;;=4^S06.381S
+69 ;;^UTILITY(U,$J,358.3,19902,2)
+70 ;;=^5021001
+71 ;;^UTILITY(U,$J,358.3,19903,0)
+72 ;;=S06.382S^^67^882^28
+73 ;;^UTILITY(U,$J,358.3,19903,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,19903,1,3,0)
+76 ;;=3^Contus/lac/hem brnst w LOC of 31-59 min, sequela
+77 ;;^UTILITY(U,$J,358.3,19903,1,4,0)
+78 ;;=4^S06.382S
+79 ;;^UTILITY(U,$J,358.3,19903,2)
+80 ;;=^5021004
+81 ;;^UTILITY(U,$J,358.3,19904,0)
+82 ;;=S06.384S^^67^882^29
+83 ;;^UTILITY(U,$J,358.3,19904,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,19904,1,3,0)
+86 ;;=3^Contus/lac/hem brnst w LOC of 6-24 hrs, sequela
+87 ;;^UTILITY(U,$J,358.3,19904,1,4,0)
+88 ;;=4^S06.384S
+89 ;;^UTILITY(U,$J,358.3,19904,2)
+90 ;;=^5021010
+91 ;;^UTILITY(U,$J,358.3,19905,0)
+92 ;;=S06.389S^^67^882^30
+93 ;;^UTILITY(U,$J,358.3,19905,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,19905,1,3,0)
+96 ;;=3^Contus/lac/hem brnst w LOC of unsp duration, sequela
+97 ;;^UTILITY(U,$J,358.3,19905,1,4,0)
+98 ;;=4^S06.389S
+99 ;;^UTILITY(U,$J,358.3,19905,2)
+100 ;;=^5021025
+101 ;;^UTILITY(U,$J,358.3,19906,0)
+102 ;;=S06.380S^^67^882^31
+103 ;;^UTILITY(U,$J,358.3,19906,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,19906,1,3,0)
+106 ;;=3^Contus/lac/hem brnst w/o LOC, sequela
+107 ;;^UTILITY(U,$J,358.3,19906,1,4,0)
+108 ;;=4^S06.380S
+109 ;;^UTILITY(U,$J,358.3,19906,2)
+110 ;;=^5020998
+111 ;;^UTILITY(U,$J,358.3,19907,0)
+112 ;;=S06.375S^^67^882^32
+113 ;;^UTILITY(U,$J,358.3,19907,1,0)
+114 ;;=^358.31IA^4^2