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