IBDEI2K7 ; ; 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,40858,1,4,0)
;;=4^R40.2224
;;^UTILITY(U,$J,358.3,40858,2)
;;=^5019384
;;^UTILITY(U,$J,358.3,40859,0)
;;=R40.2223^^152^2018^19
;;^UTILITY(U,$J,358.3,40859,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40859,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,at Hospital Admission
;;^UTILITY(U,$J,358.3,40859,1,4,0)
;;=4^R40.2223
;;^UTILITY(U,$J,358.3,40859,2)
;;=^5019383
;;^UTILITY(U,$J,358.3,40860,0)
;;=R40.2222^^152^2018^20
;;^UTILITY(U,$J,358.3,40860,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40860,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Emger Dept
;;^UTILITY(U,$J,358.3,40860,1,4,0)
;;=4^R40.2222
;;^UTILITY(U,$J,358.3,40860,2)
;;=^5019382
;;^UTILITY(U,$J,358.3,40861,0)
;;=R40.2221^^152^2018^21
;;^UTILITY(U,$J,358.3,40861,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40861,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,in the Field
;;^UTILITY(U,$J,358.3,40861,1,4,0)
;;=4^R40.2221
;;^UTILITY(U,$J,358.3,40861,2)
;;=^5019381
;;^UTILITY(U,$J,358.3,40862,0)
;;=R40.2220^^152^2018^22
;;^UTILITY(U,$J,358.3,40862,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40862,1,3,0)
;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Unspec Time
;;^UTILITY(U,$J,358.3,40862,1,4,0)
;;=4^R40.2220
;;^UTILITY(U,$J,358.3,40862,2)
;;=^5019380
;;^UTILITY(U,$J,358.3,40863,0)
;;=R40.2214^^152^2018^23
;;^UTILITY(U,$J,358.3,40863,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40863,1,3,0)
;;=3^Coma Scale,Best Verbal,None,24+ Hrs
;;^UTILITY(U,$J,358.3,40863,1,4,0)
;;=4^R40.2214
;;^UTILITY(U,$J,358.3,40863,2)
;;=^5019379
;;^UTILITY(U,$J,358.3,40864,0)
;;=R40.2213^^152^2018^25
;;^UTILITY(U,$J,358.3,40864,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40864,1,3,0)
;;=3^Coma Scale,Best Verbal,None,at Hospital Admission
;;^UTILITY(U,$J,358.3,40864,1,4,0)
;;=4^R40.2213
;;^UTILITY(U,$J,358.3,40864,2)
;;=^5019378
;;^UTILITY(U,$J,358.3,40865,0)
;;=R40.2212^^152^2018^24
;;^UTILITY(U,$J,358.3,40865,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40865,1,3,0)
;;=3^Coma Scale,Best Verbal,None,Emger Dept
;;^UTILITY(U,$J,358.3,40865,1,4,0)
;;=4^R40.2212
;;^UTILITY(U,$J,358.3,40865,2)
;;=^5019377
;;^UTILITY(U,$J,358.3,40866,0)
;;=R40.2344^^152^2018^6
;;^UTILITY(U,$J,358.3,40866,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40866,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,24+ Hrs
;;^UTILITY(U,$J,358.3,40866,1,4,0)
;;=4^R40.2344
;;^UTILITY(U,$J,358.3,40866,2)
;;=^5019419
;;^UTILITY(U,$J,358.3,40867,0)
;;=R40.2343^^152^2018^7
;;^UTILITY(U,$J,358.3,40867,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40867,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,at Hospital Admission
;;^UTILITY(U,$J,358.3,40867,1,4,0)
;;=4^R40.2343
;;^UTILITY(U,$J,358.3,40867,2)
;;=^5019418
;;^UTILITY(U,$J,358.3,40868,0)
;;=R40.2342^^152^2018^8
;;^UTILITY(U,$J,358.3,40868,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40868,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,Emger Dept
;;^UTILITY(U,$J,358.3,40868,1,4,0)
;;=4^R40.2342
;;^UTILITY(U,$J,358.3,40868,2)
;;=^5019417
;;^UTILITY(U,$J,358.3,40869,0)
;;=R40.2341^^152^2018^9
;;^UTILITY(U,$J,358.3,40869,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40869,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,in the Field
;;^UTILITY(U,$J,358.3,40869,1,4,0)
;;=4^R40.2341
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2K7 3748 printed Oct 16, 2024@18:31:08 Page 2
IBDEI2K7 ; ; 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,40858,1,4,0)
+2 ;;=4^R40.2224
+3 ;;^UTILITY(U,$J,358.3,40858,2)
+4 ;;=^5019384
+5 ;;^UTILITY(U,$J,358.3,40859,0)
+6 ;;=R40.2223^^152^2018^19
+7 ;;^UTILITY(U,$J,358.3,40859,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,40859,1,3,0)
+10 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,at Hospital Admission
+11 ;;^UTILITY(U,$J,358.3,40859,1,4,0)
+12 ;;=4^R40.2223
+13 ;;^UTILITY(U,$J,358.3,40859,2)
+14 ;;=^5019383
+15 ;;^UTILITY(U,$J,358.3,40860,0)
+16 ;;=R40.2222^^152^2018^20
+17 ;;^UTILITY(U,$J,358.3,40860,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,40860,1,3,0)
+20 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Emger Dept
+21 ;;^UTILITY(U,$J,358.3,40860,1,4,0)
+22 ;;=4^R40.2222
+23 ;;^UTILITY(U,$J,358.3,40860,2)
+24 ;;=^5019382
+25 ;;^UTILITY(U,$J,358.3,40861,0)
+26 ;;=R40.2221^^152^2018^21
+27 ;;^UTILITY(U,$J,358.3,40861,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,40861,1,3,0)
+30 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,in the Field
+31 ;;^UTILITY(U,$J,358.3,40861,1,4,0)
+32 ;;=4^R40.2221
+33 ;;^UTILITY(U,$J,358.3,40861,2)
+34 ;;=^5019381
+35 ;;^UTILITY(U,$J,358.3,40862,0)
+36 ;;=R40.2220^^152^2018^22
+37 ;;^UTILITY(U,$J,358.3,40862,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,40862,1,3,0)
+40 ;;=3^Coma Scale,Best Verbal,Incomprehensible Words,Unspec Time
+41 ;;^UTILITY(U,$J,358.3,40862,1,4,0)
+42 ;;=4^R40.2220
+43 ;;^UTILITY(U,$J,358.3,40862,2)
+44 ;;=^5019380
+45 ;;^UTILITY(U,$J,358.3,40863,0)
+46 ;;=R40.2214^^152^2018^23
+47 ;;^UTILITY(U,$J,358.3,40863,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,40863,1,3,0)
+50 ;;=3^Coma Scale,Best Verbal,None,24+ Hrs
+51 ;;^UTILITY(U,$J,358.3,40863,1,4,0)
+52 ;;=4^R40.2214
+53 ;;^UTILITY(U,$J,358.3,40863,2)
+54 ;;=^5019379
+55 ;;^UTILITY(U,$J,358.3,40864,0)
+56 ;;=R40.2213^^152^2018^25
+57 ;;^UTILITY(U,$J,358.3,40864,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,40864,1,3,0)
+60 ;;=3^Coma Scale,Best Verbal,None,at Hospital Admission
+61 ;;^UTILITY(U,$J,358.3,40864,1,4,0)
+62 ;;=4^R40.2213
+63 ;;^UTILITY(U,$J,358.3,40864,2)
+64 ;;=^5019378
+65 ;;^UTILITY(U,$J,358.3,40865,0)
+66 ;;=R40.2212^^152^2018^24
+67 ;;^UTILITY(U,$J,358.3,40865,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,40865,1,3,0)
+70 ;;=3^Coma Scale,Best Verbal,None,Emger Dept
+71 ;;^UTILITY(U,$J,358.3,40865,1,4,0)
+72 ;;=4^R40.2212
+73 ;;^UTILITY(U,$J,358.3,40865,2)
+74 ;;=^5019377
+75 ;;^UTILITY(U,$J,358.3,40866,0)
+76 ;;=R40.2344^^152^2018^6
+77 ;;^UTILITY(U,$J,358.3,40866,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,40866,1,3,0)
+80 ;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,24+ Hrs
+81 ;;^UTILITY(U,$J,358.3,40866,1,4,0)
+82 ;;=4^R40.2344
+83 ;;^UTILITY(U,$J,358.3,40866,2)
+84 ;;=^5019419
+85 ;;^UTILITY(U,$J,358.3,40867,0)
+86 ;;=R40.2343^^152^2018^7
+87 ;;^UTILITY(U,$J,358.3,40867,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,40867,1,3,0)
+90 ;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,at Hospital Admission
+91 ;;^UTILITY(U,$J,358.3,40867,1,4,0)
+92 ;;=4^R40.2343
+93 ;;^UTILITY(U,$J,358.3,40867,2)
+94 ;;=^5019418
+95 ;;^UTILITY(U,$J,358.3,40868,0)
+96 ;;=R40.2342^^152^2018^8
+97 ;;^UTILITY(U,$J,358.3,40868,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,40868,1,3,0)
+100 ;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,Emger Dept
+101 ;;^UTILITY(U,$J,358.3,40868,1,4,0)
+102 ;;=4^R40.2342
+103 ;;^UTILITY(U,$J,358.3,40868,2)
+104 ;;=^5019417
+105 ;;^UTILITY(U,$J,358.3,40869,0)
+106 ;;=R40.2341^^152^2018^9
+107 ;;^UTILITY(U,$J,358.3,40869,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,40869,1,3,0)
+110 ;;=3^Coma Scale,Best Motor Resp,Flexion Withdrawal,in the Field
+111 ;;^UTILITY(U,$J,358.3,40869,1,4,0)
+112 ;;=4^R40.2341