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