Data Model
The HDS data model defines all health data items, their types, streams, and relationships.
Structure
Section titled “Structure”- Items — individual data points (body-weight, body-height, bleeding, medication, etc.)
- Streams — hierarchical categories (body, fertility, medication, profile)
- Event types — Pryv event type definitions with JSON schemas
- Datasources — external data sources (medication database)
Item Types
Section titled “Item Types”number— numeric values with optional unit variations (kg/lb, m/ft)select— single choice from optionscheckbox— boolean (activity/plain events)text— free textdate— date valuescomposite— nested object fieldsdatasource-search— search external datasources (medications)
Published
Section titled “Published”The compiled model is served at model.datasafe.dev.