Reinventing the Mobile Healthcare Experience With the Couchbase Data Platform – Connect New York 2018

Matrix Medical Network is revolutionizing the way health plan members receive in-home assessments and care management services. Using an advanced technology platform, Matrix Medical Network provides visits to health plan members in their homes to obtain a deeper understanding about how to best support the members’ care needs, resulting in better overall health outcomes.

In this session, Preethi will walk you through the Matrix use case, why they chose Couchbase, and how the technology is helping solve some of their biggest challenges when it comes to remote employee enablement.

4.
4
REINVENTING OUR MOBILE PLATFORM
Key requirements
 Must work offline since many parts of the country lack good connectivity
 Must be able to sync in real-time once connectivity has been established with our
back end servers
 Must be able to expand to multiple OS/Web with minimal development
 Must serve large number of clients and their needs and dynamically render the user
interface using JSON forms
 Had to eliminate XML as data capture format primarily used

5.
5
Who we evaluated
Data Model JSON defined by
application data
JSON JSON Column Family/Fixed
Schema
Sync Management Supports bi-directional
syncing out of the box
Pouch can sync with
Couch DB without
Channel Support
No Support for Auto
Syncing
No Support for Auto
Syncing
Operating System Windows/Linux Windows/Linux Windows/Linux Windows/Linux
High Availability on Sync
Management
Routes to Different node if
one node is down
N/A N/A N/A
Mobile Database Light weight mobile
database available online
and offline for mobile
apps
Javascript database that
runs within a browser and
dependent on local
storage
No No
Big Data Support Map Reduce Functionality Map Reduce Functionality Hadoop’s Map Reduce
Connector
Hadoop over Cassandra
Compatible with Tableau Yes (SIMBA Driver) No Yes (SIMBA Driver) Yes (SIMBA Driver)

6.
6
THE SOLUTION: COUCHBASE MOBILE
COUCHBASE LITE
 Database on the device manages
and stores data locally on the
device in a JSON format.
 This consists of a local copy of
the data that resides on the
couchbase server.
 This provides the offline
capability which is a critical
feature.
 This is available on different OS
platforms (android/ios)
SYNC GATEWAY
 Built-in component for replicating data
between the embedded database and
the database server.
 This enables apps to work online an
offline. This is an integral feature for the
mobile application which eliminates the
huge development effort of building
syncing component.
 Provides Channel Support where each
user sees the documents that they are
authorized to view.
COUCHBASE SERVER
 NoSQL database server that manages
and stores data.
 Provides powerful querying and
enterprise features of a relational
database, combined with the
scalability, performance, and
flexibility of a NoSQL database.
 Provides SQL-like query language (N1QL)
to read/write/report out of Couchbase.
 Makes replication of data much simpler.
Can be scaled up and down without any
downtime.
Sync GatewayCouchbase Lite Couchbase Server

7.
7
MATRIX MEDICAL NETWORK MOBILE ARCHITECTURE
AUTHENTICATION
• Cblite cordova plug in (write once, compile multiple platforms)
• ReactJS as Javascript framework
• Redux as state container
https://github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin.git#1.3.1
COUCHBASE LITE COUCHBASE SERVER
Each mobile app user has a set of
documents that is pushed through
their user channels with the
appropriate task assignment
information pre-populated
within the JSON document
User logs into the device,
the user ID and password is
authenticated against the
active directory
On successful authentication,
creates user on Couchbase if
user does not exist, or updates
and returns valid session token
Data is synced between Lite and
Server via Sync Gateway
SYNC GATEWAY
As long as the session token is
valid and user is connected,
sync continues in real time,
eliminating all the existing
development effort we
originally had for syncing data
from device to the server

10.
10
Local documents in Cblite
Documents that do not need to be replicated to the Couchbase server can be
accessed using these REST calls
GET : http://localhost:5984/dbName/_local/
PUT : http://localhost:5984/dbName/_local/

14.
14
COUCHBASE SERVER...
Simplifies data replication (XDCR) between multiple servers
and
across different data centers
Eliminates the need for replication jobs to be set explicitly
since the data Couchbase receives is replicated across nodes
automatically
Scale-out architecture means adding/removing servers can
be done with the click of a button from the admin console
Zero downtime as the system rebalances and redistributes the
data without interruption to the applications
Extensions to ODBC drivers, Tableau, Kafka, Spark,
Elasticsearch, Hadoop, and Power BI tools which makes
reporting and analytics very efficient

15.
15
COUCHBASE LITE & SYNC GATEWAY...
No development effort for data sync
User always has latest and greatest data
User does not have to wait for the data to sync to see errors
Cordova plugin allows multi-OS development and does
not lock down to a single OS
Channels support sending specific documents to the respective
users
Flexible development using JSON supports agile design and
development
Attachments such as PDFs can be synced to the server real-time
App works offline without any noticeable difference to the user

16.
16
Importance of Technology and Innovation
 Innovation is the key to business growth and success.
 Successfully implemented a health assessment platform that runs our core business
using Couchbase and Couchbase mobile within the span of 8-10 months.
 Included all the features built for over 5+ years.
 All health plans on the new platform within a span of 6 months.
 Single platform – Health Fair & LP Health.