IBDEI30S ; ; 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,48222,1,3,0)
;;=3^Fall,Sidewalk/Curb,Init Encntr
;;^UTILITY(U,$J,358.3,48222,1,4,0)
;;=4^W10.1XXA
;;^UTILITY(U,$J,358.3,48222,2)
;;=^5059583
;;^UTILITY(U,$J,358.3,48223,0)
;;=W06.XXXA^^185^2419^7
;;^UTILITY(U,$J,358.3,48223,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48223,1,3,0)
;;=3^Fall from Bed,Init Encntr
;;^UTILITY(U,$J,358.3,48223,1,4,0)
;;=4^W06.XXXA
;;^UTILITY(U,$J,358.3,48223,2)
;;=^5059559
;;^UTILITY(U,$J,358.3,48224,0)
;;=W07.XXXA^^185^2419^8
;;^UTILITY(U,$J,358.3,48224,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48224,1,3,0)
;;=3^Fall from Chair,Init Encntr
;;^UTILITY(U,$J,358.3,48224,1,4,0)
;;=4^W07.XXXA
;;^UTILITY(U,$J,358.3,48224,2)
;;=^5059562
;;^UTILITY(U,$J,358.3,48225,0)
;;=W05.2XXA^^185^2419^11
;;^UTILITY(U,$J,358.3,48225,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48225,1,3,0)
;;=3^Fall from Non-Moving Motorized Scooter,Init Encntr
;;^UTILITY(U,$J,358.3,48225,1,4,0)
;;=4^W05.2XXA
;;^UTILITY(U,$J,358.3,48225,2)
;;=^5059556
;;^UTILITY(U,$J,358.3,48226,0)
;;=W05.1XXA^^185^2419^12
;;^UTILITY(U,$J,358.3,48226,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48226,1,3,0)
;;=3^Fall from Non-Moving Nonmotorized Scooter,Init Encntr
;;^UTILITY(U,$J,358.3,48226,1,4,0)
;;=4^W05.1XXA
;;^UTILITY(U,$J,358.3,48226,2)
;;=^5059553
;;^UTILITY(U,$J,358.3,48227,0)
;;=W05.0XXA^^185^2419^13
;;^UTILITY(U,$J,358.3,48227,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48227,1,3,0)
;;=3^Fall from Non-Moving Wheelchair,Init Encntr
;;^UTILITY(U,$J,358.3,48227,1,4,0)
;;=4^W05.0XXA
;;^UTILITY(U,$J,358.3,48227,2)
;;=^5059550
;;^UTILITY(U,$J,358.3,48228,0)
;;=W18.12XA^^185^2419^15
;;^UTILITY(U,$J,358.3,48228,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48228,1,3,0)
;;=3^Fall from Toilet w/ Strike Against Object,Init Encntr
;;^UTILITY(U,$J,358.3,48228,1,4,0)
;;=4^W18.12XA
;;^UTILITY(U,$J,358.3,48228,2)
;;=^5059804
;;^UTILITY(U,$J,358.3,48229,0)
;;=W18.11XA^^185^2419^16
;;^UTILITY(U,$J,358.3,48229,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48229,1,3,0)
;;=3^Fall from Toilet,Init Encntr
;;^UTILITY(U,$J,358.3,48229,1,4,0)
;;=4^W18.11XA
;;^UTILITY(U,$J,358.3,48229,2)
;;=^5059801
;;^UTILITY(U,$J,358.3,48230,0)
;;=W08.XXXA^^185^2419^9
;;^UTILITY(U,$J,358.3,48230,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48230,1,3,0)
;;=3^Fall from Furniture,Init Encntr
;;^UTILITY(U,$J,358.3,48230,1,4,0)
;;=4^W08.XXXA
;;^UTILITY(U,$J,358.3,48230,2)
;;=^5059565
;;^UTILITY(U,$J,358.3,48231,0)
;;=W18.2XXA^^185^2419^17
;;^UTILITY(U,$J,358.3,48231,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48231,1,3,0)
;;=3^Fall in Shower/Bathtub,Init Encntr
;;^UTILITY(U,$J,358.3,48231,1,4,0)
;;=4^W18.2XXA
;;^UTILITY(U,$J,358.3,48231,2)
;;=^5059806
;;^UTILITY(U,$J,358.3,48232,0)
;;=W11.XXXA^^185^2419^10
;;^UTILITY(U,$J,358.3,48232,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48232,1,3,0)
;;=3^Fall from Ladder,Init Encntr
;;^UTILITY(U,$J,358.3,48232,1,4,0)
;;=4^W11.XXXA
;;^UTILITY(U,$J,358.3,48232,2)
;;=^5059595
;;^UTILITY(U,$J,358.3,48233,0)
;;=W01.10XA^^185^2419^2
;;^UTILITY(U,$J,358.3,48233,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48233,1,3,0)
;;=3^Fall Same Level w/ Strike Against Object,Init Encntr
;;^UTILITY(U,$J,358.3,48233,1,4,0)
;;=4^W01.10XA
;;^UTILITY(U,$J,358.3,48233,2)
;;=^5059525
;;^UTILITY(U,$J,358.3,48234,0)
;;=W01.0XXA^^185^2419^3
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI30S 3759 printed Nov 22, 2024@17:49:43 Page 2
IBDEI30S ; ; 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,48222,1,3,0)
+2 ;;=3^Fall,Sidewalk/Curb,Init Encntr
+3 ;;^UTILITY(U,$J,358.3,48222,1,4,0)
+4 ;;=4^W10.1XXA
+5 ;;^UTILITY(U,$J,358.3,48222,2)
+6 ;;=^5059583
+7 ;;^UTILITY(U,$J,358.3,48223,0)
+8 ;;=W06.XXXA^^185^2419^7
+9 ;;^UTILITY(U,$J,358.3,48223,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,48223,1,3,0)
+12 ;;=3^Fall from Bed,Init Encntr
+13 ;;^UTILITY(U,$J,358.3,48223,1,4,0)
+14 ;;=4^W06.XXXA
+15 ;;^UTILITY(U,$J,358.3,48223,2)
+16 ;;=^5059559
+17 ;;^UTILITY(U,$J,358.3,48224,0)
+18 ;;=W07.XXXA^^185^2419^8
+19 ;;^UTILITY(U,$J,358.3,48224,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,48224,1,3,0)
+22 ;;=3^Fall from Chair,Init Encntr
+23 ;;^UTILITY(U,$J,358.3,48224,1,4,0)
+24 ;;=4^W07.XXXA
+25 ;;^UTILITY(U,$J,358.3,48224,2)
+26 ;;=^5059562
+27 ;;^UTILITY(U,$J,358.3,48225,0)
+28 ;;=W05.2XXA^^185^2419^11
+29 ;;^UTILITY(U,$J,358.3,48225,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,48225,1,3,0)
+32 ;;=3^Fall from Non-Moving Motorized Scooter,Init Encntr
+33 ;;^UTILITY(U,$J,358.3,48225,1,4,0)
+34 ;;=4^W05.2XXA
+35 ;;^UTILITY(U,$J,358.3,48225,2)
+36 ;;=^5059556
+37 ;;^UTILITY(U,$J,358.3,48226,0)
+38 ;;=W05.1XXA^^185^2419^12
+39 ;;^UTILITY(U,$J,358.3,48226,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,48226,1,3,0)
+42 ;;=3^Fall from Non-Moving Nonmotorized Scooter,Init Encntr
+43 ;;^UTILITY(U,$J,358.3,48226,1,4,0)
+44 ;;=4^W05.1XXA
+45 ;;^UTILITY(U,$J,358.3,48226,2)
+46 ;;=^5059553
+47 ;;^UTILITY(U,$J,358.3,48227,0)
+48 ;;=W05.0XXA^^185^2419^13
+49 ;;^UTILITY(U,$J,358.3,48227,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,48227,1,3,0)
+52 ;;=3^Fall from Non-Moving Wheelchair,Init Encntr
+53 ;;^UTILITY(U,$J,358.3,48227,1,4,0)
+54 ;;=4^W05.0XXA
+55 ;;^UTILITY(U,$J,358.3,48227,2)
+56 ;;=^5059550
+57 ;;^UTILITY(U,$J,358.3,48228,0)
+58 ;;=W18.12XA^^185^2419^15
+59 ;;^UTILITY(U,$J,358.3,48228,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,48228,1,3,0)
+62 ;;=3^Fall from Toilet w/ Strike Against Object,Init Encntr
+63 ;;^UTILITY(U,$J,358.3,48228,1,4,0)
+64 ;;=4^W18.12XA
+65 ;;^UTILITY(U,$J,358.3,48228,2)
+66 ;;=^5059804
+67 ;;^UTILITY(U,$J,358.3,48229,0)
+68 ;;=W18.11XA^^185^2419^16
+69 ;;^UTILITY(U,$J,358.3,48229,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,48229,1,3,0)
+72 ;;=3^Fall from Toilet,Init Encntr
+73 ;;^UTILITY(U,$J,358.3,48229,1,4,0)
+74 ;;=4^W18.11XA
+75 ;;^UTILITY(U,$J,358.3,48229,2)
+76 ;;=^5059801
+77 ;;^UTILITY(U,$J,358.3,48230,0)
+78 ;;=W08.XXXA^^185^2419^9
+79 ;;^UTILITY(U,$J,358.3,48230,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,48230,1,3,0)
+82 ;;=3^Fall from Furniture,Init Encntr
+83 ;;^UTILITY(U,$J,358.3,48230,1,4,0)
+84 ;;=4^W08.XXXA
+85 ;;^UTILITY(U,$J,358.3,48230,2)
+86 ;;=^5059565
+87 ;;^UTILITY(U,$J,358.3,48231,0)
+88 ;;=W18.2XXA^^185^2419^17
+89 ;;^UTILITY(U,$J,358.3,48231,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,48231,1,3,0)
+92 ;;=3^Fall in Shower/Bathtub,Init Encntr
+93 ;;^UTILITY(U,$J,358.3,48231,1,4,0)
+94 ;;=4^W18.2XXA
+95 ;;^UTILITY(U,$J,358.3,48231,2)
+96 ;;=^5059806
+97 ;;^UTILITY(U,$J,358.3,48232,0)
+98 ;;=W11.XXXA^^185^2419^10
+99 ;;^UTILITY(U,$J,358.3,48232,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,48232,1,3,0)
+102 ;;=3^Fall from Ladder,Init Encntr
+103 ;;^UTILITY(U,$J,358.3,48232,1,4,0)
+104 ;;=4^W11.XXXA
+105 ;;^UTILITY(U,$J,358.3,48232,2)
+106 ;;=^5059595
+107 ;;^UTILITY(U,$J,358.3,48233,0)
+108 ;;=W01.10XA^^185^2419^2
+109 ;;^UTILITY(U,$J,358.3,48233,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,48233,1,3,0)
+112 ;;=3^Fall Same Level w/ Strike Against Object,Init Encntr
+113 ;;^UTILITY(U,$J,358.3,48233,1,4,0)
+114 ;;=4^W01.10XA
+115 ;;^UTILITY(U,$J,358.3,48233,2)
+116 ;;=^5059525
+117 ;;^UTILITY(U,$J,358.3,48234,0)
+118 ;;=W01.0XXA^^185^2419^3