IBDEI0WC ; ; 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,14584,2)
;;=^5020711
;;^UTILITY(U,$J,358.3,14585,0)
;;=S06.1X6A^^58^701^16
;;^UTILITY(U,$J,358.3,14585,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14585,1,3,0)
;;=3^Traumatic cerebral edema w LOC >24 hr w/o ret consc w surv, init
;;^UTILITY(U,$J,358.3,14585,1,4,0)
;;=4^S06.1X6A
;;^UTILITY(U,$J,358.3,14585,2)
;;=^5020714
;;^UTILITY(U,$J,358.3,14586,0)
;;=S06.1X3A^^58^701^17
;;^UTILITY(U,$J,358.3,14586,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14586,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 1-5 hrs 59 min, init
;;^UTILITY(U,$J,358.3,14586,1,4,0)
;;=4^S06.1X3A
;;^UTILITY(U,$J,358.3,14586,2)
;;=^5020705
;;^UTILITY(U,$J,358.3,14587,0)
;;=S06.1X1A^^58^701^18
;;^UTILITY(U,$J,358.3,14587,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14587,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 30 minutes or less, init
;;^UTILITY(U,$J,358.3,14587,1,4,0)
;;=4^S06.1X1A
;;^UTILITY(U,$J,358.3,14587,2)
;;=^5020699
;;^UTILITY(U,$J,358.3,14588,0)
;;=S06.1X2A^^58^701^19
;;^UTILITY(U,$J,358.3,14588,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14588,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 31-59 min, init
;;^UTILITY(U,$J,358.3,14588,1,4,0)
;;=4^S06.1X2A
;;^UTILITY(U,$J,358.3,14588,2)
;;=^5020702
;;^UTILITY(U,$J,358.3,14589,0)
;;=S06.1X4A^^58^701^20
;;^UTILITY(U,$J,358.3,14589,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14589,1,3,0)
;;=3^Traumatic cerebral edema w LOC of 6 hours to 24 hours, init
;;^UTILITY(U,$J,358.3,14589,1,4,0)
;;=4^S06.1X4A
;;^UTILITY(U,$J,358.3,14589,2)
;;=^5020708
;;^UTILITY(U,$J,358.3,14590,0)
;;=S06.1X7A^^58^701^22
;;^UTILITY(U,$J,358.3,14590,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14590,1,3,0)
;;=3^Traumatic cerebral edema w LOC w death d/t brain inj bf consc, init
;;^UTILITY(U,$J,358.3,14590,1,4,0)
;;=4^S06.1X7A
;;^UTILITY(U,$J,358.3,14590,2)
;;=^5020717
;;^UTILITY(U,$J,358.3,14591,0)
;;=S06.1X8A^^58^701^23
;;^UTILITY(U,$J,358.3,14591,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14591,1,3,0)
;;=3^Traumatic cerebral edema w LOC w death d/t oth cause bf consc, init
;;^UTILITY(U,$J,358.3,14591,1,4,0)
;;=4^S06.1X8A
;;^UTILITY(U,$J,358.3,14591,2)
;;=^5020720
;;^UTILITY(U,$J,358.3,14592,0)
;;=S06.1X9A^^58^701^21
;;^UTILITY(U,$J,358.3,14592,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14592,1,3,0)
;;=3^Traumatic cerebral edema w LOC of unsp duration, init
;;^UTILITY(U,$J,358.3,14592,1,4,0)
;;=4^S06.1X9A
;;^UTILITY(U,$J,358.3,14592,2)
;;=^5020723
;;^UTILITY(U,$J,358.3,14593,0)
;;=S06.1X0A^^58^701^24
;;^UTILITY(U,$J,358.3,14593,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14593,1,3,0)
;;=3^Traumatic cerebral edema w/o LOC, init
;;^UTILITY(U,$J,358.3,14593,1,4,0)
;;=4^S06.1X0A
;;^UTILITY(U,$J,358.3,14593,2)
;;=^5020696
;;^UTILITY(U,$J,358.3,14594,0)
;;=S06.9X5A^^58^701^4
;;^UTILITY(U,$J,358.3,14594,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14594,1,3,0)
;;=3^Intcrn inj w LOC >24 hr w ret consc lev, init encntr,Unspec
;;^UTILITY(U,$J,358.3,14594,1,4,0)
;;=4^S06.9X5A
;;^UTILITY(U,$J,358.3,14594,2)
;;=^5021221
;;^UTILITY(U,$J,358.3,14595,0)
;;=S06.9X6A^^58^701^5
;;^UTILITY(U,$J,358.3,14595,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,14595,1,3,0)
;;=3^Intcrn inj w LOC >24 hr w/o ret consc w surv, init encntr,Unspec
;;^UTILITY(U,$J,358.3,14595,1,4,0)
;;=4^S06.9X6A
;;^UTILITY(U,$J,358.3,14595,2)
;;=^5021224
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0WC 3760 printed Nov 22, 2024@17:07:14 Page 2
IBDEI0WC ; ; 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,14584,2)
+2 ;;=^5020711
+3 ;;^UTILITY(U,$J,358.3,14585,0)
+4 ;;=S06.1X6A^^58^701^16
+5 ;;^UTILITY(U,$J,358.3,14585,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,14585,1,3,0)
+8 ;;=3^Traumatic cerebral edema w LOC >24 hr w/o ret consc w surv, init
+9 ;;^UTILITY(U,$J,358.3,14585,1,4,0)
+10 ;;=4^S06.1X6A
+11 ;;^UTILITY(U,$J,358.3,14585,2)
+12 ;;=^5020714
+13 ;;^UTILITY(U,$J,358.3,14586,0)
+14 ;;=S06.1X3A^^58^701^17
+15 ;;^UTILITY(U,$J,358.3,14586,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,14586,1,3,0)
+18 ;;=3^Traumatic cerebral edema w LOC of 1-5 hrs 59 min, init
+19 ;;^UTILITY(U,$J,358.3,14586,1,4,0)
+20 ;;=4^S06.1X3A
+21 ;;^UTILITY(U,$J,358.3,14586,2)
+22 ;;=^5020705
+23 ;;^UTILITY(U,$J,358.3,14587,0)
+24 ;;=S06.1X1A^^58^701^18
+25 ;;^UTILITY(U,$J,358.3,14587,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,14587,1,3,0)
+28 ;;=3^Traumatic cerebral edema w LOC of 30 minutes or less, init
+29 ;;^UTILITY(U,$J,358.3,14587,1,4,0)
+30 ;;=4^S06.1X1A
+31 ;;^UTILITY(U,$J,358.3,14587,2)
+32 ;;=^5020699
+33 ;;^UTILITY(U,$J,358.3,14588,0)
+34 ;;=S06.1X2A^^58^701^19
+35 ;;^UTILITY(U,$J,358.3,14588,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,14588,1,3,0)
+38 ;;=3^Traumatic cerebral edema w LOC of 31-59 min, init
+39 ;;^UTILITY(U,$J,358.3,14588,1,4,0)
+40 ;;=4^S06.1X2A
+41 ;;^UTILITY(U,$J,358.3,14588,2)
+42 ;;=^5020702
+43 ;;^UTILITY(U,$J,358.3,14589,0)
+44 ;;=S06.1X4A^^58^701^20
+45 ;;^UTILITY(U,$J,358.3,14589,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,14589,1,3,0)
+48 ;;=3^Traumatic cerebral edema w LOC of 6 hours to 24 hours, init
+49 ;;^UTILITY(U,$J,358.3,14589,1,4,0)
+50 ;;=4^S06.1X4A
+51 ;;^UTILITY(U,$J,358.3,14589,2)
+52 ;;=^5020708
+53 ;;^UTILITY(U,$J,358.3,14590,0)
+54 ;;=S06.1X7A^^58^701^22
+55 ;;^UTILITY(U,$J,358.3,14590,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,14590,1,3,0)
+58 ;;=3^Traumatic cerebral edema w LOC w death d/t brain inj bf consc, init
+59 ;;^UTILITY(U,$J,358.3,14590,1,4,0)
+60 ;;=4^S06.1X7A
+61 ;;^UTILITY(U,$J,358.3,14590,2)
+62 ;;=^5020717
+63 ;;^UTILITY(U,$J,358.3,14591,0)
+64 ;;=S06.1X8A^^58^701^23
+65 ;;^UTILITY(U,$J,358.3,14591,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,14591,1,3,0)
+68 ;;=3^Traumatic cerebral edema w LOC w death d/t oth cause bf consc, init
+69 ;;^UTILITY(U,$J,358.3,14591,1,4,0)
+70 ;;=4^S06.1X8A
+71 ;;^UTILITY(U,$J,358.3,14591,2)
+72 ;;=^5020720
+73 ;;^UTILITY(U,$J,358.3,14592,0)
+74 ;;=S06.1X9A^^58^701^21
+75 ;;^UTILITY(U,$J,358.3,14592,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,14592,1,3,0)
+78 ;;=3^Traumatic cerebral edema w LOC of unsp duration, init
+79 ;;^UTILITY(U,$J,358.3,14592,1,4,0)
+80 ;;=4^S06.1X9A
+81 ;;^UTILITY(U,$J,358.3,14592,2)
+82 ;;=^5020723
+83 ;;^UTILITY(U,$J,358.3,14593,0)
+84 ;;=S06.1X0A^^58^701^24
+85 ;;^UTILITY(U,$J,358.3,14593,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,14593,1,3,0)
+88 ;;=3^Traumatic cerebral edema w/o LOC, init
+89 ;;^UTILITY(U,$J,358.3,14593,1,4,0)
+90 ;;=4^S06.1X0A
+91 ;;^UTILITY(U,$J,358.3,14593,2)
+92 ;;=^5020696
+93 ;;^UTILITY(U,$J,358.3,14594,0)
+94 ;;=S06.9X5A^^58^701^4
+95 ;;^UTILITY(U,$J,358.3,14594,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,14594,1,3,0)
+98 ;;=3^Intcrn inj w LOC >24 hr w ret consc lev, init encntr,Unspec
+99 ;;^UTILITY(U,$J,358.3,14594,1,4,0)
+100 ;;=4^S06.9X5A
+101 ;;^UTILITY(U,$J,358.3,14594,2)
+102 ;;=^5021221
+103 ;;^UTILITY(U,$J,358.3,14595,0)
+104 ;;=S06.9X6A^^58^701^5
+105 ;;^UTILITY(U,$J,358.3,14595,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,14595,1,3,0)
+108 ;;=3^Intcrn inj w LOC >24 hr w/o ret consc w surv, init encntr,Unspec
+109 ;;^UTILITY(U,$J,358.3,14595,1,4,0)
+110 ;;=4^S06.9X6A
+111 ;;^UTILITY(U,$J,358.3,14595,2)
+112 ;;=^5021224