diff --git a/.firebaserc.license b/.firebaserc.license
index b15600d..a6aac69 100644
--- a/.firebaserc.license
+++ b/.firebaserc.license
@@ -1,4 +1,4 @@
-This source file is part of the CardinalKit open-source project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
diff --git a/.github/workflows/beta-deployment.yml b/.github/workflows/beta-deployment.yml
index 44f61a2..5e2669b 100644
--- a/.github/workflows/beta-deployment.yml
+++ b/.github/workflows/beta-deployment.yml
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index f1b275f..eb651d2 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/.gitignore b/.gitignore
index 23ae896..56bf42f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/.swiftlint.yml b/.swiftlint.yml
index ddda224..ddfe22b 100644
--- a/.swiftlint.yml
+++ b/.swiftlint.yml
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/CITATION.cff b/CITATION.cff
index d0a9e09..b947837 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
@@ -18,6 +18,6 @@ authors:
- family-names: "Aalami"
given-names: "Oliver"
orcid: "https://orcid.org/0000-0002-7799-2429"
-title: "CardinalKit Template Application"
+title: "Stanford OwnYourData Applicationn"
doi: doi.org/10.5281/zenodo.7600783
-url: "https://github.com/StanfordBDHG/CardinalKitTemplateApplication"
+url: "https://github.com/CS342/OwnYourData"
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 78449be..1e43ded 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -1,6 +1,6 @@
-# CardinalKit Template Application
+# Stanford OwnYourData Applicationn
-[![Beta Deployment](https://github.com/StanfordBDHG/CardinalKitTemplateApplication/actions/workflows/beta-deployment.yml/badge.svg)](https://github.com/StanfordBDHG/CardinalKitTemplateApplication/actions/workflows/beta-deployment.yml)
-[![codecov](https://codecov.io/gh/StanfordBDHG/CardinalKitTemplateApplication/branch/main/graph/badge.svg?token=9fvSAiFJUY)](https://codecov.io/gh/StanfordBDHG/CardinalKitTemplateApplication)
+[![Beta Deployment](https://github.com/CS342/OwnYourData/actions/workflows/beta-deployment.yml/badge.svg)](https://github.com/CS342/OwnYourData/actions/workflows/beta-deployment.yml)
+[![codecov](https://codecov.io/gh/CS342/OwnYourData/branch/main/graph/badge.svg?token=9fvSAiFJUY)](https://codecov.io/gh/CS342/OwnYourData)
[![DOI](https://zenodo.org/badge/589846478.svg)](https://zenodo.org/badge/latestdoi/589846478)
-This repository contains the CardinalKit Template Application.
-It demonstrates using the [CardinalKit](https://github.com/StanfordBDHG/CardinalKit) framework template and builds on top of the [StanfordBDHG Template Application](https://github.com/StanfordBDHG/TemplateApplication).
+This repository contains the Stanford OwnYourData Applicationn.
+It demonstrates using the [Spezi](https://github.com/StanfordBDHG/Spezi) framework template and builds on top of the [StanfordBDHG Template Application](https://github.com/StanfordBDHG/TemplateApplication).
## Application Structure
-The CardinalKit Template Application uses a modularized structure enabled by using the Swift Package Manager.
+The Stanford OwnYourData Applicationn uses a modularized structure enabled by using the Swift Package Manager.
The application contains the following five modules that are separated into different Swift Package Manger Targets in the `TemplateApplicationModules` Swift Package.
-The application uses the CardinalKit `FHIR` standard to provide a shared repository for data exchanged between different modules using the `FHIR` standard.
-You can learn more about the CardinalKit standards-based software architecture in the [CardinalKit documentation](https://github.com/StanfordBDHG/CardinalKit).
+The application uses the Spezi `FHIR` standard to provide a shared repository for data exchanged between different modules using the `FHIR` standard.
+You can learn more about the Spezi standards-based software architecture in the [Spezi documentation](https://github.com/StanfordBDHG/Spezi).
## Build and Run the Application
@@ -54,11 +54,11 @@ The application includes the following feature flags that can be configured in t
### Template Onboarding Flow
The `TemplateOnboardingFlow` module contains the different steps displayed in the onboarding flow.
-It uses the CardinalKit `Onboarding` module to display different onboarding-related views like the information about the application, a consent screen, and a screen to display a HealthKit consent view.
+It uses the Spezi `Onboarding` module to display different onboarding-related views like the information about the application, a consent screen, and a screen to display a HealthKit consent view.
-
+
@@ -67,7 +67,7 @@ It uses the CardinalKit `Onboarding` module to display different onboarding-rela
### Template Schedule
The `TemplateSchedule` module provides the functionality to schedule a recurring task and bind it to an action, e.g., displaying a questionnaire.
-It uses the CardinalKit `Scheduler` and `Questionnaires` modules to schedule the tasks as defined in the `TemplateApplicationScheduler`.
+It uses the Spezi `Scheduler` and `Questionnaires` modules to schedule the tasks as defined in the `TemplateApplicationScheduler`.
@@ -79,7 +79,7 @@ It uses the CardinalKit `Scheduler` and `Questionnaires` modules to schedule the
### Template Contacts
The `TemplateContacts` module provides the functionality to display contact information in your application.
-It uses the CardinalKit `Contacts` module to use the contact-related views provided by CardinalKit.
+It uses the Spezi `Contacts` module to use the contact-related views provided by Spezi.
@@ -89,7 +89,7 @@ It uses the CardinalKit `Contacts` module to use the contact-related views provi
### Template Mock Data Storage Provider
The `TemplateMockDataStorageProvider` module allows a developer to get an overview of the synconization of data between the local `FHIR` model and a cloud storage provider.
-It uses the CardinalKit `DataStorageProvider`s to get information that is stored in the `FHIR` standard in the CardinalKit Template Application.
+It uses the Spezi `DataStorageProvider`s to get information that is stored in the `FHIR` standard in the Stanford OwnYourData Applicationn.
@@ -99,13 +99,13 @@ It uses the CardinalKit `DataStorageProvider`s to get information that is stored
## Continous Delivery Workflows
-The CardinalKit Template application includes continuous integration (CI) and continuous delivery (CD) setup.
+The Stanford OwnYourData Applicationn includes continuous integration (CI) and continuous delivery (CD) setup.
- Automatically build and test the application on every pull request before deploying it.
- An automated setup to deploy the application to TestFlight every time there is a new commit on the repository's main branch.
- Ensure a coherent code style by checking the conformance to the SwiftLint rules defined in `.swiftlint.yml` on every pull request and commit.
- Ensure conformance to the [REUSE Spacification]() to property license the application and all related code.
-Please refer to the [StanfordBDHG Template Application](https://github.com/StanfordBDHG/TemplateApplication) and the [ContinousDelivery Example by Paul Schmiedmayer](https://github.com/PSchmiedmayer/ContinousDelivery) for more background about the CI and CD setup for the CardinalKit Template Application.
+Please refer to the [StanfordBDHG Template Application](https://github.com/StanfordBDHG/TemplateApplication) and the [ContinousDelivery Example by Paul Schmiedmayer](https://github.com/PSchmiedmayer/ContinousDelivery) for more background about the CI and CD setup for the Stanford OwnYourData Applicationn.
## Contributors & License
@@ -113,4 +113,4 @@ Please refer to the [StanfordBDHG Template Application](https://github.com/Stanf
This project is based on [ContinousDelivery Example by Paul Schmiedmayer](https://github.com/PSchmiedmayer/ContinousDelivery), and the [StanfordBDHG Template Application](https://github.com/StanfordBDHG/TemplateApplication) provided using the MIT license.
You can find a list of contributors in the `CONTRIBUTORS.md` file.
-The CardinalKit Template Application and the CardinalKit framework are licensed under the MIT license.
+The Stanford OwnYourData Applicationn and the Spezi framework are licensed under the MIT license.
diff --git a/TemplateApplication.xctestplan.license b/TemplateApplication.xctestplan.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication.xctestplan.license
+++ b/TemplateApplication.xctestplan.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/ClinicalTrials/ClinicalTrialsView.swift b/TemplateApplication/ClinicalTrials/ClinicalTrialsView.swift
index c4730dc..fa43fa4 100644
--- a/TemplateApplication/ClinicalTrials/ClinicalTrialsView.swift
+++ b/TemplateApplication/ClinicalTrials/ClinicalTrialsView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/ClinicalTrials/WebView.swift b/TemplateApplication/ClinicalTrials/WebView.swift
index 0c40a5c..0cb6038 100644
--- a/TemplateApplication/ClinicalTrials/WebView.swift
+++ b/TemplateApplication/ClinicalTrials/WebView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/DocumentGallery.swift b/TemplateApplication/Documents/DocumentGallery.swift
index fb3c264..2c8a03a 100644
--- a/TemplateApplication/Documents/DocumentGallery.swift
+++ b/TemplateApplication/Documents/DocumentGallery.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/DocumentManager.swift b/TemplateApplication/Documents/DocumentManager.swift
index 7443c9e..99ed635 100644
--- a/TemplateApplication/Documents/DocumentManager.swift
+++ b/TemplateApplication/Documents/DocumentManager.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/DocumentScanner.swift b/TemplateApplication/Documents/DocumentScanner.swift
index dfc4b36..dd546e6 100644
--- a/TemplateApplication/Documents/DocumentScanner.swift
+++ b/TemplateApplication/Documents/DocumentScanner.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/PDFDocument+Transferable.swift b/TemplateApplication/Documents/PDFDocument+Transferable.swift
index 49f3927..f0cd177 100644
--- a/TemplateApplication/Documents/PDFDocument+Transferable.swift
+++ b/TemplateApplication/Documents/PDFDocument+Transferable.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/PDFListDetailView.swift b/TemplateApplication/Documents/PDFListDetailView.swift
index 59030fc..129d139 100644
--- a/TemplateApplication/Documents/PDFListDetailView.swift
+++ b/TemplateApplication/Documents/PDFListDetailView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/PDFListRow.swift b/TemplateApplication/Documents/PDFListRow.swift
index 3efd015..9820840 100644
--- a/TemplateApplication/Documents/PDFListRow.swift
+++ b/TemplateApplication/Documents/PDFListRow.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Documents/PDFView.swift b/TemplateApplication/Documents/PDFView.swift
index 9882df6..1f073cb 100644
--- a/TemplateApplication/Documents/PDFView.swift
+++ b/TemplateApplication/Documents/PDFView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Extensions & Infrastructure/Binding+Negate.swift b/TemplateApplication/Extensions & Infrastructure/Binding+Negate.swift
index 9a7da37..5b88e48 100644
--- a/TemplateApplication/Extensions & Infrastructure/Binding+Negate.swift
+++ b/TemplateApplication/Extensions & Infrastructure/Binding+Negate.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Extensions & Infrastructure/CodableArray+RawRepresentable.swift b/TemplateApplication/Extensions & Infrastructure/CodableArray+RawRepresentable.swift
index 30d7f41..3058c7b 100644
--- a/TemplateApplication/Extensions & Infrastructure/CodableArray+RawRepresentable.swift
+++ b/TemplateApplication/Extensions & Infrastructure/CodableArray+RawRepresentable.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Extensions & Infrastructure/StorageKeys.swift b/TemplateApplication/Extensions & Infrastructure/StorageKeys.swift
index e629302..0e68fa9 100644
--- a/TemplateApplication/Extensions & Infrastructure/StorageKeys.swift
+++ b/TemplateApplication/Extensions & Infrastructure/StorageKeys.swift
@@ -1,12 +1,12 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-/// Constants shared across the CardinalKit Teamplate Application to access storage information including the `AppStorage` and `SceneStorage`
+/// Constants shared across the Spezi Teamplate Application to access storage information including the `AppStorage` and `SceneStorage`
public enum StorageKeys {
// MARK: - Onboarding
/// A `Bool` flag indicating of the onboarding was completed.
diff --git a/TemplateApplication/Extensions & Infrastructure/TemplateAppTestingSetup.swift b/TemplateApplication/Extensions & Infrastructure/TemplateAppTestingSetup.swift
index e0277ab..144809c 100644
--- a/TemplateApplication/Extensions & Infrastructure/TemplateAppTestingSetup.swift
+++ b/TemplateApplication/Extensions & Infrastructure/TemplateAppTestingSetup.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Instructions/AddRecordInstructView.swift b/TemplateApplication/Instructions/AddRecordInstructView.swift
index 5dbc96d..e92127f 100644
--- a/TemplateApplication/Instructions/AddRecordInstructView.swift
+++ b/TemplateApplication/Instructions/AddRecordInstructView.swift
@@ -1,18 +1,12 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import CardinalKit
-import FHIR
-import HealthKitDataSource
-import HealthKitToFHIRAdapter
-import ImageSource
import SwiftUI
-import UIKit
struct AddRecordInstructView: View {
diff --git a/TemplateApplication/Instructions/HowItWorks.swift b/TemplateApplication/Instructions/HowItWorks.swift
index f7881f1..0482809 100644
--- a/TemplateApplication/Instructions/HowItWorks.swift
+++ b/TemplateApplication/Instructions/HowItWorks.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Instructions/Instructions.swift b/TemplateApplication/Instructions/Instructions.swift
index d841327..3c27bc3 100644
--- a/TemplateApplication/Instructions/Instructions.swift
+++ b/TemplateApplication/Instructions/Instructions.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Instructions/InstructionsStep.swift b/TemplateApplication/Instructions/InstructionsStep.swift
index 4349729..ff0fbd5 100644
--- a/TemplateApplication/Instructions/InstructionsStep.swift
+++ b/TemplateApplication/Instructions/InstructionsStep.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Instructions/OpenAppleHealthApp.swift b/TemplateApplication/Instructions/OpenAppleHealthApp.swift
index 9dc11ee..7be9e35 100644
--- a/TemplateApplication/Instructions/OpenAppleHealthApp.swift
+++ b/TemplateApplication/Instructions/OpenAppleHealthApp.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Instructions/RecordInstructView.swift b/TemplateApplication/Instructions/RecordInstructView.swift
index 2c89b12..c00dffe 100644
--- a/TemplateApplication/Instructions/RecordInstructView.swift
+++ b/TemplateApplication/Instructions/RecordInstructView.swift
@@ -1,18 +1,12 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import CardinalKit
-import FHIR
-import HealthKitDataSource
-import HealthKitToFHIRAdapter
-import ImageSource
import SwiftUI
-import UIKit
struct RecordInstructView: View {
diff --git a/TemplateApplication/Instructions/ViewRecordsView.swift b/TemplateApplication/Instructions/ViewRecordsView.swift
index 5acb76a..1cc5301 100644
--- a/TemplateApplication/Instructions/ViewRecordsView.swift
+++ b/TemplateApplication/Instructions/ViewRecordsView.swift
@@ -1,18 +1,12 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import CardinalKit
-import FHIR
-import HealthKitDataSource
-import HealthKitToFHIRAdapter
-import ImageSource
import SwiftUI
-import UIKit
struct ViewRecordsView: View {
diff --git a/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift b/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift
index cacba76..18aea30 100644
--- a/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift
+++ b/TemplateApplication/Onboarding/AccountSetup/AccountSetup.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
@@ -7,7 +7,6 @@
//
import Account
-import class FHIR.FHIR
import FirebaseAccount
import FirebaseAuth
import FirebaseFirestore
@@ -148,7 +147,7 @@ struct AccountSetup_Previews: PreviewProvider {
static var previews: some View {
AccountSetup(onboardingSteps: $path)
.environmentObject(Account(accountServices: []))
- .environmentObject(FirebaseAccountConfiguration(emulatorSettings: (host: "localhost", port: 9099)))
+ .environmentObject(FirebaseAccountConfiguration(emulatorSettings: (host: "localhost", port: 9099)))
}
}
#endif
diff --git a/TemplateApplication/Onboarding/AccountSetup/IconView.swift b/TemplateApplication/Onboarding/AccountSetup/IconView.swift
index e4eae02..fc45623 100644
--- a/TemplateApplication/Onboarding/AccountSetup/IconView.swift
+++ b/TemplateApplication/Onboarding/AccountSetup/IconView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/AccountSetup/TemplateLogin.swift b/TemplateApplication/Onboarding/AccountSetup/TemplateLogin.swift
index 94d4c8a..e029297 100644
--- a/TemplateApplication/Onboarding/AccountSetup/TemplateLogin.swift
+++ b/TemplateApplication/Onboarding/AccountSetup/TemplateLogin.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/AccountSetup/TemplateSignUp.swift b/TemplateApplication/Onboarding/AccountSetup/TemplateSignUp.swift
index 3f9f5de..f55eae1 100644
--- a/TemplateApplication/Onboarding/AccountSetup/TemplateSignUp.swift
+++ b/TemplateApplication/Onboarding/AccountSetup/TemplateSignUp.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/AccountSetup/UserView.swift b/TemplateApplication/Onboarding/AccountSetup/UserView.swift
index c227b1a..9607701 100644
--- a/TemplateApplication/Onboarding/AccountSetup/UserView.swift
+++ b/TemplateApplication/Onboarding/AccountSetup/UserView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
@@ -7,7 +7,6 @@
//
import Account
-import class FHIR.FHIR
import FirebaseAccount
import Foundation
import SwiftUI
@@ -16,7 +15,7 @@ import Views
struct UserView: View {
@EnvironmentObject var account: Account
- @EnvironmentObject var firebaseAccountConfiguration: FirebaseAccountConfiguration
+ @EnvironmentObject var firebaseAccountConfiguration: FirebaseAccountConfiguration
var body: some View {
@@ -65,7 +64,7 @@ struct SwiftUIView_Previews: PreviewProvider {
static var previews: some View {
UserView()
.padding()
- .environmentObject(FirebaseAccountConfiguration(emulatorSettings: (host: "localhost", port: 9099)))
+ .environmentObject(FirebaseAccountConfiguration(emulatorSettings: (host: "localhost", port: 9099)))
}
}
#endif
diff --git a/TemplateApplication/Onboarding/Consent.swift b/TemplateApplication/Onboarding/Consent.swift
index bc97196..e5bf5c6 100644
--- a/TemplateApplication/Onboarding/Consent.swift
+++ b/TemplateApplication/Onboarding/Consent.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/InterestingModules.swift b/TemplateApplication/Onboarding/InterestingModules.swift
index 186ef0b..15defbd 100644
--- a/TemplateApplication/Onboarding/InterestingModules.swift
+++ b/TemplateApplication/Onboarding/InterestingModules.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/OnboardingFlow.swift b/TemplateApplication/Onboarding/OnboardingFlow.swift
index 48fd5f1..f5c0cfa 100644
--- a/TemplateApplication/Onboarding/OnboardingFlow.swift
+++ b/TemplateApplication/Onboarding/OnboardingFlow.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
@@ -9,7 +9,7 @@
import SwiftUI
-/// Displays an multi-step onboarding flow for the CardinalKit Template Application.
+/// Displays an multi-step onboarding flow for the Stanford OwnYourData Applicationn.
public struct OnboardingFlow: View {
enum Step: String, Codable {
case interestingModules
diff --git a/TemplateApplication/Onboarding/String+ModuleLocalized.swift b/TemplateApplication/Onboarding/String+ModuleLocalized.swift
index e7ec49f..a820599 100644
--- a/TemplateApplication/Onboarding/String+ModuleLocalized.swift
+++ b/TemplateApplication/Onboarding/String+ModuleLocalized.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Onboarding/Welcome.swift b/TemplateApplication/Onboarding/Welcome.swift
index 85bfb1a..84fe210 100644
--- a/TemplateApplication/Onboarding/Welcome.swift
+++ b/TemplateApplication/Onboarding/Welcome.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/OwnYourDateStandard.swift b/TemplateApplication/OwnYourDateStandard.swift
new file mode 100644
index 0000000..a7a6fee
--- /dev/null
+++ b/TemplateApplication/OwnYourDateStandard.swift
@@ -0,0 +1,15 @@
+//
+// This source file is part of the Stanford OwnYourData Application project
+//
+// SPDX-FileCopyrightText: 2023 Stanford University
+//
+// SPDX-License-Identifier: MIT
+//
+
+import Spezi
+import SpeziHealthKit
+
+
+actor OwnYourDateStandard: Standard {
+
+}
diff --git a/TemplateApplication/ReusableViews/LogoView.swift b/TemplateApplication/ReusableViews/LogoView.swift
index f4eb7c2..b6a8ca7 100644
--- a/TemplateApplication/ReusableViews/LogoView.swift
+++ b/TemplateApplication/ReusableViews/LogoView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/ReusableViews/OwnYourDataButton.swift b/TemplateApplication/ReusableViews/OwnYourDataButton.swift
index 14a37b5..3485e98 100644
--- a/TemplateApplication/ReusableViews/OwnYourDataButton.swift
+++ b/TemplateApplication/ReusableViews/OwnYourDataButton.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/ReusableViews/OwnYourDataSection.swift b/TemplateApplication/ReusableViews/OwnYourDataSection.swift
index 3e0a613..789b48a 100644
--- a/TemplateApplication/ReusableViews/OwnYourDataSection.swift
+++ b/TemplateApplication/ReusableViews/OwnYourDataSection.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AccentColor.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImage.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImage.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImage.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImage.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImageDark.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImageDark.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImageDark.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/AddAccountImageDark.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AddAccountImage.imageset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/AppIcon.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AppIcon.appiconset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/AppleHealtAppImage.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/AppleHealtAppImage.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/AppleHealtAppImage.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/AppleHealtAppImage.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/AppleHealthAppImage.imageset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImage.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImage.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImage.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImage.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImageDark.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImageDark.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImageDark.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/BrowseTabImageDark.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/BrowseTabImage.imageset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_dark.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_dark.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_dark.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_dark.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_light.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_light.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_light.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_light.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_orange.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_orange.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_orange.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_orange.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_red.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_red.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_red.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_red.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_yellow.colorset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_yellow.colorset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_yellow.colorset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ButtonColor_yellow.colorset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/ExportIconImage.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/ExportIconImage.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/ExportIconImage.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/ExportIconImage.imageset/ExportIconImage.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/Contents.json.license b/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/Contents.json.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/Contents.json.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/Contents.json.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/OwnYourData.png.license b/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/OwnYourData.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/OwnYourData.png.license
+++ b/TemplateApplication/Supporting Files/Assets.xcassets/Logo.imageset/OwnYourData.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/GoogleService-Info.plist.license b/TemplateApplication/Supporting Files/GoogleService-Info.plist.license
index b15600d..a6aac69 100644
--- a/TemplateApplication/Supporting Files/GoogleService-Info.plist.license
+++ b/TemplateApplication/Supporting Files/GoogleService-Info.plist.license
@@ -1,4 +1,4 @@
-This source file is part of the CardinalKit open-source project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
diff --git a/TemplateApplication/Supporting Files/Info.plist.license b/TemplateApplication/Supporting Files/Info.plist.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/Info.plist.license
+++ b/TemplateApplication/Supporting Files/Info.plist.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Supporting Files/Localizable.strings b/TemplateApplication/Supporting Files/Localizable.strings
index f132559..525e798 100644
--- a/TemplateApplication/Supporting Files/Localizable.strings
+++ b/TemplateApplication/Supporting Files/Localizable.strings
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
@@ -45,7 +45,7 @@
// MARK: Consent
"CONSENT_TITLE" = "Consent Example";
-"CONSENT_SUBTITLE" = "CardinalKit can collect consent from a user. You can provide the consent document using a markdown file.";
+"CONSENT_SUBTITLE" = "Spezi can collect consent from a user. You can provide the consent document using a markdown file.";
"CONSENT_LOADING_ERROR" = "Please include a markdown based document named \"ConsentDocument\" in your module Bundle.";
diff --git a/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license b/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license
+++ b/TemplateApplication/Supporting Files/TemplateApplication.entitlements.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplication/Tabs/AddDataView.swift b/TemplateApplication/Tabs/AddDataView.swift
index 4a3ed06..ea10967 100644
--- a/TemplateApplication/Tabs/AddDataView.swift
+++ b/TemplateApplication/Tabs/AddDataView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Tabs/Home.swift b/TemplateApplication/Tabs/Home.swift
index 6fa71c5..454046a 100644
--- a/TemplateApplication/Tabs/Home.swift
+++ b/TemplateApplication/Tabs/Home.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Tabs/OwnYourDataTabView.swift b/TemplateApplication/Tabs/OwnYourDataTabView.swift
index 5a59545..d100fc6 100644
--- a/TemplateApplication/Tabs/OwnYourDataTabView.swift
+++ b/TemplateApplication/Tabs/OwnYourDataTabView.swift
@@ -1,12 +1,11 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import FHIRMockDataStorageProvider
import SwiftUI
diff --git a/TemplateApplication/Tabs/ProfileView.swift b/TemplateApplication/Tabs/ProfileView.swift
index f0019d3..f531f87 100644
--- a/TemplateApplication/Tabs/ProfileView.swift
+++ b/TemplateApplication/Tabs/ProfileView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/Tabs/ShareView.swift b/TemplateApplication/Tabs/ShareView.swift
index 812f2d2..c201d5e 100644
--- a/TemplateApplication/Tabs/ShareView.swift
+++ b/TemplateApplication/Tabs/ShareView.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplication/TemplateAppDelegate.swift b/TemplateApplication/TemplateAppDelegate.swift
index 42103de..b839506 100644
--- a/TemplateApplication/TemplateAppDelegate.swift
+++ b/TemplateApplication/TemplateAppDelegate.swift
@@ -1,31 +1,24 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import CardinalKit
-import FHIR
-import FHIRMockDataStorageProvider
-import FHIRToFirestoreAdapter
+import Spezi
import FirebaseAccount
import class FirebaseFirestore.FirestoreSettings
import FirebaseAuth
import FirestoreDataStorage
-import FirestoreStoragePrefixUserIdAdapter
import HealthKit
import HealthKitDataSource
-import HealthKitToFHIRAdapter
-import Questionnaires
-import Scheduler
import SwiftUI
-class TemplateAppDelegate: CardinalKitAppDelegate {
+class TemplateAppDelegate: SpeziAppDelegate {
override var configuration: Configuration {
- Configuration(standard: FHIR()) {
+ Configuration(standard: OwnYourDateStandard()) {
if !FeatureFlags.disableFirebase {
if FeatureFlags.useFirebaseEmulator {
FirebaseAccountConfiguration(emulatorSettings: (host: "localhost", port: 9099))
@@ -39,7 +32,7 @@ class TemplateAppDelegate: CardinalKitAppDelegate {
}
- private var firestore: Firestore {
+ private var firestore: Firestore {
let settings = FirestoreSettings()
if FeatureFlags.useFirebaseEmulator {
settings.host = "localhost:8080"
@@ -48,10 +41,6 @@ class TemplateAppDelegate: CardinalKitAppDelegate {
}
return Firestore(
- adapter: {
- FHIRToFirestoreAdapter()
- FirestoreStoragePrefixUserIdAdapter()
- },
settings: settings
)
}
diff --git a/TemplateApplication/TemplateApplication.swift b/TemplateApplication/TemplateApplication.swift
index 9b9b42e..023e8ca 100644
--- a/TemplateApplication/TemplateApplication.swift
+++ b/TemplateApplication/TemplateApplication.swift
@@ -1,12 +1,12 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
// SPDX-License-Identifier: MIT
//
-import CardinalKit
+import Spezi
import SwiftUI
@@ -24,7 +24,7 @@ struct TemplateApplication: App {
}
.environmentObject(DocumentManager())
.testingSetup()
- .cardinalKit(appDelegate)
+ .spezi(appDelegate)
}
}
}
diff --git a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/AppIcon.png.license b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/AppIcon.png.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/AppIcon.png.license
+++ b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/AppIcon.png.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md
index e5176ae..5f9df6f 100644
--- a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md
+++ b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md
@@ -1 +1 @@
-CardinalKit can render consent documents in the markdown format: This is a *markdown* **example**.
+Spezi can render consent documents in the markdown format: This is a *markdown* **example**.
diff --git a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md.license b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md.license
index 51be8b0..f7a66ff 100644
--- a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md.license
+++ b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/ConsentDocument.md.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/Localizable.strings b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/Localizable.strings
index 158db76..26f9c1b 100644
--- a/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/Localizable.strings
+++ b/TemplateApplicationModules/Sources/TemplateOnboardingFlow/Resources/en.lproj/Localizable.strings
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
@@ -44,7 +44,7 @@
// MARK: Consent
"CONSENT_TITLE" = "Consent Example";
-"CONSENT_SUBTITLE" = "CardinalKit can collect consent from a user. You can provide the consent document using a markdown file.";
+"CONSENT_SUBTITLE" = "Spezi can collect consent from a user. You can provide the consent document using a markdown file.";
"CONSENT_LOADING_ERROR" = "Please include a markdown based document named \"ConsentDocument\" in your module Bundle.";
diff --git a/TemplateApplicationTests/TemplateApplicationTests.swift b/TemplateApplicationTests/TemplateApplicationTests.swift
index fe7e379..6327b08 100644
--- a/TemplateApplicationTests/TemplateApplicationTests.swift
+++ b/TemplateApplicationTests/TemplateApplicationTests.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/TemplateApplicationUITests/OnboardingTests.swift b/TemplateApplicationUITests/OnboardingTests.swift
index afc5d17..f7431c4 100644
--- a/TemplateApplicationUITests/OnboardingTests.swift
+++ b/TemplateApplicationUITests/OnboardingTests.swift
@@ -1,5 +1,5 @@
//
-// This source file is part of the Stanford CardinalKit Template Application project
+// This source file is part of the Stanford OwnYourData Application project
//
// SPDX-FileCopyrightText: 2023 Stanford University
//
diff --git a/codecov.yml b/codecov.yml
index c760196..cd9599c 100644
--- a/codecov.yml
+++ b/codecov.yml
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/fastlane/.gitignore b/fastlane/.gitignore
index ab60d5b..dc390d5 100644
--- a/fastlane/.gitignore
+++ b/fastlane/.gitignore
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/fastlane/Appfile b/fastlane/Appfile
index d773fb3..4c5d2a9 100644
--- a/fastlane/Appfile
+++ b/fastlane/Appfile
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
index 456e980..61d6f7c 100644
--- a/fastlane/Fastfile
+++ b/fastlane/Fastfile
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/fastlane/Gymfile b/fastlane/Gymfile
index b774aae..4d92c50 100644
--- a/fastlane/Gymfile
+++ b/fastlane/Gymfile
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/fastlane/README.md.license b/fastlane/README.md.license
index 51be8b0..f7a66ff 100644
--- a/fastlane/README.md.license
+++ b/fastlane/README.md.license
@@ -1,5 +1,5 @@
-This source file is part of the Stanford CardinalKit Template Application project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2023 Stanford University
diff --git a/fastlane/Scanfile b/fastlane/Scanfile
index 03c1ef6..3bd1403 100644
--- a/fastlane/Scanfile
+++ b/fastlane/Scanfile
@@ -1,5 +1,5 @@
#
-# This source file is part of the Stanford CardinalKit Template Application project
+# This source file is part of the Stanford OwnYourData Application project
#
# SPDX-FileCopyrightText: 2023 Stanford University
#
diff --git a/firebase.json.license b/firebase.json.license
index b15600d..a6aac69 100644
--- a/firebase.json.license
+++ b/firebase.json.license
@@ -1,4 +1,4 @@
-This source file is part of the CardinalKit open-source project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)
diff --git a/firestore.rules.license b/firestore.rules.license
index b15600d..a6aac69 100644
--- a/firestore.rules.license
+++ b/firestore.rules.license
@@ -1,4 +1,4 @@
-This source file is part of the CardinalKit open-source project
+This source file is part of the Stanford OwnYourData Application project
SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)