IBDEI13I ; ; 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,17790,0)
;;=R40.2112^^61^793^27
;;^UTILITY(U,$J,358.3,17790,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17790,1,3,0)
;;=3^Coma Scale,Eyes Open,Never,Emerg Dept
;;^UTILITY(U,$J,358.3,17790,1,4,0)
;;=4^R40.2112
;;^UTILITY(U,$J,358.3,17790,2)
;;=^5019357
;;^UTILITY(U,$J,358.3,17791,0)
;;=R40.2111^^61^793^28
;;^UTILITY(U,$J,358.3,17791,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17791,1,3,0)
;;=3^Coma Scale,Eyes Open,Never,In the Field
;;^UTILITY(U,$J,358.3,17791,1,4,0)
;;=4^R40.2111
;;^UTILITY(U,$J,358.3,17791,2)
;;=^5019356
;;^UTILITY(U,$J,358.3,17792,0)
;;=R40.2110^^61^793^29
;;^UTILITY(U,$J,358.3,17792,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17792,1,3,0)
;;=3^Coma Scale,Eyes Open,Never,Unspec Time
;;^UTILITY(U,$J,358.3,17792,1,4,0)
;;=4^R40.2110
;;^UTILITY(U,$J,358.3,17792,2)
;;=^5019355
;;^UTILITY(U,$J,358.3,17793,0)
;;=R40.20^^61^793^36
;;^UTILITY(U,$J,358.3,17793,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17793,1,3,0)
;;=3^Coma,Unspec
;;^UTILITY(U,$J,358.3,17793,1,4,0)
;;=4^R40.20
;;^UTILITY(U,$J,358.3,17793,2)
;;=^5019354
;;^UTILITY(U,$J,358.3,17794,0)
;;=R40.2123^^61^793^35
;;^UTILITY(U,$J,358.3,17794,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17794,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,at Hospital Admission
;;^UTILITY(U,$J,358.3,17794,1,4,0)
;;=4^R40.2123
;;^UTILITY(U,$J,358.3,17794,2)
;;=^5019363
;;^UTILITY(U,$J,358.3,17795,0)
;;=R40.2122^^61^793^32
;;^UTILITY(U,$J,358.3,17795,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17795,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,Emger Dept
;;^UTILITY(U,$J,358.3,17795,1,4,0)
;;=4^R40.2122
;;^UTILITY(U,$J,358.3,17795,2)
;;=^5019362
;;^UTILITY(U,$J,358.3,17796,0)
;;=R40.2124^^61^793^31
;;^UTILITY(U,$J,358.3,17796,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17796,1,3,0)
;;=3^Coma Scale,Eyes Open,to Pain,24+ Hrs
;;^UTILITY(U,$J,358.3,17796,1,4,0)
;;=4^R40.2124
;;^UTILITY(U,$J,358.3,17796,2)
;;=^5019364
;;^UTILITY(U,$J,358.3,17797,0)
;;=R40.2211^^61^793^17
;;^UTILITY(U,$J,358.3,17797,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17797,1,3,0)
;;=3^Coma Scale,Best Verbal Response,None,in the Field
;;^UTILITY(U,$J,358.3,17797,1,4,0)
;;=4^R40.2211
;;^UTILITY(U,$J,358.3,17797,2)
;;=^5019376
;;^UTILITY(U,$J,358.3,17798,0)
;;=R40.2210^^61^793^16
;;^UTILITY(U,$J,358.3,17798,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17798,1,3,0)
;;=3^Coma Scale,Best Verbal Response,None,Unspec Time
;;^UTILITY(U,$J,358.3,17798,1,4,0)
;;=4^R40.2210
;;^UTILITY(U,$J,358.3,17798,2)
;;=^5019375
;;^UTILITY(U,$J,358.3,17799,0)
;;=R40.2224^^61^793^18
;;^UTILITY(U,$J,358.3,17799,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17799,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,24+ Hrs
;;^UTILITY(U,$J,358.3,17799,1,4,0)
;;=4^R40.2224
;;^UTILITY(U,$J,358.3,17799,2)
;;=^5019384
;;^UTILITY(U,$J,358.3,17800,0)
;;=R40.2223^^61^793^19
;;^UTILITY(U,$J,358.3,17800,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17800,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,at Hospital Admission
;;^UTILITY(U,$J,358.3,17800,1,4,0)
;;=4^R40.2223
;;^UTILITY(U,$J,358.3,17800,2)
;;=^5019383
;;^UTILITY(U,$J,358.3,17801,0)
;;=R40.2222^^61^793^20
;;^UTILITY(U,$J,358.3,17801,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,17801,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Emger Dept
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI13I 3759 printed Dec 13, 2024@02:01:02 Page 2
IBDEI13I ; ; 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,17790,0)
+2 ;;=R40.2112^^61^793^27
+3 ;;^UTILITY(U,$J,358.3,17790,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,17790,1,3,0)
+6 ;;=3^Coma Scale,Eyes Open,Never,Emerg Dept
+7 ;;^UTILITY(U,$J,358.3,17790,1,4,0)
+8 ;;=4^R40.2112
+9 ;;^UTILITY(U,$J,358.3,17790,2)
+10 ;;=^5019357
+11 ;;^UTILITY(U,$J,358.3,17791,0)
+12 ;;=R40.2111^^61^793^28
+13 ;;^UTILITY(U,$J,358.3,17791,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,17791,1,3,0)
+16 ;;=3^Coma Scale,Eyes Open,Never,In the Field
+17 ;;^UTILITY(U,$J,358.3,17791,1,4,0)
+18 ;;=4^R40.2111
+19 ;;^UTILITY(U,$J,358.3,17791,2)
+20 ;;=^5019356
+21 ;;^UTILITY(U,$J,358.3,17792,0)
+22 ;;=R40.2110^^61^793^29
+23 ;;^UTILITY(U,$J,358.3,17792,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,17792,1,3,0)
+26 ;;=3^Coma Scale,Eyes Open,Never,Unspec Time
+27 ;;^UTILITY(U,$J,358.3,17792,1,4,0)
+28 ;;=4^R40.2110
+29 ;;^UTILITY(U,$J,358.3,17792,2)
+30 ;;=^5019355
+31 ;;^UTILITY(U,$J,358.3,17793,0)
+32 ;;=R40.20^^61^793^36
+33 ;;^UTILITY(U,$J,358.3,17793,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,17793,1,3,0)
+36 ;;=3^Coma,Unspec
+37 ;;^UTILITY(U,$J,358.3,17793,1,4,0)
+38 ;;=4^R40.20
+39 ;;^UTILITY(U,$J,358.3,17793,2)
+40 ;;=^5019354
+41 ;;^UTILITY(U,$J,358.3,17794,0)
+42 ;;=R40.2123^^61^793^35
+43 ;;^UTILITY(U,$J,358.3,17794,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,17794,1,3,0)
+46 ;;=3^Coma Scale,Eyes Open,to Pain,at Hospital Admission
+47 ;;^UTILITY(U,$J,358.3,17794,1,4,0)
+48 ;;=4^R40.2123
+49 ;;^UTILITY(U,$J,358.3,17794,2)
+50 ;;=^5019363
+51 ;;^UTILITY(U,$J,358.3,17795,0)
+52 ;;=R40.2122^^61^793^32
+53 ;;^UTILITY(U,$J,358.3,17795,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,17795,1,3,0)
+56 ;;=3^Coma Scale,Eyes Open,to Pain,Emger Dept
+57 ;;^UTILITY(U,$J,358.3,17795,1,4,0)
+58 ;;=4^R40.2122
+59 ;;^UTILITY(U,$J,358.3,17795,2)
+60 ;;=^5019362
+61 ;;^UTILITY(U,$J,358.3,17796,0)
+62 ;;=R40.2124^^61^793^31
+63 ;;^UTILITY(U,$J,358.3,17796,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,17796,1,3,0)
+66 ;;=3^Coma Scale,Eyes Open,to Pain,24+ Hrs
+67 ;;^UTILITY(U,$J,358.3,17796,1,4,0)
+68 ;;=4^R40.2124
+69 ;;^UTILITY(U,$J,358.3,17796,2)
+70 ;;=^5019364
+71 ;;^UTILITY(U,$J,358.3,17797,0)
+72 ;;=R40.2211^^61^793^17
+73 ;;^UTILITY(U,$J,358.3,17797,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,17797,1,3,0)
+76 ;;=3^Coma Scale,Best Verbal Response,None,in the Field
+77 ;;^UTILITY(U,$J,358.3,17797,1,4,0)
+78 ;;=4^R40.2211
+79 ;;^UTILITY(U,$J,358.3,17797,2)
+80 ;;=^5019376
+81 ;;^UTILITY(U,$J,358.3,17798,0)
+82 ;;=R40.2210^^61^793^16
+83 ;;^UTILITY(U,$J,358.3,17798,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,17798,1,3,0)
+86 ;;=3^Coma Scale,Best Verbal Response,None,Unspec Time
+87 ;;^UTILITY(U,$J,358.3,17798,1,4,0)
+88 ;;=4^R40.2210
+89 ;;^UTILITY(U,$J,358.3,17798,2)
+90 ;;=^5019375
+91 ;;^UTILITY(U,$J,358.3,17799,0)
+92 ;;=R40.2224^^61^793^18
+93 ;;^UTILITY(U,$J,358.3,17799,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,17799,1,3,0)
+96 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,24+ Hrs
+97 ;;^UTILITY(U,$J,358.3,17799,1,4,0)
+98 ;;=4^R40.2224
+99 ;;^UTILITY(U,$J,358.3,17799,2)
+100 ;;=^5019384
+101 ;;^UTILITY(U,$J,358.3,17800,0)
+102 ;;=R40.2223^^61^793^19
+103 ;;^UTILITY(U,$J,358.3,17800,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,17800,1,3,0)
+106 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,at Hospital Admission
+107 ;;^UTILITY(U,$J,358.3,17800,1,4,0)
+108 ;;=4^R40.2223
+109 ;;^UTILITY(U,$J,358.3,17800,2)
+110 ;;=^5019383
+111 ;;^UTILITY(U,$J,358.3,17801,0)
+112 ;;=R40.2222^^61^793^20
+113 ;;^UTILITY(U,$J,358.3,17801,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,17801,1,3,0)
+116 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Emger Dept