IBDEI32U ; ; 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,49130,0)
;;=W10.9XXD^^185^2430^20
;;^UTILITY(U,$J,358.3,49130,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49130,1,3,0)
;;=3^Fall from Stairs/Steps,Subsequent
;;^UTILITY(U,$J,358.3,49130,1,4,0)
;;=4^W10.9XXD
;;^UTILITY(U,$J,358.3,49130,2)
;;=^5059593
;;^UTILITY(U,$J,358.3,49131,0)
;;=W10.0XXD^^185^2430^11
;;^UTILITY(U,$J,358.3,49131,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49131,1,3,0)
;;=3^Fall from Escalator,Subsequent
;;^UTILITY(U,$J,358.3,49131,1,4,0)
;;=4^W10.0XXD
;;^UTILITY(U,$J,358.3,49131,2)
;;=^5059581
;;^UTILITY(U,$J,358.3,49132,0)
;;=W10.2XXD^^185^2430^13
;;^UTILITY(U,$J,358.3,49132,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49132,1,3,0)
;;=3^Fall from Incline,Subsequent
;;^UTILITY(U,$J,358.3,49132,1,4,0)
;;=4^W10.2XXD
;;^UTILITY(U,$J,358.3,49132,2)
;;=^5059587
;;^UTILITY(U,$J,358.3,49133,0)
;;=W10.1XXD^^185^2430^19
;;^UTILITY(U,$J,358.3,49133,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49133,1,3,0)
;;=3^Fall from Sidewalk/Curb,Subsequent
;;^UTILITY(U,$J,358.3,49133,1,4,0)
;;=4^W10.1XXD
;;^UTILITY(U,$J,358.3,49133,2)
;;=^5059584
;;^UTILITY(U,$J,358.3,49134,0)
;;=W06.XXXD^^185^2430^9
;;^UTILITY(U,$J,358.3,49134,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49134,1,3,0)
;;=3^Fall from Bed,Subsequent
;;^UTILITY(U,$J,358.3,49134,1,4,0)
;;=4^W06.XXXD
;;^UTILITY(U,$J,358.3,49134,2)
;;=^5059560
;;^UTILITY(U,$J,358.3,49135,0)
;;=W07.XXXD^^185^2430^10
;;^UTILITY(U,$J,358.3,49135,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49135,1,3,0)
;;=3^Fall from Chair,Subsequent
;;^UTILITY(U,$J,358.3,49135,1,4,0)
;;=4^W07.XXXD
;;^UTILITY(U,$J,358.3,49135,2)
;;=^5059563
;;^UTILITY(U,$J,358.3,49136,0)
;;=W05.2XXD^^185^2430^15
;;^UTILITY(U,$J,358.3,49136,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49136,1,3,0)
;;=3^Fall from Non-Moving Motorized Scooter,Subsequent
;;^UTILITY(U,$J,358.3,49136,1,4,0)
;;=4^W05.2XXD
;;^UTILITY(U,$J,358.3,49136,2)
;;=^5059557
;;^UTILITY(U,$J,358.3,49137,0)
;;=W05.1XXD^^185^2430^16
;;^UTILITY(U,$J,358.3,49137,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49137,1,3,0)
;;=3^Fall from Non-Moving Nonmotorized Scooter,Subsequent
;;^UTILITY(U,$J,358.3,49137,1,4,0)
;;=4^W05.1XXD
;;^UTILITY(U,$J,358.3,49137,2)
;;=^5059554
;;^UTILITY(U,$J,358.3,49138,0)
;;=W05.0XXD^^185^2430^17
;;^UTILITY(U,$J,358.3,49138,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49138,1,3,0)
;;=3^Fall from Non-Moving Wheelchair,Subsequent
;;^UTILITY(U,$J,358.3,49138,1,4,0)
;;=4^W05.0XXD
;;^UTILITY(U,$J,358.3,49138,2)
;;=^5059551
;;^UTILITY(U,$J,358.3,49139,0)
;;=W18.12XD^^185^2430^21
;;^UTILITY(U,$J,358.3,49139,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49139,1,3,0)
;;=3^Fall from Toilet w/ Strike Against Object,Subsequent
;;^UTILITY(U,$J,358.3,49139,1,4,0)
;;=4^W18.12XD
;;^UTILITY(U,$J,358.3,49139,2)
;;=^5137984
;;^UTILITY(U,$J,358.3,49140,0)
;;=W18.11XD^^185^2430^22
;;^UTILITY(U,$J,358.3,49140,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49140,1,3,0)
;;=3^Fall from Toilet,Subsequent
;;^UTILITY(U,$J,358.3,49140,1,4,0)
;;=4^W18.11XD
;;^UTILITY(U,$J,358.3,49140,2)
;;=^5059802
;;^UTILITY(U,$J,358.3,49141,0)
;;=W08.XXXD^^185^2430^12
;;^UTILITY(U,$J,358.3,49141,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49141,1,3,0)
;;=3^Fall from Furniture,Subsequent
;;^UTILITY(U,$J,358.3,49141,1,4,0)
;;=4^W08.XXXD
;;^UTILITY(U,$J,358.3,49141,2)
;;=^5059566
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32U 3790 printed Oct 16, 2024@18:41:29 Page 2
IBDEI32U ; ; 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,49130,0)
+2 ;;=W10.9XXD^^185^2430^20
+3 ;;^UTILITY(U,$J,358.3,49130,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,49130,1,3,0)
+6 ;;=3^Fall from Stairs/Steps,Subsequent
+7 ;;^UTILITY(U,$J,358.3,49130,1,4,0)
+8 ;;=4^W10.9XXD
+9 ;;^UTILITY(U,$J,358.3,49130,2)
+10 ;;=^5059593
+11 ;;^UTILITY(U,$J,358.3,49131,0)
+12 ;;=W10.0XXD^^185^2430^11
+13 ;;^UTILITY(U,$J,358.3,49131,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,49131,1,3,0)
+16 ;;=3^Fall from Escalator,Subsequent
+17 ;;^UTILITY(U,$J,358.3,49131,1,4,0)
+18 ;;=4^W10.0XXD
+19 ;;^UTILITY(U,$J,358.3,49131,2)
+20 ;;=^5059581
+21 ;;^UTILITY(U,$J,358.3,49132,0)
+22 ;;=W10.2XXD^^185^2430^13
+23 ;;^UTILITY(U,$J,358.3,49132,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,49132,1,3,0)
+26 ;;=3^Fall from Incline,Subsequent
+27 ;;^UTILITY(U,$J,358.3,49132,1,4,0)
+28 ;;=4^W10.2XXD
+29 ;;^UTILITY(U,$J,358.3,49132,2)
+30 ;;=^5059587
+31 ;;^UTILITY(U,$J,358.3,49133,0)
+32 ;;=W10.1XXD^^185^2430^19
+33 ;;^UTILITY(U,$J,358.3,49133,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,49133,1,3,0)
+36 ;;=3^Fall from Sidewalk/Curb,Subsequent
+37 ;;^UTILITY(U,$J,358.3,49133,1,4,0)
+38 ;;=4^W10.1XXD
+39 ;;^UTILITY(U,$J,358.3,49133,2)
+40 ;;=^5059584
+41 ;;^UTILITY(U,$J,358.3,49134,0)
+42 ;;=W06.XXXD^^185^2430^9
+43 ;;^UTILITY(U,$J,358.3,49134,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,49134,1,3,0)
+46 ;;=3^Fall from Bed,Subsequent
+47 ;;^UTILITY(U,$J,358.3,49134,1,4,0)
+48 ;;=4^W06.XXXD
+49 ;;^UTILITY(U,$J,358.3,49134,2)
+50 ;;=^5059560
+51 ;;^UTILITY(U,$J,358.3,49135,0)
+52 ;;=W07.XXXD^^185^2430^10
+53 ;;^UTILITY(U,$J,358.3,49135,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,49135,1,3,0)
+56 ;;=3^Fall from Chair,Subsequent
+57 ;;^UTILITY(U,$J,358.3,49135,1,4,0)
+58 ;;=4^W07.XXXD
+59 ;;^UTILITY(U,$J,358.3,49135,2)
+60 ;;=^5059563
+61 ;;^UTILITY(U,$J,358.3,49136,0)
+62 ;;=W05.2XXD^^185^2430^15
+63 ;;^UTILITY(U,$J,358.3,49136,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,49136,1,3,0)
+66 ;;=3^Fall from Non-Moving Motorized Scooter,Subsequent
+67 ;;^UTILITY(U,$J,358.3,49136,1,4,0)
+68 ;;=4^W05.2XXD
+69 ;;^UTILITY(U,$J,358.3,49136,2)
+70 ;;=^5059557
+71 ;;^UTILITY(U,$J,358.3,49137,0)
+72 ;;=W05.1XXD^^185^2430^16
+73 ;;^UTILITY(U,$J,358.3,49137,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,49137,1,3,0)
+76 ;;=3^Fall from Non-Moving Nonmotorized Scooter,Subsequent
+77 ;;^UTILITY(U,$J,358.3,49137,1,4,0)
+78 ;;=4^W05.1XXD
+79 ;;^UTILITY(U,$J,358.3,49137,2)
+80 ;;=^5059554
+81 ;;^UTILITY(U,$J,358.3,49138,0)
+82 ;;=W05.0XXD^^185^2430^17
+83 ;;^UTILITY(U,$J,358.3,49138,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,49138,1,3,0)
+86 ;;=3^Fall from Non-Moving Wheelchair,Subsequent
+87 ;;^UTILITY(U,$J,358.3,49138,1,4,0)
+88 ;;=4^W05.0XXD
+89 ;;^UTILITY(U,$J,358.3,49138,2)
+90 ;;=^5059551
+91 ;;^UTILITY(U,$J,358.3,49139,0)
+92 ;;=W18.12XD^^185^2430^21
+93 ;;^UTILITY(U,$J,358.3,49139,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,49139,1,3,0)
+96 ;;=3^Fall from Toilet w/ Strike Against Object,Subsequent
+97 ;;^UTILITY(U,$J,358.3,49139,1,4,0)
+98 ;;=4^W18.12XD
+99 ;;^UTILITY(U,$J,358.3,49139,2)
+100 ;;=^5137984
+101 ;;^UTILITY(U,$J,358.3,49140,0)
+102 ;;=W18.11XD^^185^2430^22
+103 ;;^UTILITY(U,$J,358.3,49140,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,49140,1,3,0)
+106 ;;=3^Fall from Toilet,Subsequent
+107 ;;^UTILITY(U,$J,358.3,49140,1,4,0)
+108 ;;=4^W18.11XD
+109 ;;^UTILITY(U,$J,358.3,49140,2)
+110 ;;=^5059802
+111 ;;^UTILITY(U,$J,358.3,49141,0)
+112 ;;=W08.XXXD^^185^2430^12
+113 ;;^UTILITY(U,$J,358.3,49141,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,49141,1,3,0)
+116 ;;=3^Fall from Furniture,Subsequent
+117 ;;^UTILITY(U,$J,358.3,49141,1,4,0)
+118 ;;=4^W08.XXXD
+119 ;;^UTILITY(U,$J,358.3,49141,2)
+120 ;;=^5059566