---
title: Dashboard demo data and tests
sidebar_label: Demo data and tests
description: Understand the synthetic clinician workspace and the focused checks for dashboard data mapping.
---

# Dashboard demo data and tests

The dashboard's demo workspace is the fastest way to learn the screens. Its patient profiles, ECG examples, questionnaire answers, and weight history are synthetic fixtures; they are not fetched from Ovok and must not be treated as patient data.

## Find the fixtures

- [`src/data/demo.ts`](https://github.com/Ovok-Dev/rpm-web-dashboard/blob/main/src/data/demo.ts) defines the synthetic patient reviews and sample history.
- [`src/App.tsx`](https://github.com/Ovok-Dev/rpm-web-dashboard/blob/main/src/App.tsx) chooses demo records or sandbox results based on the current workspace mode.
- [`src/lib/patientData.test.ts`](https://github.com/Ovok-Dev/rpm-web-dashboard/blob/main/src/lib/patientData.test.ts) tests resource-to-view mapping.
- [`src/lib/weightUnits.test.ts`](https://github.com/Ovok-Dev/rpm-web-dashboard/blob/main/src/lib/weightUnits.test.ts) tests supported weight-unit conversion.

## Run the checks

```sh
npm test
npm run build
```

`npm run check` runs both commands through the repository script. Keep new examples synthetic, preserve timestamps and source labels, and add a focused test when changing resource mapping or unit handling.
