IBDEI2MR ; ; 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,41991,1,4,0)
;;=4^S06.2X2S
;;^UTILITY(U,$J,358.3,41991,2)
;;=^5020734
;;^UTILITY(U,$J,358.3,41992,0)
;;=S06.2X4S^^155^2066^45
;;^UTILITY(U,$J,358.3,41992,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41992,1,3,0)
;;=3^Diffuse TBI w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,41992,1,4,0)
;;=4^S06.2X4S
;;^UTILITY(U,$J,358.3,41992,2)
;;=^5020740
;;^UTILITY(U,$J,358.3,41993,0)
;;=S06.2X9S^^155^2066^46
;;^UTILITY(U,$J,358.3,41993,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41993,1,3,0)
;;=3^Diffuse TBI w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,41993,1,4,0)
;;=4^S06.2X9S
;;^UTILITY(U,$J,358.3,41993,2)
;;=^5020755
;;^UTILITY(U,$J,358.3,41994,0)
;;=S06.2X0S^^155^2066^47
;;^UTILITY(U,$J,358.3,41994,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41994,1,3,0)
;;=3^Diffuse TBI w/o LOC, sequela
;;^UTILITY(U,$J,358.3,41994,1,4,0)
;;=4^S06.2X0S
;;^UTILITY(U,$J,358.3,41994,2)
;;=^5020728
;;^UTILITY(U,$J,358.3,41995,0)
;;=S06.4X5S^^155^2066^48
;;^UTILITY(U,$J,358.3,41995,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41995,1,3,0)
;;=3^Epidural hemorrhage w LOC >24 hr w ret consc lev, sequela
;;^UTILITY(U,$J,358.3,41995,1,4,0)
;;=4^S06.4X5S
;;^UTILITY(U,$J,358.3,41995,2)
;;=^5021043
;;^UTILITY(U,$J,358.3,41996,0)
;;=S06.4X6S^^155^2066^49
;;^UTILITY(U,$J,358.3,41996,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41996,1,3,0)
;;=3^Epidural hemorrhage w LOC >24 hr w/o ret consc w surv, sequela
;;^UTILITY(U,$J,358.3,41996,1,4,0)
;;=4^S06.4X6S
;;^UTILITY(U,$J,358.3,41996,2)
;;=^5021046
;;^UTILITY(U,$J,358.3,41997,0)
;;=S06.4X3S^^155^2066^50
;;^UTILITY(U,$J,358.3,41997,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41997,1,3,0)
;;=3^Epidural hemorrhage w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,41997,1,4,0)
;;=4^S06.4X3S
;;^UTILITY(U,$J,358.3,41997,2)
;;=^5021037
;;^UTILITY(U,$J,358.3,41998,0)
;;=S06.4X1S^^155^2066^51
;;^UTILITY(U,$J,358.3,41998,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41998,1,3,0)
;;=3^Epidural hemorrhage w LOC of 30 minutes or less, sequela
;;^UTILITY(U,$J,358.3,41998,1,4,0)
;;=4^S06.4X1S
;;^UTILITY(U,$J,358.3,41998,2)
;;=^5021031
;;^UTILITY(U,$J,358.3,41999,0)
;;=S06.4X2S^^155^2066^52
;;^UTILITY(U,$J,358.3,41999,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,41999,1,3,0)
;;=3^Epidural hemorrhage w LOC of 31-59 min, sequela
;;^UTILITY(U,$J,358.3,41999,1,4,0)
;;=4^S06.4X2S
;;^UTILITY(U,$J,358.3,41999,2)
;;=^5021034
;;^UTILITY(U,$J,358.3,42000,0)
;;=S06.4X4S^^155^2066^53
;;^UTILITY(U,$J,358.3,42000,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42000,1,3,0)
;;=3^Epidural hemorrhage w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,42000,1,4,0)
;;=4^S06.4X4S
;;^UTILITY(U,$J,358.3,42000,2)
;;=^5021040
;;^UTILITY(U,$J,358.3,42001,0)
;;=S06.4X9S^^155^2066^54
;;^UTILITY(U,$J,358.3,42001,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42001,1,3,0)
;;=3^Epidural hemorrhage w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,42001,1,4,0)
;;=4^S06.4X9S
;;^UTILITY(U,$J,358.3,42001,2)
;;=^5021055
;;^UTILITY(U,$J,358.3,42002,0)
;;=S06.4X0S^^155^2066^55
;;^UTILITY(U,$J,358.3,42002,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42002,1,3,0)
;;=3^Epidural hemorrhage without LOC, sequela
;;^UTILITY(U,$J,358.3,42002,1,4,0)
;;=4^S06.4X0S
;;^UTILITY(U,$J,358.3,42002,2)
;;=^5021028
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2MR 3747 printed Dec 13, 2024@02:31:46 Page 2
IBDEI2MR ; ; 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,41991,1,4,0)
+2 ;;=4^S06.2X2S
+3 ;;^UTILITY(U,$J,358.3,41991,2)
+4 ;;=^5020734
+5 ;;^UTILITY(U,$J,358.3,41992,0)
+6 ;;=S06.2X4S^^155^2066^45
+7 ;;^UTILITY(U,$J,358.3,41992,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,41992,1,3,0)
+10 ;;=3^Diffuse TBI w LOC of 6 hours to 24 hours, sequela
+11 ;;^UTILITY(U,$J,358.3,41992,1,4,0)
+12 ;;=4^S06.2X4S
+13 ;;^UTILITY(U,$J,358.3,41992,2)
+14 ;;=^5020740
+15 ;;^UTILITY(U,$J,358.3,41993,0)
+16 ;;=S06.2X9S^^155^2066^46
+17 ;;^UTILITY(U,$J,358.3,41993,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,41993,1,3,0)
+20 ;;=3^Diffuse TBI w LOC of unsp duration, sequela
+21 ;;^UTILITY(U,$J,358.3,41993,1,4,0)
+22 ;;=4^S06.2X9S
+23 ;;^UTILITY(U,$J,358.3,41993,2)
+24 ;;=^5020755
+25 ;;^UTILITY(U,$J,358.3,41994,0)
+26 ;;=S06.2X0S^^155^2066^47
+27 ;;^UTILITY(U,$J,358.3,41994,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,41994,1,3,0)
+30 ;;=3^Diffuse TBI w/o LOC, sequela
+31 ;;^UTILITY(U,$J,358.3,41994,1,4,0)
+32 ;;=4^S06.2X0S
+33 ;;^UTILITY(U,$J,358.3,41994,2)
+34 ;;=^5020728
+35 ;;^UTILITY(U,$J,358.3,41995,0)
+36 ;;=S06.4X5S^^155^2066^48
+37 ;;^UTILITY(U,$J,358.3,41995,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,41995,1,3,0)
+40 ;;=3^Epidural hemorrhage w LOC >24 hr w ret consc lev, sequela
+41 ;;^UTILITY(U,$J,358.3,41995,1,4,0)
+42 ;;=4^S06.4X5S
+43 ;;^UTILITY(U,$J,358.3,41995,2)
+44 ;;=^5021043
+45 ;;^UTILITY(U,$J,358.3,41996,0)
+46 ;;=S06.4X6S^^155^2066^49
+47 ;;^UTILITY(U,$J,358.3,41996,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,41996,1,3,0)
+50 ;;=3^Epidural hemorrhage w LOC >24 hr w/o ret consc w surv, sequela
+51 ;;^UTILITY(U,$J,358.3,41996,1,4,0)
+52 ;;=4^S06.4X6S
+53 ;;^UTILITY(U,$J,358.3,41996,2)
+54 ;;=^5021046
+55 ;;^UTILITY(U,$J,358.3,41997,0)
+56 ;;=S06.4X3S^^155^2066^50
+57 ;;^UTILITY(U,$J,358.3,41997,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,41997,1,3,0)
+60 ;;=3^Epidural hemorrhage w LOC of 1-5 hrs 59 min, sequela
+61 ;;^UTILITY(U,$J,358.3,41997,1,4,0)
+62 ;;=4^S06.4X3S
+63 ;;^UTILITY(U,$J,358.3,41997,2)
+64 ;;=^5021037
+65 ;;^UTILITY(U,$J,358.3,41998,0)
+66 ;;=S06.4X1S^^155^2066^51
+67 ;;^UTILITY(U,$J,358.3,41998,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,41998,1,3,0)
+70 ;;=3^Epidural hemorrhage w LOC of 30 minutes or less, sequela
+71 ;;^UTILITY(U,$J,358.3,41998,1,4,0)
+72 ;;=4^S06.4X1S
+73 ;;^UTILITY(U,$J,358.3,41998,2)
+74 ;;=^5021031
+75 ;;^UTILITY(U,$J,358.3,41999,0)
+76 ;;=S06.4X2S^^155^2066^52
+77 ;;^UTILITY(U,$J,358.3,41999,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,41999,1,3,0)
+80 ;;=3^Epidural hemorrhage w LOC of 31-59 min, sequela
+81 ;;^UTILITY(U,$J,358.3,41999,1,4,0)
+82 ;;=4^S06.4X2S
+83 ;;^UTILITY(U,$J,358.3,41999,2)
+84 ;;=^5021034
+85 ;;^UTILITY(U,$J,358.3,42000,0)
+86 ;;=S06.4X4S^^155^2066^53
+87 ;;^UTILITY(U,$J,358.3,42000,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,42000,1,3,0)
+90 ;;=3^Epidural hemorrhage w LOC of 6 hours to 24 hours, sequela
+91 ;;^UTILITY(U,$J,358.3,42000,1,4,0)
+92 ;;=4^S06.4X4S
+93 ;;^UTILITY(U,$J,358.3,42000,2)
+94 ;;=^5021040
+95 ;;^UTILITY(U,$J,358.3,42001,0)
+96 ;;=S06.4X9S^^155^2066^54
+97 ;;^UTILITY(U,$J,358.3,42001,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,42001,1,3,0)
+100 ;;=3^Epidural hemorrhage w LOC of unsp duration, sequela
+101 ;;^UTILITY(U,$J,358.3,42001,1,4,0)
+102 ;;=4^S06.4X9S
+103 ;;^UTILITY(U,$J,358.3,42001,2)
+104 ;;=^5021055
+105 ;;^UTILITY(U,$J,358.3,42002,0)
+106 ;;=S06.4X0S^^155^2066^55
+107 ;;^UTILITY(U,$J,358.3,42002,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,42002,1,3,0)
+110 ;;=3^Epidural hemorrhage without LOC, sequela
+111 ;;^UTILITY(U,$J,358.3,42002,1,4,0)
+112 ;;=4^S06.4X0S
+113 ;;^UTILITY(U,$J,358.3,42002,2)
+114 ;;=^5021028