Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Elastic{ON} 2018 - ¿Está Buscando Un Doctor? Kyruus' Guide to Find a Doctor in Spanish

Elastic Co
March 01, 2018

Elastic{ON} 2018 - ¿Está Buscando Un Doctor? Kyruus' Guide to Find a Doctor in Spanish

Elastic Co

March 01, 2018
Tweet

More Decks by Elastic Co

Other Decks in Technology

Transcript

  1. -
    - Nelson Mandela
    “If you talk to a man in a language he
    understands, that goes to his head.
    If you talk to him in his language, that
    goes to his heart.”

    View full-size slide

  2. Kyruus, Inc.
    February 28, 2018
    Twitter: @i_am_machine
    ¿Está Buscando Un Doctor? Kyruus' Guide
    to Finding a Doctor in Spanish
    Michelle Chen, Senior Software Engineer

    View full-size slide

  3. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    AGENDA
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 3
    Problem Statement
    Our Approach
    Language Nuances
    Demo
    Kyruus Overview

    View full-size slide

  4. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    The Patient Access Paradox
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 4

    View full-size slide

  5. A BETTER MATCH MEANS BETTER CARETM
    Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Kyruus helps health systems match
    patients with the right providers.

    View full-size slide

  6. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Problem Statement
    As a patient who primarily speaks Spanish in the US, I want to
    find the right doctor.
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 6

    View full-size slide

  7. A BETTER MATCH MEANS BETTER CARETM
    Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Our Approach

    View full-size slide

  8. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Architecture
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 8

    View full-size slide

  9. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Architecture
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 9
    1. Data Translations

    View full-size slide

  10. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Architecture
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 10
    2. ES Setup

    View full-size slide

  11. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Architecture
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 11
    3. App Changes

    View full-size slide

  12. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    1. Data Translations
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 12

    View full-size slide

  13. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Considerations
    1) Our team members are not experts in Spanish
    2) US-only customers
    3) Our Find-a-doc pages are integrated into a larger website
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 13

    View full-size slide

  14. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Data Translations
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 14
    1) Types of Data Fields:
    a) Controlled Vocabulary
    b) Customer Controlled Data
    2) Locale - es_us
    3) Separate Indices

    View full-size slide

  15. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Data Translations
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 15

    View full-size slide

  16. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    2. Elasticsearch Setup
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 16

    View full-size slide

  17. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Index Configuration
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 17
    One language per document
    • Support our customer’s separate sites
    • Separates out our indexes rather than confusing analyzers
    • Allows us to search using the same fields

    View full-size slide

  18. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Index Configuration
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 18
    /customer_es-us/provider
    {
    “age_groups”: [“Adultos”],
    “gender”: “Hembra”,
    ...
    }
    /customer/provider
    {
    “age_groups”: [“Adults”],
    “gender”: “Female”,
    ...
    }
    English Index Spanish Index

    View full-size slide

  19. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Index Configuration: Analyzers
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 19
    {
    "spanish_stemmer":
    {
    "tokenizer": "standard",
    "filter": [
    "asciifolding",
    "lowercase",
    "spanish_stop",
    "spanish_snowball"
    ]
    }
    }

    View full-size slide

  20. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    3. Application Changes
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 20

    View full-size slide

  21. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Application Changes
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 21
    1) No API change
    • Only update the source
    index
    2) Utilize the react-intl

    View full-size slide

  22. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Review Architecture
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 22

    View full-size slide

  23. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Language Nuances
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 23
    1) Special Characters
    2) Title Casing
    3) Considerations for Supporting More Languages

    View full-size slide

  24. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Special Characters
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 24
    cardiología vs cardiologia

    View full-size slide

  25. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Title Casing of words
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 25
    English: Orthopedic Surgery
    Spanish: Cirugía ortopédica

    View full-size slide

  26. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Supporting More Languages
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 26
    1) Gender
    2) Ambiguity of Intent
    3) Date and Unit Format

    View full-size slide

  27. A BETTER MATCH MEANS BETTER CARETM
    Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Demo

    View full-size slide

  28. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Recap
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 28
    1) Our Problem
    2) Architecture
    a) Data Structure
    b) Elasticsearch setup
    c) Application
    3) Language Nuances
    4) Demo

    View full-size slide

  29. -
    - Nelson Mandela
    “If you talk to a man in a language he
    understands, that goes to his head.
    If you talk to him in his language, that
    goes to his heart.”

    View full-size slide

  30. A BETTER MATCH MEANS BETTER CARETM
    Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Questions? Visit me at the AMA.
    chenmichellew
    @i_am_machine

    View full-size slide

  31. A BETTER MATCH MEANS BETTER CARETM
    Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Appendix

    View full-size slide

  32. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Screenshot #1
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 32

    View full-size slide

  33. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Screenshot #2
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 33

    View full-size slide

  34. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Index Configuration
    KYRUUS, INC. CONFIDENTIAL. DO NOT DISTRIBUTE 34
    Option A: One language per field
    /customer/provider
    {
    “age_groups”: [“Adults”],
    “age_groups_es_us”: [“Adultos”],
    “gender”: “Female”,
    “gender_es_us”: “Hembra”,
    ...
    }

    View full-size slide

  35. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Sample Spanish Stopwords
    http://snowball.tartarus.org/algorithms/spanish/stop.txt

    View full-size slide

  36. Kyruus, Inc. CONFIDENTIAL. DO NOT DISTRIBUTE
    Art Credit
    http://chibird.com/credits

    View full-size slide