IBDEI0LW ; ; 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,9852,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9852,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,24+ Hrs
;;^UTILITY(U,$J,358.3,9852,1,4,0)
;;=4^R40.2324
;;^UTILITY(U,$J,358.3,9852,2)
;;=^5019409
;;^UTILITY(U,$J,358.3,9853,0)
;;=R40.2323^^39^419^4
;;^UTILITY(U,$J,358.3,9853,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9853,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,at Hospital Admission
;;^UTILITY(U,$J,358.3,9853,1,4,0)
;;=4^R40.2323
;;^UTILITY(U,$J,358.3,9853,2)
;;=^5019408
;;^UTILITY(U,$J,358.3,9854,0)
;;=R40.2322^^39^419^2
;;^UTILITY(U,$J,358.3,9854,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9854,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,Emger Dept
;;^UTILITY(U,$J,358.3,9854,1,4,0)
;;=4^R40.2322
;;^UTILITY(U,$J,358.3,9854,2)
;;=^5019407
;;^UTILITY(U,$J,358.3,9855,0)
;;=R40.2321^^39^419^5
;;^UTILITY(U,$J,358.3,9855,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9855,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,in the Field
;;^UTILITY(U,$J,358.3,9855,1,4,0)
;;=4^R40.2321
;;^UTILITY(U,$J,358.3,9855,2)
;;=^5019406
;;^UTILITY(U,$J,358.3,9856,0)
;;=R40.2320^^39^419^3
;;^UTILITY(U,$J,358.3,9856,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9856,1,3,0)
;;=3^Coma Scale,Best Motor Resp,Extension,Unspec Time
;;^UTILITY(U,$J,358.3,9856,1,4,0)
;;=4^R40.2320
;;^UTILITY(U,$J,358.3,9856,2)
;;=^5019405
;;^UTILITY(U,$J,358.3,9857,0)
;;=R40.2314^^39^419^11
;;^UTILITY(U,$J,358.3,9857,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9857,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,24+ Hrs
;;^UTILITY(U,$J,358.3,9857,1,4,0)
;;=4^R40.2314
;;^UTILITY(U,$J,358.3,9857,2)
;;=^5019404
;;^UTILITY(U,$J,358.3,9858,0)
;;=R40.2313^^39^419^14
;;^UTILITY(U,$J,358.3,9858,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9858,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,at Hospital Admission
;;^UTILITY(U,$J,358.3,9858,1,4,0)
;;=4^R40.2313
;;^UTILITY(U,$J,358.3,9858,2)
;;=^5019403
;;^UTILITY(U,$J,358.3,9859,0)
;;=R40.2312^^39^419^12
;;^UTILITY(U,$J,358.3,9859,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9859,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,Emerg Dept
;;^UTILITY(U,$J,358.3,9859,1,4,0)
;;=4^R40.2312
;;^UTILITY(U,$J,358.3,9859,2)
;;=^5019402
;;^UTILITY(U,$J,358.3,9860,0)
;;=R40.2311^^39^419^15
;;^UTILITY(U,$J,358.3,9860,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9860,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,in the Field
;;^UTILITY(U,$J,358.3,9860,1,4,0)
;;=4^R40.2311
;;^UTILITY(U,$J,358.3,9860,2)
;;=^5019401
;;^UTILITY(U,$J,358.3,9861,0)
;;=R40.2310^^39^419^13
;;^UTILITY(U,$J,358.3,9861,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9861,1,3,0)
;;=3^Coma Scale,Best Motor Resp,None,Unspec Time
;;^UTILITY(U,$J,358.3,9861,1,4,0)
;;=4^R40.2310
;;^UTILITY(U,$J,358.3,9861,2)
;;=^5019400
;;^UTILITY(U,$J,358.3,9862,0)
;;=R40.4^^39^419^38
;;^UTILITY(U,$J,358.3,9862,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9862,1,3,0)
;;=3^Transient Alteration of Awareness
;;^UTILITY(U,$J,358.3,9862,1,4,0)
;;=4^R40.4
;;^UTILITY(U,$J,358.3,9862,2)
;;=^5019435
;;^UTILITY(U,$J,358.3,9863,0)
;;=V00.811A^^39^420^50
;;^UTILITY(U,$J,358.3,9863,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,9863,1,3,0)
;;=3^Fall from Moving Wheelchair (pwered),Init Encntr
;;^UTILITY(U,$J,358.3,9863,1,4,0)
;;=4^V00.811A
;;^UTILITY(U,$J,358.3,9863,2)
;;=^5055937
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0LW 3761 printed Dec 13, 2024@01:51:14 Page 2
IBDEI0LW ; ; 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,9852,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,9852,1,3,0)
+4 ;;=3^Coma Scale,Best Motor Resp,Extension,24+ Hrs
+5 ;;^UTILITY(U,$J,358.3,9852,1,4,0)
+6 ;;=4^R40.2324
+7 ;;^UTILITY(U,$J,358.3,9852,2)
+8 ;;=^5019409
+9 ;;^UTILITY(U,$J,358.3,9853,0)
+10 ;;=R40.2323^^39^419^4
+11 ;;^UTILITY(U,$J,358.3,9853,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,9853,1,3,0)
+14 ;;=3^Coma Scale,Best Motor Resp,Extension,at Hospital Admission
+15 ;;^UTILITY(U,$J,358.3,9853,1,4,0)
+16 ;;=4^R40.2323
+17 ;;^UTILITY(U,$J,358.3,9853,2)
+18 ;;=^5019408
+19 ;;^UTILITY(U,$J,358.3,9854,0)
+20 ;;=R40.2322^^39^419^2
+21 ;;^UTILITY(U,$J,358.3,9854,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,9854,1,3,0)
+24 ;;=3^Coma Scale,Best Motor Resp,Extension,Emger Dept
+25 ;;^UTILITY(U,$J,358.3,9854,1,4,0)
+26 ;;=4^R40.2322
+27 ;;^UTILITY(U,$J,358.3,9854,2)
+28 ;;=^5019407
+29 ;;^UTILITY(U,$J,358.3,9855,0)
+30 ;;=R40.2321^^39^419^5
+31 ;;^UTILITY(U,$J,358.3,9855,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,9855,1,3,0)
+34 ;;=3^Coma Scale,Best Motor Resp,Extension,in the Field
+35 ;;^UTILITY(U,$J,358.3,9855,1,4,0)
+36 ;;=4^R40.2321
+37 ;;^UTILITY(U,$J,358.3,9855,2)
+38 ;;=^5019406
+39 ;;^UTILITY(U,$J,358.3,9856,0)
+40 ;;=R40.2320^^39^419^3
+41 ;;^UTILITY(U,$J,358.3,9856,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,9856,1,3,0)
+44 ;;=3^Coma Scale,Best Motor Resp,Extension,Unspec Time
+45 ;;^UTILITY(U,$J,358.3,9856,1,4,0)
+46 ;;=4^R40.2320
+47 ;;^UTILITY(U,$J,358.3,9856,2)
+48 ;;=^5019405
+49 ;;^UTILITY(U,$J,358.3,9857,0)
+50 ;;=R40.2314^^39^419^11
+51 ;;^UTILITY(U,$J,358.3,9857,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,9857,1,3,0)
+54 ;;=3^Coma Scale,Best Motor Resp,None,24+ Hrs
+55 ;;^UTILITY(U,$J,358.3,9857,1,4,0)
+56 ;;=4^R40.2314
+57 ;;^UTILITY(U,$J,358.3,9857,2)
+58 ;;=^5019404
+59 ;;^UTILITY(U,$J,358.3,9858,0)
+60 ;;=R40.2313^^39^419^14
+61 ;;^UTILITY(U,$J,358.3,9858,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,9858,1,3,0)
+64 ;;=3^Coma Scale,Best Motor Resp,None,at Hospital Admission
+65 ;;^UTILITY(U,$J,358.3,9858,1,4,0)
+66 ;;=4^R40.2313
+67 ;;^UTILITY(U,$J,358.3,9858,2)
+68 ;;=^5019403
+69 ;;^UTILITY(U,$J,358.3,9859,0)
+70 ;;=R40.2312^^39^419^12
+71 ;;^UTILITY(U,$J,358.3,9859,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,9859,1,3,0)
+74 ;;=3^Coma Scale,Best Motor Resp,None,Emerg Dept
+75 ;;^UTILITY(U,$J,358.3,9859,1,4,0)
+76 ;;=4^R40.2312
+77 ;;^UTILITY(U,$J,358.3,9859,2)
+78 ;;=^5019402
+79 ;;^UTILITY(U,$J,358.3,9860,0)
+80 ;;=R40.2311^^39^419^15
+81 ;;^UTILITY(U,$J,358.3,9860,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,9860,1,3,0)
+84 ;;=3^Coma Scale,Best Motor Resp,None,in the Field
+85 ;;^UTILITY(U,$J,358.3,9860,1,4,0)
+86 ;;=4^R40.2311
+87 ;;^UTILITY(U,$J,358.3,9860,2)
+88 ;;=^5019401
+89 ;;^UTILITY(U,$J,358.3,9861,0)
+90 ;;=R40.2310^^39^419^13
+91 ;;^UTILITY(U,$J,358.3,9861,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,9861,1,3,0)
+94 ;;=3^Coma Scale,Best Motor Resp,None,Unspec Time
+95 ;;^UTILITY(U,$J,358.3,9861,1,4,0)
+96 ;;=4^R40.2310
+97 ;;^UTILITY(U,$J,358.3,9861,2)
+98 ;;=^5019400
+99 ;;^UTILITY(U,$J,358.3,9862,0)
+100 ;;=R40.4^^39^419^38
+101 ;;^UTILITY(U,$J,358.3,9862,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,9862,1,3,0)
+104 ;;=3^Transient Alteration of Awareness
+105 ;;^UTILITY(U,$J,358.3,9862,1,4,0)
+106 ;;=4^R40.4
+107 ;;^UTILITY(U,$J,358.3,9862,2)
+108 ;;=^5019435
+109 ;;^UTILITY(U,$J,358.3,9863,0)
+110 ;;=V00.811A^^39^420^50
+111 ;;^UTILITY(U,$J,358.3,9863,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,9863,1,3,0)
+114 ;;=3^Fall from Moving Wheelchair (pwered),Init Encntr
+115 ;;^UTILITY(U,$J,358.3,9863,1,4,0)
+116 ;;=4^V00.811A
+117 ;;^UTILITY(U,$J,358.3,9863,2)
+118 ;;=^5055937