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