IBDEI2MW ; ; 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,42047,1,4,0)
;;=4^S06.6X2S
;;^UTILITY(U,$J,358.3,42047,2)
;;=^5021094
;;^UTILITY(U,$J,358.3,42048,0)
;;=S06.6X4S^^155^2066^104
;;^UTILITY(U,$J,358.3,42048,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42048,1,3,0)
;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,42048,1,4,0)
;;=4^S06.6X4S
;;^UTILITY(U,$J,358.3,42048,2)
;;=^5021100
;;^UTILITY(U,$J,358.3,42049,0)
;;=S06.6X9S^^155^2066^105
;;^UTILITY(U,$J,358.3,42049,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42049,1,3,0)
;;=3^Traum subrac hem w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,42049,1,4,0)
;;=4^S06.6X9S
;;^UTILITY(U,$J,358.3,42049,2)
;;=^5021115
;;^UTILITY(U,$J,358.3,42050,0)
;;=S06.6X0S^^155^2066^106
;;^UTILITY(U,$J,358.3,42050,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42050,1,3,0)
;;=3^Traum subrac hem w/o LOC, sequela
;;^UTILITY(U,$J,358.3,42050,1,4,0)
;;=4^S06.6X0S
;;^UTILITY(U,$J,358.3,42050,2)
;;=^5021088
;;^UTILITY(U,$J,358.3,42051,0)
;;=S06.5X5S^^155^2066^91
;;^UTILITY(U,$J,358.3,42051,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42051,1,3,0)
;;=3^Traum subdr hem w LOC >24 hr w ret consc lev, sequela
;;^UTILITY(U,$J,358.3,42051,1,4,0)
;;=4^S06.5X5S
;;^UTILITY(U,$J,358.3,42051,2)
;;=^5021073
;;^UTILITY(U,$J,358.3,42052,0)
;;=S06.5X6S^^155^2066^92
;;^UTILITY(U,$J,358.3,42052,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42052,1,3,0)
;;=3^Traum subdr hem w LOC >24 hr w/o ret consc w surv, sequela
;;^UTILITY(U,$J,358.3,42052,1,4,0)
;;=4^S06.5X6S
;;^UTILITY(U,$J,358.3,42052,2)
;;=^5021076
;;^UTILITY(U,$J,358.3,42053,0)
;;=S06.5X3S^^155^2066^93
;;^UTILITY(U,$J,358.3,42053,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42053,1,3,0)
;;=3^Traum subdr hem w LOC of 1-5 hrs 59 min, sequela
;;^UTILITY(U,$J,358.3,42053,1,4,0)
;;=4^S06.5X3S
;;^UTILITY(U,$J,358.3,42053,2)
;;=^5021067
;;^UTILITY(U,$J,358.3,42054,0)
;;=S06.5X1S^^155^2066^94
;;^UTILITY(U,$J,358.3,42054,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42054,1,3,0)
;;=3^Traum subdr hem w LOC of 30 minutes or less, sequela
;;^UTILITY(U,$J,358.3,42054,1,4,0)
;;=4^S06.5X1S
;;^UTILITY(U,$J,358.3,42054,2)
;;=^5021061
;;^UTILITY(U,$J,358.3,42055,0)
;;=S06.5X2S^^155^2066^95
;;^UTILITY(U,$J,358.3,42055,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42055,1,3,0)
;;=3^Traum subdr hem w LOC of 31-59 min, sequela
;;^UTILITY(U,$J,358.3,42055,1,4,0)
;;=4^S06.5X2S
;;^UTILITY(U,$J,358.3,42055,2)
;;=^5021064
;;^UTILITY(U,$J,358.3,42056,0)
;;=S06.5X4S^^155^2066^96
;;^UTILITY(U,$J,358.3,42056,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42056,1,3,0)
;;=3^Traum subdr hem w LOC of 6 hours to 24 hours, sequela
;;^UTILITY(U,$J,358.3,42056,1,4,0)
;;=4^S06.5X4S
;;^UTILITY(U,$J,358.3,42056,2)
;;=^5021070
;;^UTILITY(U,$J,358.3,42057,0)
;;=S06.5X9S^^155^2066^97
;;^UTILITY(U,$J,358.3,42057,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42057,1,3,0)
;;=3^Traum subdr hem w LOC of unsp duration, sequela
;;^UTILITY(U,$J,358.3,42057,1,4,0)
;;=4^S06.5X9S
;;^UTILITY(U,$J,358.3,42057,2)
;;=^5021085
;;^UTILITY(U,$J,358.3,42058,0)
;;=S06.5X0S^^155^2066^98
;;^UTILITY(U,$J,358.3,42058,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,42058,1,3,0)
;;=3^Traum subdr hem w/o LOC, sequela
;;^UTILITY(U,$J,358.3,42058,1,4,0)
;;=4^S06.5X0S
;;^UTILITY(U,$J,358.3,42058,2)
;;=^5021058
;;^UTILITY(U,$J,358.3,42059,0)
;;=M84.351S^^155^2067^114
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2MW 3790 printed Dec 13, 2024@02:31:51 Page 2
IBDEI2MW ; ; 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,42047,1,4,0)
+2 ;;=4^S06.6X2S
+3 ;;^UTILITY(U,$J,358.3,42047,2)
+4 ;;=^5021094
+5 ;;^UTILITY(U,$J,358.3,42048,0)
+6 ;;=S06.6X4S^^155^2066^104
+7 ;;^UTILITY(U,$J,358.3,42048,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,42048,1,3,0)
+10 ;;=3^Traum subrac hem w LOC of 6 hours to 24 hours, sequela
+11 ;;^UTILITY(U,$J,358.3,42048,1,4,0)
+12 ;;=4^S06.6X4S
+13 ;;^UTILITY(U,$J,358.3,42048,2)
+14 ;;=^5021100
+15 ;;^UTILITY(U,$J,358.3,42049,0)
+16 ;;=S06.6X9S^^155^2066^105
+17 ;;^UTILITY(U,$J,358.3,42049,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,42049,1,3,0)
+20 ;;=3^Traum subrac hem w LOC of unsp duration, sequela
+21 ;;^UTILITY(U,$J,358.3,42049,1,4,0)
+22 ;;=4^S06.6X9S
+23 ;;^UTILITY(U,$J,358.3,42049,2)
+24 ;;=^5021115
+25 ;;^UTILITY(U,$J,358.3,42050,0)
+26 ;;=S06.6X0S^^155^2066^106
+27 ;;^UTILITY(U,$J,358.3,42050,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,42050,1,3,0)
+30 ;;=3^Traum subrac hem w/o LOC, sequela
+31 ;;^UTILITY(U,$J,358.3,42050,1,4,0)
+32 ;;=4^S06.6X0S
+33 ;;^UTILITY(U,$J,358.3,42050,2)
+34 ;;=^5021088
+35 ;;^UTILITY(U,$J,358.3,42051,0)
+36 ;;=S06.5X5S^^155^2066^91
+37 ;;^UTILITY(U,$J,358.3,42051,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,42051,1,3,0)
+40 ;;=3^Traum subdr hem w LOC >24 hr w ret consc lev, sequela
+41 ;;^UTILITY(U,$J,358.3,42051,1,4,0)
+42 ;;=4^S06.5X5S
+43 ;;^UTILITY(U,$J,358.3,42051,2)
+44 ;;=^5021073
+45 ;;^UTILITY(U,$J,358.3,42052,0)
+46 ;;=S06.5X6S^^155^2066^92
+47 ;;^UTILITY(U,$J,358.3,42052,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,42052,1,3,0)
+50 ;;=3^Traum subdr hem w LOC >24 hr w/o ret consc w surv, sequela
+51 ;;^UTILITY(U,$J,358.3,42052,1,4,0)
+52 ;;=4^S06.5X6S
+53 ;;^UTILITY(U,$J,358.3,42052,2)
+54 ;;=^5021076
+55 ;;^UTILITY(U,$J,358.3,42053,0)
+56 ;;=S06.5X3S^^155^2066^93
+57 ;;^UTILITY(U,$J,358.3,42053,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,42053,1,3,0)
+60 ;;=3^Traum subdr hem w LOC of 1-5 hrs 59 min, sequela
+61 ;;^UTILITY(U,$J,358.3,42053,1,4,0)
+62 ;;=4^S06.5X3S
+63 ;;^UTILITY(U,$J,358.3,42053,2)
+64 ;;=^5021067
+65 ;;^UTILITY(U,$J,358.3,42054,0)
+66 ;;=S06.5X1S^^155^2066^94
+67 ;;^UTILITY(U,$J,358.3,42054,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,42054,1,3,0)
+70 ;;=3^Traum subdr hem w LOC of 30 minutes or less, sequela
+71 ;;^UTILITY(U,$J,358.3,42054,1,4,0)
+72 ;;=4^S06.5X1S
+73 ;;^UTILITY(U,$J,358.3,42054,2)
+74 ;;=^5021061
+75 ;;^UTILITY(U,$J,358.3,42055,0)
+76 ;;=S06.5X2S^^155^2066^95
+77 ;;^UTILITY(U,$J,358.3,42055,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,42055,1,3,0)
+80 ;;=3^Traum subdr hem w LOC of 31-59 min, sequela
+81 ;;^UTILITY(U,$J,358.3,42055,1,4,0)
+82 ;;=4^S06.5X2S
+83 ;;^UTILITY(U,$J,358.3,42055,2)
+84 ;;=^5021064
+85 ;;^UTILITY(U,$J,358.3,42056,0)
+86 ;;=S06.5X4S^^155^2066^96
+87 ;;^UTILITY(U,$J,358.3,42056,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,42056,1,3,0)
+90 ;;=3^Traum subdr hem w LOC of 6 hours to 24 hours, sequela
+91 ;;^UTILITY(U,$J,358.3,42056,1,4,0)
+92 ;;=4^S06.5X4S
+93 ;;^UTILITY(U,$J,358.3,42056,2)
+94 ;;=^5021070
+95 ;;^UTILITY(U,$J,358.3,42057,0)
+96 ;;=S06.5X9S^^155^2066^97
+97 ;;^UTILITY(U,$J,358.3,42057,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,42057,1,3,0)
+100 ;;=3^Traum subdr hem w LOC of unsp duration, sequela
+101 ;;^UTILITY(U,$J,358.3,42057,1,4,0)
+102 ;;=4^S06.5X9S
+103 ;;^UTILITY(U,$J,358.3,42057,2)
+104 ;;=^5021085
+105 ;;^UTILITY(U,$J,358.3,42058,0)
+106 ;;=S06.5X0S^^155^2066^98
+107 ;;^UTILITY(U,$J,358.3,42058,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,42058,1,3,0)
+110 ;;=3^Traum subdr hem w/o LOC, sequela
+111 ;;^UTILITY(U,$J,358.3,42058,1,4,0)
+112 ;;=4^S06.5X0S
+113 ;;^UTILITY(U,$J,358.3,42058,2)
+114 ;;=^5021058
+115 ;;^UTILITY(U,$J,358.3,42059,0)
+116 ;;=M84.351S^^155^2067^114