IBDEI396 ; ; 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,51929,2)
;;=^5019416
;;^UTILITY(U,$J,358.3,51930,0)
;;=R40.2340^^193^2515^10
;;^UTILITY(U,$J,358.3,51930,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51930,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,Unspec Time
;;^UTILITY(U,$J,358.3,51930,1,4,0)
;;=4^R40.2340
;;^UTILITY(U,$J,358.3,51930,2)
;;=^5019415
;;^UTILITY(U,$J,358.3,51931,0)
;;=R40.2324^^193^2515^1
;;^UTILITY(U,$J,358.3,51931,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51931,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,24+ Hrs
;;^UTILITY(U,$J,358.3,51931,1,4,0)
;;=4^R40.2324
;;^UTILITY(U,$J,358.3,51931,2)
;;=^5019409
;;^UTILITY(U,$J,358.3,51932,0)
;;=R40.2323^^193^2515^4
;;^UTILITY(U,$J,358.3,51932,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51932,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,at Hospital Admission
;;^UTILITY(U,$J,358.3,51932,1,4,0)
;;=4^R40.2323
;;^UTILITY(U,$J,358.3,51932,2)
;;=^5019408
;;^UTILITY(U,$J,358.3,51933,0)
;;=R40.2322^^193^2515^2
;;^UTILITY(U,$J,358.3,51933,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51933,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,Emger Dept
;;^UTILITY(U,$J,358.3,51933,1,4,0)
;;=4^R40.2322
;;^UTILITY(U,$J,358.3,51933,2)
;;=^5019407
;;^UTILITY(U,$J,358.3,51934,0)
;;=R40.2321^^193^2515^5
;;^UTILITY(U,$J,358.3,51934,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51934,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,in the Field
;;^UTILITY(U,$J,358.3,51934,1,4,0)
;;=4^R40.2321
;;^UTILITY(U,$J,358.3,51934,2)
;;=^5019406
;;^UTILITY(U,$J,358.3,51935,0)
;;=R40.2320^^193^2515^3
;;^UTILITY(U,$J,358.3,51935,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51935,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,Unspec Time
;;^UTILITY(U,$J,358.3,51935,1,4,0)
;;=4^R40.2320
;;^UTILITY(U,$J,358.3,51935,2)
;;=^5019405
;;^UTILITY(U,$J,358.3,51936,0)
;;=R40.2314^^193^2515^11
;;^UTILITY(U,$J,358.3,51936,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51936,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,24+ Hrs
;;^UTILITY(U,$J,358.3,51936,1,4,0)
;;=4^R40.2314
;;^UTILITY(U,$J,358.3,51936,2)
;;=^5019404
;;^UTILITY(U,$J,358.3,51937,0)
;;=R40.2313^^193^2515^14
;;^UTILITY(U,$J,358.3,51937,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51937,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,at Hospital Admission
;;^UTILITY(U,$J,358.3,51937,1,4,0)
;;=4^R40.2313
;;^UTILITY(U,$J,358.3,51937,2)
;;=^5019403
;;^UTILITY(U,$J,358.3,51938,0)
;;=R40.2312^^193^2515^12
;;^UTILITY(U,$J,358.3,51938,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51938,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,Emerg Dept
;;^UTILITY(U,$J,358.3,51938,1,4,0)
;;=4^R40.2312
;;^UTILITY(U,$J,358.3,51938,2)
;;=^5019402
;;^UTILITY(U,$J,358.3,51939,0)
;;=R40.2311^^193^2515^15
;;^UTILITY(U,$J,358.3,51939,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51939,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,in the Field
;;^UTILITY(U,$J,358.3,51939,1,4,0)
;;=4^R40.2311
;;^UTILITY(U,$J,358.3,51939,2)
;;=^5019401
;;^UTILITY(U,$J,358.3,51940,0)
;;=R40.2310^^193^2515^13
;;^UTILITY(U,$J,358.3,51940,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,51940,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,Unspec Time
;;^UTILITY(U,$J,358.3,51940,1,4,0)
;;=4^R40.2310
;;^UTILITY(U,$J,358.3,51940,2)
;;=^5019400
;;^UTILITY(U,$J,358.3,51941,0)
;;=R40.4^^193^2515^38
;;^UTILITY(U,$J,358.3,51941,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI396 3782 printed Oct 16, 2024@18:45:01 Page 2
IBDEI396 ; ; 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,51929,2)
+2 ;;=^5019416
+3 ;;^UTILITY(U,$J,358.3,51930,0)
+4 ;;=R40.2340^^193^2515^10
+5 ;;^UTILITY(U,$J,358.3,51930,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,51930,1,3,0)
+8 ;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,Unspec Time
+9 ;;^UTILITY(U,$J,358.3,51930,1,4,0)
+10 ;;=4^R40.2340
+11 ;;^UTILITY(U,$J,358.3,51930,2)
+12 ;;=^5019415
+13 ;;^UTILITY(U,$J,358.3,51931,0)
+14 ;;=R40.2324^^193^2515^1
+15 ;;^UTILITY(U,$J,358.3,51931,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,51931,1,3,0)
+18 ;;=3^Coma Scale,Best Motor Resp,Extension,24+ Hrs
+19 ;;^UTILITY(U,$J,358.3,51931,1,4,0)
+20 ;;=4^R40.2324
+21 ;;^UTILITY(U,$J,358.3,51931,2)
+22 ;;=^5019409
+23 ;;^UTILITY(U,$J,358.3,51932,0)
+24 ;;=R40.2323^^193^2515^4
+25 ;;^UTILITY(U,$J,358.3,51932,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,51932,1,3,0)
+28 ;;=3^Coma Scale,Best Motor Resp,Extension,at Hospital Admission
+29 ;;^UTILITY(U,$J,358.3,51932,1,4,0)
+30 ;;=4^R40.2323
+31 ;;^UTILITY(U,$J,358.3,51932,2)
+32 ;;=^5019408
+33 ;;^UTILITY(U,$J,358.3,51933,0)
+34 ;;=R40.2322^^193^2515^2
+35 ;;^UTILITY(U,$J,358.3,51933,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,51933,1,3,0)
+38 ;;=3^Coma Scale,Best Motor Resp,Extension,Emger Dept
+39 ;;^UTILITY(U,$J,358.3,51933,1,4,0)
+40 ;;=4^R40.2322
+41 ;;^UTILITY(U,$J,358.3,51933,2)
+42 ;;=^5019407
+43 ;;^UTILITY(U,$J,358.3,51934,0)
+44 ;;=R40.2321^^193^2515^5
+45 ;;^UTILITY(U,$J,358.3,51934,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,51934,1,3,0)
+48 ;;=3^Coma Scale,Best Motor Resp,Extension,in the Field
+49 ;;^UTILITY(U,$J,358.3,51934,1,4,0)
+50 ;;=4^R40.2321
+51 ;;^UTILITY(U,$J,358.3,51934,2)
+52 ;;=^5019406
+53 ;;^UTILITY(U,$J,358.3,51935,0)
+54 ;;=R40.2320^^193^2515^3
+55 ;;^UTILITY(U,$J,358.3,51935,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,51935,1,3,0)
+58 ;;=3^Coma Scale,Best Motor Resp,Extension,Unspec Time
+59 ;;^UTILITY(U,$J,358.3,51935,1,4,0)
+60 ;;=4^R40.2320
+61 ;;^UTILITY(U,$J,358.3,51935,2)
+62 ;;=^5019405
+63 ;;^UTILITY(U,$J,358.3,51936,0)
+64 ;;=R40.2314^^193^2515^11
+65 ;;^UTILITY(U,$J,358.3,51936,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,51936,1,3,0)
+68 ;;=3^Coma Scale,Best Motor Resp,None,24+ Hrs
+69 ;;^UTILITY(U,$J,358.3,51936,1,4,0)
+70 ;;=4^R40.2314
+71 ;;^UTILITY(U,$J,358.3,51936,2)
+72 ;;=^5019404
+73 ;;^UTILITY(U,$J,358.3,51937,0)
+74 ;;=R40.2313^^193^2515^14
+75 ;;^UTILITY(U,$J,358.3,51937,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,51937,1,3,0)
+78 ;;=3^Coma Scale,Best Motor Resp,None,at Hospital Admission
+79 ;;^UTILITY(U,$J,358.3,51937,1,4,0)
+80 ;;=4^R40.2313
+81 ;;^UTILITY(U,$J,358.3,51937,2)
+82 ;;=^5019403
+83 ;;^UTILITY(U,$J,358.3,51938,0)
+84 ;;=R40.2312^^193^2515^12
+85 ;;^UTILITY(U,$J,358.3,51938,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,51938,1,3,0)
+88 ;;=3^Coma Scale,Best Motor Resp,None,Emerg Dept
+89 ;;^UTILITY(U,$J,358.3,51938,1,4,0)
+90 ;;=4^R40.2312
+91 ;;^UTILITY(U,$J,358.3,51938,2)
+92 ;;=^5019402
+93 ;;^UTILITY(U,$J,358.3,51939,0)
+94 ;;=R40.2311^^193^2515^15
+95 ;;^UTILITY(U,$J,358.3,51939,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,51939,1,3,0)
+98 ;;=3^Coma Scale,Best Motor Resp,None,in the Field
+99 ;;^UTILITY(U,$J,358.3,51939,1,4,0)
+100 ;;=4^R40.2311
+101 ;;^UTILITY(U,$J,358.3,51939,2)
+102 ;;=^5019401
+103 ;;^UTILITY(U,$J,358.3,51940,0)
+104 ;;=R40.2310^^193^2515^13
+105 ;;^UTILITY(U,$J,358.3,51940,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,51940,1,3,0)
+108 ;;=3^Coma Scale,Best Motor Resp,None,Unspec Time
+109 ;;^UTILITY(U,$J,358.3,51940,1,4,0)
+110 ;;=4^R40.2310
+111 ;;^UTILITY(U,$J,358.3,51940,2)
+112 ;;=^5019400
+113 ;;^UTILITY(U,$J,358.3,51941,0)
+114 ;;=R40.4^^193^2515^38
+115 ;;^UTILITY(U,$J,358.3,51941,1,0)
+116 ;;=^358.31IA^4^2