IoT-Based System of Human Hydration Monitoring in Real-Time

A software solution for a hardware IoT product that track the hydration level in a human organism and allows to control it for medical and wellness purposes

Industry

Healthcare

Team

14 members

Started in

2019

Country

USA

About a Project

Our customer is a US-based scientific and commercial company that provides an IoT-based telecare solution for tracking human hydration levels. The company needed software allowing users to track hydration indicators from mobile devices. The solution also had to meet the 510(k) FDA Medical Device Registration requirements to use it in partnership programs with healthcare, sport, and wellness organizations.

Goals set to Cleveroad

Create a solution that allows users to monitor hydration levels from mobile device, regardless of a platform.

Ensure integration with the customer’s PaaS (Product-as-a-Service) platform and compliance with the 510(k) FDA Medical Device Registration.

Provide solution support and maintenance so that the customer can expand the existing network of partner organizations (the white-label model).

Solutions we've delivered

Full-cycle development of the cross-platform (Flutter) application connected with IoT hydration sensor. Creation of a web-based Admin panel covering users’ registration, activation, and management.

Creation of custom solution for tight integration with the customer's platform and data transferring to Flutter side. Deep analysis of the customer’s business processes and solution functionality to cover FDA requirements.

Deployment of a holistic software system covering the customer solution’s business logic and flows of hydration monitoring supported by the IoT sensor. Providing the customer with PaaS support, maintenance, and improvement on-demand.

Results for the Customer

The new application has replaced an inefficient app for iOS. It allows for tracking hydration indicators received from the IoT sensor and creating training and care programs through the Admin panel.

The Flutter app is integrated into a customer’s PaaS; all data from the sensor is synchronized and stored for further usage. A ready-to-use IoT-based solution is currently applying for a 510k FDA clearance.

Long-term collaboration with Hydrostasis is established; software updates are supported at the moment. The customer has launched a partnership campaign. The company already runs three programs simultaneously and plans to expand the area of presence.

Business Challenges

Our customer is developing the original healthcare Product-as-a-Service solution based on IoT optical sensors that detect changes in hydration levels. The data collected is used for the definition of the Personal Hydration Index and the Optimal Hydration Level to create custom training plans and water consumption recommendations for maintaining a healthy lifestyle. The customer wanted to turn the Hydrostasis into a holistic system, easy-to-use from any mobile device and suitable for affiliate campaigns. The company needed a reliable technical partner who could:

Create a versatile application and integrate it with an existing hardware solution to allow users to receive hydration level data and programs for training and fluid intake on a smartphone.

Create architecture and functionality that would satisfy the customer's business model and compliance with 510(k) FDA Medical Device Registration regulatory so that the solution can be used by US organizations and individuals.

Provide Hydrostasis with the constant support, upgrade, and maintenance on-demand to use the system in partnership programs with organizations of the healthcare, sports, and wellness industries.

business-challanges

Project in Details

We’ve created an architecture matching the customer's business logic, developed an app considering FDA requirements, and ensured through data synchronization
Business Architecture
  • The mobile application integrated with the sensor allows tracking and controlling the organism’s hydration level. Calculation and user advice on the optimal hydration level are based on user data from the IoT sensor. The notifications inform users if indicators depart from the optimal range. Users can also change the sensor’s settings and share data with existing health-tracking software.
  • Web-based Admin Panel covers users’ registration, activation, and management. It allows tracking users’ hydration data (e.g., required in patients’ remote control) and setting up the User Profile. Data from the sensor can be sent to the server or saved to internal storage if the user doesn’t access the phone. After the connection is restored, the system reads the data and sets the correct timestamps.
  • Collecting and analyzing sensor data and Hydration index calculation are implemented via Big Data technology and ML-based learning algorithms. They predict user hydration needs and define an optimal range through the Personal Hydration Index. Users can set up optimal hydration levels and launch the hydration-control session with visual indicators to monitor their condition and maintain a healthy lifestyle.
ups
View in detail

Product Essentials

Core modules and functionality peculiarities, revealing the solution’s essence The description of the business logic, user experience, and features of organizing data flows
Data synchronization and software updates

Data synchronization is configured flexibly and supported in several ways. As a rule, the application receives data from the sensor and sends it to the server. If the user is far away from the phone, the sensor uses internal storage and saves data immediately after connecting to the smartphone.

Offline mode is also available in the application to fully use the functionality even if an Internet connection is absent. After it is restored, all data is automatically and safely sent to the server for further processing.

Sensor’s software updates are also provided in the application. Loading is possible in a contactless way (“by air”). When connected to the sensor, the system checks for a firmware update and offers it to the user if available.

ups
View in detail
Hydration level measuring via the sensor

Hydrostasis sensor’s connection is intuitive and included in the entire session workflow, so Users can clearly see and follow all the instructions and steps required. When the session is lasting, the sensor measures hydration level in the User organism and transmits data to the server. The system tracks and displays results when the session is over.

Hydration calculation runs depending on the session event-type and related to the activity-type and hydration level retaining and loss. The proper notifications are shown according to data received from the optical sensor. Therefore, the User can follow them to keep healthy habits.

ups
View in detail
The User registration, profile, and dashboard

Users Registration is multi-role-based. Users can register on their own or by their responsible Admin. For instance, it can be a healthcare provider, trainer, etc. When a responsible Admin registers a User, they are connected to the specific Organization. If Users register on their own, the system’s Super Admin identifies the Organization they are related to.

The User Profile is created in a “minimalistic” style to make data submission easy and intuitive. In the profile, the User can also configure the sensor through the application: change the LED power and/or the location of the photodiodes.

The User Dashboard contains the history of all the sessions, and Users can review their past activities and results. It helps Users understand if they are monitoring the fluid intake and activity correctly and strengthen their healthy goals, habits, or training plans. The Hydrostasis UX allows users to add custom marks and notes to each session tracked on the Dashboard requiring just a “couple of taps”.

ups
View in detail
Sessions and actions

Session-types configuration (names for the protocols and step-by-step guides per session protocol) is performed by the responsible Admin under the specific Organization. Then, sessions become available for the Users of the same Organization. When the User selects a session, it is easily represented in as much detail as possible, with the steps needed.

Description of actions required by the session is provided for any User and managed via the Admin Panel. The Hydrostasis has been created as flexible as possible, so the workflow and the instructions are fully configurable and can be used for various goals and needs. For particular actions such as taking urine samples for analysis, it is possible to define instructions and also attach video explanations.

ups
View in detail

Development in Detail

  • The cross-platform app development was carried out by our Flutter team from scratch. The emerging challenge of interaction between the UI framework and the native part was solved using Cleveroad's original solution — the ready-made plugins didn't meet our quality, stability, and flexibility standards. It allowed us to perform close integration with the platform by implementing interaction with Bluetooth on the platform side and data transfer to the Flutter side.
  • Data synchronization for use in the application and the Admin panel has been configured, considering the availability of an Internet connection and a smartphone. We set the correct timestamps for the system to work with data from the sensor in the internal storage. It allowed the app to read data from the sensor, which does not have a built-in timer, and transfer them for processing when the Internet connection is restored.
  • Contactless reflashing of the sensor software (“by air”) was one of our technical finds. Each time the User connects to a sensor, the system checks for firmware updates. The app prompts the User to update the software, download the firmware, and install it if they are available. After that, a reboot and reconnection to the sensor are performed.
  • Data analysis and collection was managed via a modern AWS stack which provides us with a wide range of tools which helps to collect and analyze data received from our hydration sensor and help our Admins to adapt sessions and react to different anomalies without any additional time spendings where the trained ML model helps.
ups
View in detail

Technology stack

Tech stack was chosen and used considering customer needs, solution’s business logic, and the US healthcare requirements

Cross-platform app development

Architecture

RestClient

Local database

Firebase services

CI/CD settings

Results Obtained
Partnership with Cleveroad allowed our customer to get a holistic system integrated with an IoT sensor and suitable for calculating the hydration level for any need

Growth of the user audience by half due to the new app

The customer received a cross-platform application covering all the functionality necessary to implement the solution's business logic. The availability of the application from mobile devices allows the company to double the user audience.

The platform’s availability to the US medical legislation

Solution’s integration with the customer's PaaS, data synchronization, and functionality development was carried out considering the 510(k) FDA Medical Device Registration clearance. Thanks to it, the solution can be legally, freely used by any US-based healthcare organizations and individuals.

Expansion of the customer's partnership campaign

Collaboration with Cleveroad as a reliable technical partner allowed the customer to receive long-term support, improvement, and maintenance services and launch a more extensive campaign of affiliate programs. Already, Hydrostasis is running three partnership programs in parallel and plans to expand them.

Start growing your business with us
By sending this form I confirm that I have read and accept the Privacy Policy

More Cases

Portfolio case
Portfolio case