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