IBDEI2EM ; ; 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,38369,1,4,0)
;;=4^S06.6X0A
;;^UTILITY(U,$J,358.3,38369,2)
;;=^5021086
;;^UTILITY(U,$J,358.3,38370,0)
;;=S06.6X2D^^149^1948^50
;;^UTILITY(U,$J,358.3,38370,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38370,1,3,0)
;;=3^Traum subrac hem w LOC of 31-59 min, subs
;;^UTILITY(U,$J,358.3,38370,1,4,0)
;;=4^S06.6X2D
;;^UTILITY(U,$J,358.3,38370,2)
;;=^5021093
;;^UTILITY(U,$J,358.3,38371,0)
;;=S06.6X3D^^149^1948^46
;;^UTILITY(U,$J,358.3,38371,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38371,1,3,0)
;;=3^Traum subrac hem w LOC of 1-5 hrs 59 min, subs
;;^UTILITY(U,$J,358.3,38371,1,4,0)
;;=4^S06.6X3D
;;^UTILITY(U,$J,358.3,38371,2)
;;=^5021096
;;^UTILITY(U,$J,358.3,38372,0)
;;=S06.6X4D^^149^1948^51
;;^UTILITY(U,$J,358.3,38372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38372,1,3,0)
;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, subs
;;^UTILITY(U,$J,358.3,38372,1,4,0)
;;=4^S06.6X4D
;;^UTILITY(U,$J,358.3,38372,2)
;;=^5021099
;;^UTILITY(U,$J,358.3,38373,0)
;;=S06.6X5D^^149^1948^42
;;^UTILITY(U,$J,358.3,38373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38373,1,3,0)
;;=3^Traum subrac hem w LOC >24 hr w ret consc lev, subs
;;^UTILITY(U,$J,358.3,38373,1,4,0)
;;=4^S06.6X5D
;;^UTILITY(U,$J,358.3,38373,2)
;;=^5021102
;;^UTILITY(U,$J,358.3,38374,0)
;;=S06.6X6D^^149^1948^44
;;^UTILITY(U,$J,358.3,38374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38374,1,3,0)
;;=3^Traum subrac hem w LOC >24 hr w/o ret consc w surv, subs
;;^UTILITY(U,$J,358.3,38374,1,4,0)
;;=4^S06.6X6D
;;^UTILITY(U,$J,358.3,38374,2)
;;=^5021105
;;^UTILITY(U,$J,358.3,38375,0)
;;=S06.6X9D^^149^1948^53
;;^UTILITY(U,$J,358.3,38375,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38375,1,3,0)
;;=3^Traum subrac hem w LOC of unsp duration, subs
;;^UTILITY(U,$J,358.3,38375,1,4,0)
;;=4^S06.6X9D
;;^UTILITY(U,$J,358.3,38375,2)
;;=^5021114
;;^UTILITY(U,$J,358.3,38376,0)
;;=S06.6X0S^^149^1948^56
;;^UTILITY(U,$J,358.3,38376,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38376,1,3,0)
;;=3^Traum subrac hem w/o LOC, sequela
;;^UTILITY(U,$J,358.3,38376,1,4,0)
;;=4^S06.6X0S
;;^UTILITY(U,$J,358.3,38376,2)
;;=^5021088
;;^UTILITY(U,$J,358.3,38377,0)
;;=S06.6X1S^^149^1948^48
;;^UTILITY(U,$J,358.3,38377,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38377,1,3,0)
;;=3^Traum subrac hem w LOC of 30 minutes or less, sequela
;;^UTILITY(U,$J,358.3,38377,1,4,0)
;;=4^S06.6X1S
;;^UTILITY(U,$J,358.3,38377,2)
;;=^5021091
;;^UTILITY(U,$J,358.3,38378,0)
;;=S06.6X2S^^149^1948^49
;;^UTILITY(U,$J,358.3,38378,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38378,1,3,0)
;;=3^Traum subrac hem w LOC of 31-59 min, sequela
;;^UTILITY(U,$J,358.3,38378,1,4,0)
;;=4^S06.6X2S
;;^UTILITY(U,$J,358.3,38378,2)
;;=^5021094
;;^UTILITY(U,$J,358.3,38379,0)
;;=S06.6X3S^^149^1948^47
;;^UTILITY(U,$J,358.3,38379,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38379,1,3,0)
;;=3^Traum subrac hem w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,38379,1,4,0)
;;=4^S06.6X3S
;;^UTILITY(U,$J,358.3,38379,2)
;;=^5021097
;;^UTILITY(U,$J,358.3,38380,0)
;;=S06.6X4S^^149^1948^52
;;^UTILITY(U,$J,358.3,38380,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,38380,1,3,0)
;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,38380,1,4,0)
;;=4^S06.6X4S
;;^UTILITY(U,$J,358.3,38380,2)
;;=^5021100
;;^UTILITY(U,$J,358.3,38381,0)
;;=S06.6X5S^^149^1948^43
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2EM 3788 printed Dec 13, 2024@02:27:14 Page 2
IBDEI2EM ; ; 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,38369,1,4,0)
+2 ;;=4^S06.6X0A
+3 ;;^UTILITY(U,$J,358.3,38369,2)
+4 ;;=^5021086
+5 ;;^UTILITY(U,$J,358.3,38370,0)
+6 ;;=S06.6X2D^^149^1948^50
+7 ;;^UTILITY(U,$J,358.3,38370,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,38370,1,3,0)
+10 ;;=3^Traum subrac hem w LOC of 31-59 min, subs
+11 ;;^UTILITY(U,$J,358.3,38370,1,4,0)
+12 ;;=4^S06.6X2D
+13 ;;^UTILITY(U,$J,358.3,38370,2)
+14 ;;=^5021093
+15 ;;^UTILITY(U,$J,358.3,38371,0)
+16 ;;=S06.6X3D^^149^1948^46
+17 ;;^UTILITY(U,$J,358.3,38371,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,38371,1,3,0)
+20 ;;=3^Traum subrac hem w LOC of 1-5 hrs 59 min, subs
+21 ;;^UTILITY(U,$J,358.3,38371,1,4,0)
+22 ;;=4^S06.6X3D
+23 ;;^UTILITY(U,$J,358.3,38371,2)
+24 ;;=^5021096
+25 ;;^UTILITY(U,$J,358.3,38372,0)
+26 ;;=S06.6X4D^^149^1948^51
+27 ;;^UTILITY(U,$J,358.3,38372,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,38372,1,3,0)
+30 ;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, subs
+31 ;;^UTILITY(U,$J,358.3,38372,1,4,0)
+32 ;;=4^S06.6X4D
+33 ;;^UTILITY(U,$J,358.3,38372,2)
+34 ;;=^5021099
+35 ;;^UTILITY(U,$J,358.3,38373,0)
+36 ;;=S06.6X5D^^149^1948^42
+37 ;;^UTILITY(U,$J,358.3,38373,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,38373,1,3,0)
+40 ;;=3^Traum subrac hem w LOC >24 hr w ret consc lev, subs
+41 ;;^UTILITY(U,$J,358.3,38373,1,4,0)
+42 ;;=4^S06.6X5D
+43 ;;^UTILITY(U,$J,358.3,38373,2)
+44 ;;=^5021102
+45 ;;^UTILITY(U,$J,358.3,38374,0)
+46 ;;=S06.6X6D^^149^1948^44
+47 ;;^UTILITY(U,$J,358.3,38374,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,38374,1,3,0)
+50 ;;=3^Traum subrac hem w LOC >24 hr w/o ret consc w surv, subs
+51 ;;^UTILITY(U,$J,358.3,38374,1,4,0)
+52 ;;=4^S06.6X6D
+53 ;;^UTILITY(U,$J,358.3,38374,2)
+54 ;;=^5021105
+55 ;;^UTILITY(U,$J,358.3,38375,0)
+56 ;;=S06.6X9D^^149^1948^53
+57 ;;^UTILITY(U,$J,358.3,38375,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,38375,1,3,0)
+60 ;;=3^Traum subrac hem w LOC of unsp duration, subs
+61 ;;^UTILITY(U,$J,358.3,38375,1,4,0)
+62 ;;=4^S06.6X9D
+63 ;;^UTILITY(U,$J,358.3,38375,2)
+64 ;;=^5021114
+65 ;;^UTILITY(U,$J,358.3,38376,0)
+66 ;;=S06.6X0S^^149^1948^56
+67 ;;^UTILITY(U,$J,358.3,38376,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,38376,1,3,0)
+70 ;;=3^Traum subrac hem w/o LOC, sequela
+71 ;;^UTILITY(U,$J,358.3,38376,1,4,0)
+72 ;;=4^S06.6X0S
+73 ;;^UTILITY(U,$J,358.3,38376,2)
+74 ;;=^5021088
+75 ;;^UTILITY(U,$J,358.3,38377,0)
+76 ;;=S06.6X1S^^149^1948^48
+77 ;;^UTILITY(U,$J,358.3,38377,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,38377,1,3,0)
+80 ;;=3^Traum subrac hem w LOC of 30 minutes or less, sequela
+81 ;;^UTILITY(U,$J,358.3,38377,1,4,0)
+82 ;;=4^S06.6X1S
+83 ;;^UTILITY(U,$J,358.3,38377,2)
+84 ;;=^5021091
+85 ;;^UTILITY(U,$J,358.3,38378,0)
+86 ;;=S06.6X2S^^149^1948^49
+87 ;;^UTILITY(U,$J,358.3,38378,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,38378,1,3,0)
+90 ;;=3^Traum subrac hem w LOC of 31-59 min, sequela
+91 ;;^UTILITY(U,$J,358.3,38378,1,4,0)
+92 ;;=4^S06.6X2S
+93 ;;^UTILITY(U,$J,358.3,38378,2)
+94 ;;=^5021094
+95 ;;^UTILITY(U,$J,358.3,38379,0)
+96 ;;=S06.6X3S^^149^1948^47
+97 ;;^UTILITY(U,$J,358.3,38379,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,38379,1,3,0)
+100 ;;=3^Traum subrac hem w LOC of 1-5 hrs 59 min, sequela
+101 ;;^UTILITY(U,$J,358.3,38379,1,4,0)
+102 ;;=4^S06.6X3S
+103 ;;^UTILITY(U,$J,358.3,38379,2)
+104 ;;=^5021097
+105 ;;^UTILITY(U,$J,358.3,38380,0)
+106 ;;=S06.6X4S^^149^1948^52
+107 ;;^UTILITY(U,$J,358.3,38380,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,38380,1,3,0)
+110 ;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, sequela
+111 ;;^UTILITY(U,$J,358.3,38380,1,4,0)
+112 ;;=4^S06.6X4S
+113 ;;^UTILITY(U,$J,358.3,38380,2)
+114 ;;=^5021100
+115 ;;^UTILITY(U,$J,358.3,38381,0)
+116 ;;=S06.6X5S^^149^1948^43