IBDEI2KC ; ; 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,40915,1,4,0)
;;=4^W05.1XXD
;;^UTILITY(U,$J,358.3,40915,2)
;;=^5059554
;;^UTILITY(U,$J,358.3,40916,0)
;;=W05.2XXA^^152^2019^52
;;^UTILITY(U,$J,358.3,40916,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40916,1,3,0)
;;=3^Fall from Non-Moving Motorized Scooter,Init Encntr
;;^UTILITY(U,$J,358.3,40916,1,4,0)
;;=4^W05.2XXA
;;^UTILITY(U,$J,358.3,40916,2)
;;=^5059556
;;^UTILITY(U,$J,358.3,40917,0)
;;=W05.2XXD^^152^2019^53
;;^UTILITY(U,$J,358.3,40917,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40917,1,3,0)
;;=3^Fall from Non-Moving Motorized Scooter,Subs Encntr
;;^UTILITY(U,$J,358.3,40917,1,4,0)
;;=4^W05.2XXD
;;^UTILITY(U,$J,358.3,40917,2)
;;=^5059557
;;^UTILITY(U,$J,358.3,40918,0)
;;=W06.XXXA^^152^2019^34
;;^UTILITY(U,$J,358.3,40918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40918,1,3,0)
;;=3^Fall from Bed,Init Encntr
;;^UTILITY(U,$J,358.3,40918,1,4,0)
;;=4^W06.XXXA
;;^UTILITY(U,$J,358.3,40918,2)
;;=^5059559
;;^UTILITY(U,$J,358.3,40919,0)
;;=W06.XXXD^^152^2019^35
;;^UTILITY(U,$J,358.3,40919,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40919,1,3,0)
;;=3^Fall from Bed,Subs Encntr
;;^UTILITY(U,$J,358.3,40919,1,4,0)
;;=4^W06.XXXD
;;^UTILITY(U,$J,358.3,40919,2)
;;=^5059560
;;^UTILITY(U,$J,358.3,40920,0)
;;=W07.XXXA^^152^2019^42
;;^UTILITY(U,$J,358.3,40920,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40920,1,3,0)
;;=3^Fall from Chair,Init Encntr
;;^UTILITY(U,$J,358.3,40920,1,4,0)
;;=4^W07.XXXA
;;^UTILITY(U,$J,358.3,40920,2)
;;=^5059562
;;^UTILITY(U,$J,358.3,40921,0)
;;=W07.XXXD^^152^2019^43
;;^UTILITY(U,$J,358.3,40921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40921,1,3,0)
;;=3^Fall from Chair,Subs Encntr
;;^UTILITY(U,$J,358.3,40921,1,4,0)
;;=4^W07.XXXD
;;^UTILITY(U,$J,358.3,40921,2)
;;=^5059563
;;^UTILITY(U,$J,358.3,40922,0)
;;=W10.1XXA^^152^2019^86
;;^UTILITY(U,$J,358.3,40922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40922,1,3,0)
;;=3^Fall on Sidewalk Curb,Init Encntr
;;^UTILITY(U,$J,358.3,40922,1,4,0)
;;=4^W10.1XXA
;;^UTILITY(U,$J,358.3,40922,2)
;;=^5059583
;;^UTILITY(U,$J,358.3,40923,0)
;;=W10.1XXD^^152^2019^87
;;^UTILITY(U,$J,358.3,40923,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40923,1,3,0)
;;=3^Fall on Sidewalk Curb,Subs Encntr
;;^UTILITY(U,$J,358.3,40923,1,4,0)
;;=4^W10.1XXD
;;^UTILITY(U,$J,358.3,40923,2)
;;=^5059584
;;^UTILITY(U,$J,358.3,40924,0)
;;=W11.XXXA^^152^2019^46
;;^UTILITY(U,$J,358.3,40924,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40924,1,3,0)
;;=3^Fall from Ladder,Init Encntr
;;^UTILITY(U,$J,358.3,40924,1,4,0)
;;=4^W11.XXXA
;;^UTILITY(U,$J,358.3,40924,2)
;;=^5059595
;;^UTILITY(U,$J,358.3,40925,0)
;;=W11.XXXD^^152^2019^47
;;^UTILITY(U,$J,358.3,40925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40925,1,3,0)
;;=3^Fall from Ladder,Subs Encntr
;;^UTILITY(U,$J,358.3,40925,1,4,0)
;;=4^W11.XXXD
;;^UTILITY(U,$J,358.3,40925,2)
;;=^5059596
;;^UTILITY(U,$J,358.3,40926,0)
;;=W13.0XXA^^152^2019^72
;;^UTILITY(U,$J,358.3,40926,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40926,1,3,0)
;;=3^Fall from/through Balcony,Init Encntr
;;^UTILITY(U,$J,358.3,40926,1,4,0)
;;=4^W13.0XXA
;;^UTILITY(U,$J,358.3,40926,2)
;;=^5059601
;;^UTILITY(U,$J,358.3,40927,0)
;;=W13.0XXD^^152^2019^73
;;^UTILITY(U,$J,358.3,40927,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40927,1,3,0)
;;=3^Fall from/through Balcony,Subs Encntr
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2KC 3764 printed Dec 13, 2024@02:30:25 Page 2
IBDEI2KC ; ; 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,40915,1,4,0)
+2 ;;=4^W05.1XXD
+3 ;;^UTILITY(U,$J,358.3,40915,2)
+4 ;;=^5059554
+5 ;;^UTILITY(U,$J,358.3,40916,0)
+6 ;;=W05.2XXA^^152^2019^52
+7 ;;^UTILITY(U,$J,358.3,40916,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,40916,1,3,0)
+10 ;;=3^Fall from Non-Moving Motorized Scooter,Init Encntr
+11 ;;^UTILITY(U,$J,358.3,40916,1,4,0)
+12 ;;=4^W05.2XXA
+13 ;;^UTILITY(U,$J,358.3,40916,2)
+14 ;;=^5059556
+15 ;;^UTILITY(U,$J,358.3,40917,0)
+16 ;;=W05.2XXD^^152^2019^53
+17 ;;^UTILITY(U,$J,358.3,40917,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,40917,1,3,0)
+20 ;;=3^Fall from Non-Moving Motorized Scooter,Subs Encntr
+21 ;;^UTILITY(U,$J,358.3,40917,1,4,0)
+22 ;;=4^W05.2XXD
+23 ;;^UTILITY(U,$J,358.3,40917,2)
+24 ;;=^5059557
+25 ;;^UTILITY(U,$J,358.3,40918,0)
+26 ;;=W06.XXXA^^152^2019^34
+27 ;;^UTILITY(U,$J,358.3,40918,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,40918,1,3,0)
+30 ;;=3^Fall from Bed,Init Encntr
+31 ;;^UTILITY(U,$J,358.3,40918,1,4,0)
+32 ;;=4^W06.XXXA
+33 ;;^UTILITY(U,$J,358.3,40918,2)
+34 ;;=^5059559
+35 ;;^UTILITY(U,$J,358.3,40919,0)
+36 ;;=W06.XXXD^^152^2019^35
+37 ;;^UTILITY(U,$J,358.3,40919,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,40919,1,3,0)
+40 ;;=3^Fall from Bed,Subs Encntr
+41 ;;^UTILITY(U,$J,358.3,40919,1,4,0)
+42 ;;=4^W06.XXXD
+43 ;;^UTILITY(U,$J,358.3,40919,2)
+44 ;;=^5059560
+45 ;;^UTILITY(U,$J,358.3,40920,0)
+46 ;;=W07.XXXA^^152^2019^42
+47 ;;^UTILITY(U,$J,358.3,40920,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,40920,1,3,0)
+50 ;;=3^Fall from Chair,Init Encntr
+51 ;;^UTILITY(U,$J,358.3,40920,1,4,0)
+52 ;;=4^W07.XXXA
+53 ;;^UTILITY(U,$J,358.3,40920,2)
+54 ;;=^5059562
+55 ;;^UTILITY(U,$J,358.3,40921,0)
+56 ;;=W07.XXXD^^152^2019^43
+57 ;;^UTILITY(U,$J,358.3,40921,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,40921,1,3,0)
+60 ;;=3^Fall from Chair,Subs Encntr
+61 ;;^UTILITY(U,$J,358.3,40921,1,4,0)
+62 ;;=4^W07.XXXD
+63 ;;^UTILITY(U,$J,358.3,40921,2)
+64 ;;=^5059563
+65 ;;^UTILITY(U,$J,358.3,40922,0)
+66 ;;=W10.1XXA^^152^2019^86
+67 ;;^UTILITY(U,$J,358.3,40922,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,40922,1,3,0)
+70 ;;=3^Fall on Sidewalk Curb,Init Encntr
+71 ;;^UTILITY(U,$J,358.3,40922,1,4,0)
+72 ;;=4^W10.1XXA
+73 ;;^UTILITY(U,$J,358.3,40922,2)
+74 ;;=^5059583
+75 ;;^UTILITY(U,$J,358.3,40923,0)
+76 ;;=W10.1XXD^^152^2019^87
+77 ;;^UTILITY(U,$J,358.3,40923,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,40923,1,3,0)
+80 ;;=3^Fall on Sidewalk Curb,Subs Encntr
+81 ;;^UTILITY(U,$J,358.3,40923,1,4,0)
+82 ;;=4^W10.1XXD
+83 ;;^UTILITY(U,$J,358.3,40923,2)
+84 ;;=^5059584
+85 ;;^UTILITY(U,$J,358.3,40924,0)
+86 ;;=W11.XXXA^^152^2019^46
+87 ;;^UTILITY(U,$J,358.3,40924,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,40924,1,3,0)
+90 ;;=3^Fall from Ladder,Init Encntr
+91 ;;^UTILITY(U,$J,358.3,40924,1,4,0)
+92 ;;=4^W11.XXXA
+93 ;;^UTILITY(U,$J,358.3,40924,2)
+94 ;;=^5059595
+95 ;;^UTILITY(U,$J,358.3,40925,0)
+96 ;;=W11.XXXD^^152^2019^47
+97 ;;^UTILITY(U,$J,358.3,40925,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,40925,1,3,0)
+100 ;;=3^Fall from Ladder,Subs Encntr
+101 ;;^UTILITY(U,$J,358.3,40925,1,4,0)
+102 ;;=4^W11.XXXD
+103 ;;^UTILITY(U,$J,358.3,40925,2)
+104 ;;=^5059596
+105 ;;^UTILITY(U,$J,358.3,40926,0)
+106 ;;=W13.0XXA^^152^2019^72
+107 ;;^UTILITY(U,$J,358.3,40926,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,40926,1,3,0)
+110 ;;=3^Fall from/through Balcony,Init Encntr
+111 ;;^UTILITY(U,$J,358.3,40926,1,4,0)
+112 ;;=4^W13.0XXA
+113 ;;^UTILITY(U,$J,358.3,40926,2)
+114 ;;=^5059601
+115 ;;^UTILITY(U,$J,358.3,40927,0)
+116 ;;=W13.0XXD^^152^2019^73
+117 ;;^UTILITY(U,$J,358.3,40927,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,40927,1,3,0)
+120 ;;=3^Fall from/through Balcony,Subs Encntr