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.tsdefines the synthetic patient reviews and sample history.src/App.tsxchooses demo records or sandbox results based on the current workspace mode.src/lib/patientData.test.tstests resource-to-view mapping.src/lib/weightUnits.test.tstests supported weight-unit conversion.
Run the checks
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.