# RPM app Diary tab

Canonical page: https://docs.ovok.com/example-rpm-app/app-tabs/diary

Diary presents the readings and check-ins captured on this phone, including synthetic demo history, weight trends, ECG traces, timestamps, and questionnaire answers.

## What the history means [#what-the-history-means]

The diary is a device-local view, not a complete cross-device history fetched from the server. Demo and Patient records use separate storage. The app keeps pending Patient entries visible and labels failed server writes **Needs sync**, with an explicit retry action.

This distinction matters when testing: signing in does not upload demo history, and seeing an entry in the diary does not by itself prove the remote FHIR save succeeded. Check the displayed sync state and, for a sandbox test, verify the Patient resource in Ovok.

**Explore the source:** [Diary.tsx](https://github.com/Ovok-Dev/rpm-mobile-app/blob/dev/src/Diary.tsx) renders the history and filters; [care-store.tsx](https://github.com/Ovok-Dev/rpm-mobile-app/blob/dev/src/care-store.tsx) owns the local state and save states; [model.ts](https://github.com/Ovok-Dev/rpm-mobile-app/blob/dev/src/model.ts) defines and validates diary entries.

## Try it [#try-it]

Record one demo ECG and weight from [Home](/example-rpm-app/app-tabs/home), then open Diary. Inspect timestamps, trend presentation, and the synthetic-data label. Resetting demo history is available in [Settings](/example-rpm-app/app-tabs/settings).

For the app's storage and retry behavior, read [Local data and sync](/example-rpm-app/integrations/local-data-and-sync).
