IBDEI2KD ; ; 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,40927,1,4,0)
;;=4^W13.0XXD
;;^UTILITY(U,$J,358.3,40927,2)
;;=^5059602
;;^UTILITY(U,$J,358.3,40928,0)
;;=W13.1XXA^^152^2019^36
;;^UTILITY(U,$J,358.3,40928,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40928,1,3,0)
;;=3^Fall from Bridge,Init Encntr
;;^UTILITY(U,$J,358.3,40928,1,4,0)
;;=4^W13.1XXA
;;^UTILITY(U,$J,358.3,40928,2)
;;=^5059604
;;^UTILITY(U,$J,358.3,40929,0)
;;=W13.1XXD^^152^2019^37
;;^UTILITY(U,$J,358.3,40929,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40929,1,3,0)
;;=3^Fall from Bridge,Subs Encntr
;;^UTILITY(U,$J,358.3,40929,1,4,0)
;;=4^W13.1XXD
;;^UTILITY(U,$J,358.3,40929,2)
;;=^5059605
;;^UTILITY(U,$J,358.3,40930,0)
;;=W13.2XXA^^152^2019^74
;;^UTILITY(U,$J,358.3,40930,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40930,1,3,0)
;;=3^Fall from/through Roof,Init Encntr
;;^UTILITY(U,$J,358.3,40930,1,4,0)
;;=4^W13.2XXA
;;^UTILITY(U,$J,358.3,40930,2)
;;=^5059607
;;^UTILITY(U,$J,358.3,40931,0)
;;=W13.2XXD^^152^2019^75
;;^UTILITY(U,$J,358.3,40931,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40931,1,3,0)
;;=3^Fall from/through Roof,Subs Encntr
;;^UTILITY(U,$J,358.3,40931,1,4,0)
;;=4^W13.2XXD
;;^UTILITY(U,$J,358.3,40931,2)
;;=^5059608
;;^UTILITY(U,$J,358.3,40932,0)
;;=W13.3XXA^^152^2019^88
;;^UTILITY(U,$J,358.3,40932,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40932,1,3,0)
;;=3^Fall through Floor,Init Encntr
;;^UTILITY(U,$J,358.3,40932,1,4,0)
;;=4^W13.3XXA
;;^UTILITY(U,$J,358.3,40932,2)
;;=^5059610
;;^UTILITY(U,$J,358.3,40933,0)
;;=W13.3XXD^^152^2019^89
;;^UTILITY(U,$J,358.3,40933,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40933,1,3,0)
;;=3^Fall through Floor,Subs Encntr
;;^UTILITY(U,$J,358.3,40933,1,4,0)
;;=4^W13.3XXD
;;^UTILITY(U,$J,358.3,40933,2)
;;=^5059611
;;^UTILITY(U,$J,358.3,40934,0)
;;=W13.4XXA^^152^2019^76
;;^UTILITY(U,$J,358.3,40934,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40934,1,3,0)
;;=3^Fall from/through Window,Init Encntr
;;^UTILITY(U,$J,358.3,40934,1,4,0)
;;=4^W13.4XXA
;;^UTILITY(U,$J,358.3,40934,2)
;;=^5059613
;;^UTILITY(U,$J,358.3,40935,0)
;;=W13.4XXD^^152^2019^77
;;^UTILITY(U,$J,358.3,40935,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40935,1,3,0)
;;=3^Fall from/through Window,Subs Encntr
;;^UTILITY(U,$J,358.3,40935,1,4,0)
;;=4^W13.4XXD
;;^UTILITY(U,$J,358.3,40935,2)
;;=^5059614
;;^UTILITY(U,$J,358.3,40936,0)
;;=W13.8XXA^^152^2019^40
;;^UTILITY(U,$J,358.3,40936,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40936,1,3,0)
;;=3^Fall from Building/Structure,Init Encntr
;;^UTILITY(U,$J,358.3,40936,1,4,0)
;;=4^W13.8XXA
;;^UTILITY(U,$J,358.3,40936,2)
;;=^5059616
;;^UTILITY(U,$J,358.3,40937,0)
;;=W13.8XXD^^152^2019^41
;;^UTILITY(U,$J,358.3,40937,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40937,1,3,0)
;;=3^Fall from Building/Structure,Subs Encntr
;;^UTILITY(U,$J,358.3,40937,1,4,0)
;;=4^W13.8XXD
;;^UTILITY(U,$J,358.3,40937,2)
;;=^5059617
;;^UTILITY(U,$J,358.3,40938,0)
;;=W13.9XXA^^152^2019^38
;;^UTILITY(U,$J,358.3,40938,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40938,1,3,0)
;;=3^Fall from Building NOS,Init Encntr
;;^UTILITY(U,$J,358.3,40938,1,4,0)
;;=4^W13.9XXA
;;^UTILITY(U,$J,358.3,40938,2)
;;=^5059619
;;^UTILITY(U,$J,358.3,40939,0)
;;=W13.9XXD^^152^2019^39
;;^UTILITY(U,$J,358.3,40939,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40939,1,3,0)
;;=3^Fall from Building NOS,Subs Encntr
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2KD 3768 printed Dec 13, 2024@02:30:26 Page 2
IBDEI2KD ; ; 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,40927,1,4,0)
+2 ;;=4^W13.0XXD
+3 ;;^UTILITY(U,$J,358.3,40927,2)
+4 ;;=^5059602
+5 ;;^UTILITY(U,$J,358.3,40928,0)
+6 ;;=W13.1XXA^^152^2019^36
+7 ;;^UTILITY(U,$J,358.3,40928,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,40928,1,3,0)
+10 ;;=3^Fall from Bridge,Init Encntr
+11 ;;^UTILITY(U,$J,358.3,40928,1,4,0)
+12 ;;=4^W13.1XXA
+13 ;;^UTILITY(U,$J,358.3,40928,2)
+14 ;;=^5059604
+15 ;;^UTILITY(U,$J,358.3,40929,0)
+16 ;;=W13.1XXD^^152^2019^37
+17 ;;^UTILITY(U,$J,358.3,40929,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,40929,1,3,0)
+20 ;;=3^Fall from Bridge,Subs Encntr
+21 ;;^UTILITY(U,$J,358.3,40929,1,4,0)
+22 ;;=4^W13.1XXD
+23 ;;^UTILITY(U,$J,358.3,40929,2)
+24 ;;=^5059605
+25 ;;^UTILITY(U,$J,358.3,40930,0)
+26 ;;=W13.2XXA^^152^2019^74
+27 ;;^UTILITY(U,$J,358.3,40930,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,40930,1,3,0)
+30 ;;=3^Fall from/through Roof,Init Encntr
+31 ;;^UTILITY(U,$J,358.3,40930,1,4,0)
+32 ;;=4^W13.2XXA
+33 ;;^UTILITY(U,$J,358.3,40930,2)
+34 ;;=^5059607
+35 ;;^UTILITY(U,$J,358.3,40931,0)
+36 ;;=W13.2XXD^^152^2019^75
+37 ;;^UTILITY(U,$J,358.3,40931,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,40931,1,3,0)
+40 ;;=3^Fall from/through Roof,Subs Encntr
+41 ;;^UTILITY(U,$J,358.3,40931,1,4,0)
+42 ;;=4^W13.2XXD
+43 ;;^UTILITY(U,$J,358.3,40931,2)
+44 ;;=^5059608
+45 ;;^UTILITY(U,$J,358.3,40932,0)
+46 ;;=W13.3XXA^^152^2019^88
+47 ;;^UTILITY(U,$J,358.3,40932,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,40932,1,3,0)
+50 ;;=3^Fall through Floor,Init Encntr
+51 ;;^UTILITY(U,$J,358.3,40932,1,4,0)
+52 ;;=4^W13.3XXA
+53 ;;^UTILITY(U,$J,358.3,40932,2)
+54 ;;=^5059610
+55 ;;^UTILITY(U,$J,358.3,40933,0)
+56 ;;=W13.3XXD^^152^2019^89
+57 ;;^UTILITY(U,$J,358.3,40933,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,40933,1,3,0)
+60 ;;=3^Fall through Floor,Subs Encntr
+61 ;;^UTILITY(U,$J,358.3,40933,1,4,0)
+62 ;;=4^W13.3XXD
+63 ;;^UTILITY(U,$J,358.3,40933,2)
+64 ;;=^5059611
+65 ;;^UTILITY(U,$J,358.3,40934,0)
+66 ;;=W13.4XXA^^152^2019^76
+67 ;;^UTILITY(U,$J,358.3,40934,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,40934,1,3,0)
+70 ;;=3^Fall from/through Window,Init Encntr
+71 ;;^UTILITY(U,$J,358.3,40934,1,4,0)
+72 ;;=4^W13.4XXA
+73 ;;^UTILITY(U,$J,358.3,40934,2)
+74 ;;=^5059613
+75 ;;^UTILITY(U,$J,358.3,40935,0)
+76 ;;=W13.4XXD^^152^2019^77
+77 ;;^UTILITY(U,$J,358.3,40935,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,40935,1,3,0)
+80 ;;=3^Fall from/through Window,Subs Encntr
+81 ;;^UTILITY(U,$J,358.3,40935,1,4,0)
+82 ;;=4^W13.4XXD
+83 ;;^UTILITY(U,$J,358.3,40935,2)
+84 ;;=^5059614
+85 ;;^UTILITY(U,$J,358.3,40936,0)
+86 ;;=W13.8XXA^^152^2019^40
+87 ;;^UTILITY(U,$J,358.3,40936,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,40936,1,3,0)
+90 ;;=3^Fall from Building/Structure,Init Encntr
+91 ;;^UTILITY(U,$J,358.3,40936,1,4,0)
+92 ;;=4^W13.8XXA
+93 ;;^UTILITY(U,$J,358.3,40936,2)
+94 ;;=^5059616
+95 ;;^UTILITY(U,$J,358.3,40937,0)
+96 ;;=W13.8XXD^^152^2019^41
+97 ;;^UTILITY(U,$J,358.3,40937,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,40937,1,3,0)
+100 ;;=3^Fall from Building/Structure,Subs Encntr
+101 ;;^UTILITY(U,$J,358.3,40937,1,4,0)
+102 ;;=4^W13.8XXD
+103 ;;^UTILITY(U,$J,358.3,40937,2)
+104 ;;=^5059617
+105 ;;^UTILITY(U,$J,358.3,40938,0)
+106 ;;=W13.9XXA^^152^2019^38
+107 ;;^UTILITY(U,$J,358.3,40938,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,40938,1,3,0)
+110 ;;=3^Fall from Building NOS,Init Encntr
+111 ;;^UTILITY(U,$J,358.3,40938,1,4,0)
+112 ;;=4^W13.9XXA
+113 ;;^UTILITY(U,$J,358.3,40938,2)
+114 ;;=^5059619
+115 ;;^UTILITY(U,$J,358.3,40939,0)
+116 ;;=W13.9XXD^^152^2019^39
+117 ;;^UTILITY(U,$J,358.3,40939,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,40939,1,3,0)
+120 ;;=3^Fall from Building NOS,Subs Encntr