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

  1. Create the React Native app
  2. Create and configure the Ovok project
  3. Configure localisation
  4. Choose connected devices
  5. Initialise Ovok and Bluetooth
  6. Build onboarding and authentication
  7. Build the measurement screen
  8. Build the Devices section
  9. Build Settings
  10. 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

  1. Sign in as a test patient in the sandbox project.
  2. Pair the monitor and the scale from the Devices section.
  3. Take one reading on each device and check it appears on the measurement screen.
ScenarioHow to trigger itExpected result
Blood pressure savedTake a reading on the paired monitorSystolic, diastolic and heart rate appear in the history
ECG savedRecord an ECG on the monitorThe waveform renders from the stored observation
Weight savedStep on the paired scaleThe weight appears in the history
No hardwareUse the step 7 test fixturesScreens render; nothing is written to the patient
Signed outSign out in SettingsThe 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

On this page