Swiftpack.co - StanfordSpezi/Spezi as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by StanfordSpezi.
StanfordSpezi/Spezi 0.5.0
Open-source framework for rapid development of modern, interoperable digital health applications.
⭐️ 62
🕓 2 weeks ago
.package(url: "https://github.com/StanfordSpezi/Spezi.git", from: "0.5.0")


Build and Test codecov DOI

An open-source framework for the rapid development of modern, interoperable digital health applications.

For more information, please refer to the API documentation.

The Spezi Architecture

Spezi introduces a standards-based modular approach to building digital health applications. A standard builds the shared repository of data mapped to a common understanding that is used to exchange data between Spezi modules.

We differentiate between five different types of modules:

  • Standard: Acts as a shared repository and common ground of communication between modules. We, e.g., provide the FHIR standard as a great standard to build your digital health applications.
  • Data Sources: Provide input to a standard and utilize the standard's data source registration functionality and adapters to transform data into the standardized format. Examples include the HealthKit data source.
  • Data Source User Interfaces: Data source user interfaces are data sources that also present user interface components. This, e.g., includes the questionnaire module in the Spezi Swift Package.
  • Data Storage Providers: Data storage providers obtain elements from a standard and persistently store them. Examples include uploading the data to a cloud storage provider such as the Firebase module.
  • Research Application User Interface: Research application user interfaces display additional context in the application and include the onboarding, consent, and contacts modules to display great digital health applications.

System Architecture of the Spezi Framework

The API documentation includes a selector to switch between the different Swift Package Manager Targets, allowing you to explore the different modules that are included in the Spezi repository.

The Spezi Template Application

The Spezi Template Application provides a great starting point and example about using the different Spezi modules.


Contributions to this project are welcome. Please make sure to read the contribution guidelines and the contributor covenant code of conduct first.


This project is licensed under the MIT License. See Licenses for more information.

Spezi Footer Spezi Footer


Stars: 62
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

2 weeks ago

What's Changed

Full Changelog: https://github.com/StanfordSpezi/Spezi/compare/0.4.1...0.5.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics