Monitor blood pressure at home
Build a patient app that pairs a blood-pressure monitor and a scale over Bluetooth, saves every reading to Ovok, and shows the history.
- Complexity
- 3/5
- Clients
- React Native
- Time
- 30–60 minutes, plus native build setup
Build a patient-facing remote-monitoring app in ten runnable steps. You use Expo, React Native, @ovok/native and
@ovok/core to sign a patient in, pair two supported devices, save their measurements and show recent readings.
By the end, the app:
- registers and signs a patient in with Ovok's native authentication forms
- discovers and pairs a supported blood-pressure monitor and a supported scale
- receives normalised blood-pressure, ECG, heart-rate and body-weight readings
- saves them as Ovok measurements and reads them back
- shows connection, loading, empty, success and error states
- lets the patient manage paired devices, profile details, language and sign-out
The waveform and any device-reported label are source data, not a diagnosis. The app doesn't interpret readings or set alert thresholds; agree care pathways and escalation with the clinical team running the service.
Set upConsole
You need:
- Node.js and a package manager your Expo project supports.
- Xcode for iOS builds, or Android Studio for Android builds.
- An Ovok sandbox project. Step 2 configures it.
- A supported blood-pressure monitor and scale for the Bluetooth steps. Without hardware you can still build every screen, using test fixtures that never write to a patient record.
Build the app
- Create the React Native app
- Create and configure the Ovok project
- Configure localisation
- Choose connected devices
- Initialise Ovok and Bluetooth
- Build onboarding and authentication
- Build the measurement screen
- Build the Devices section
- Build Settings
- Complete localisation
Each step builds on the last in the same project and file paths, and ends with what you should see and how to fix what you don't.
How a reading flows
The phone discovers a device over Bluetooth. The device produces a reading and the native SDK normalises it. Your app
attaches the blood-pressure, ECG or weight reading to the signed-in patient and calls
ovok.measurements.save(). Ovok stores the FHIR Observation resources, and the app refreshes useSearch("Observation")
to render the stored values, including a waveform for ECG.
Test your integration
- Sign in as a test patient in the sandbox project.
- Pair the monitor and the scale from the Devices section.
- Take one reading on each device and check it appears on the measurement screen.
| Scenario | How to trigger it | Expected result |
|---|---|---|
| Blood pressure saved | Take a reading on the paired monitor | Systolic, diastolic and heart rate appear in the history |
| ECG saved | Record an ECG on the monitor | The waveform renders from the stored observation |
| Weight saved | Step on the paired scale | The weight appears in the history |
| No hardware | Use the step 7 test fixtures | Screens render; nothing is written to the patient |
| Signed out | Sign out in Settings | The app returns to onboarding |
Troubleshooting
- It takes longer than an hour: the estimate excludes native toolchain setup, sandbox access and device availability.
- A referenced API has changed: check the React Native SDK and JavaScript SDK reference pages, which follow the current release.
- You're moving to production: keep this tutorial's sandbox credentials and configuration out of the production project.
See also
Last updated on
Optional: Readings over HL7
Take every reading back into your Supabase as an HL7 v2 message through Ovok's HL7 agent, filed under the right patient by the pseudonym.
1. Create the app
Create an Expo project, install Ovok Native and its required peer packages, and configure Bluetooth native permissions.