Skip to content

Data Model

The HDS data model defines all health data items, their types, streams, and relationships.

  • 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)
  • number — numeric values with optional unit variations (kg/lb, m/ft)
  • select — single choice from options
  • checkbox — boolean (activity/plain events)
  • text — free text
  • date — date values
  • composite — nested object fields
  • datasource-search — search external datasources (medications)

The compiled model is served at model.datasafe.dev.