Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: StanfordBDHG/ENGAGE-HF-Firebase
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.0
Choose a base ref
...
head repository: StanfordBDHG/ENGAGE-HF-Firebase
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.3.0
Choose a head ref
  • 13 commits
  • 68 files changed
  • 4 contributors

Commits on Sep 11, 2024

  1. Setup Deployment (#130)

    # *Setup Deployment
    
    ## ⚙️ Release Notes 
    - Sets up the deployment for a development, staging, and production
    environment.
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    PSchmiedmayer authored Sep 11, 2024
    Copy the full SHA
    4ad861b View commit details
  2. Fix Deployment Actions (#135)

    # Fix Deployment Actions
    
    ## ⚙️ Release Notes 
    - Fixes README and rename deployment action yml.
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    PSchmiedmayer authored Sep 11, 2024
    Copy the full SHA
    071dc01 View commit details
  3. Fix README (#136)

    # Fix README
    
    ## ⚙️ Release Notes 
    - Fix README
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    PSchmiedmayer authored Sep 11, 2024
    Copy the full SHA
    77e25bd View commit details
  4. Copy the full SHA
    a44c955 View commit details
  5. Indexes doc (#124)

    pauljohanneskraft authored Sep 11, 2024
    Copy the full SHA
    b360708 View commit details
  6. Copy the full SHA
    07a5681 View commit details

Commits on Sep 16, 2024

  1. Android Notification Updates (#137)

    # Android Notification Updates
    
    ## ♻️ Current situation & Problem
    This PR will collect all the changes necessary to make Android push
    notifications work as expected. @Basler182 let me know if there are more
    changes needed!
    
    
    ## ⚙️ Release Notes 
    *Add a bullet point list summary of the feature and possible migration
    guides if this is a breaking change so this section can be added to the
    release notes.*
    *Include code snippets that provide examples of the feature implemented
    or links to the documentation if it appends or changes the public
    interface.*
    
    
    ## 📚 Documentation
    *Please ensure that you properly document any additions in conformance
    to [Spezi Documentation
    Guide](https://github.com/StanfordSpezi/.github/blob/main/DOCUMENTATIONGUIDE.md).*
    *You can use this section to describe your solution, but we encourage
    contributors to document your reasoning and changes using in-line
    documentation.*
    
    
    ## ✅ Testing
    *Please ensure that the PR meets the testing requirements set by CodeCov
    and that new functionality is appropriately tested.*
    *This section describes important information about the tests and why
    some elements might not be testable.*
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    pauljohanneskraft authored Sep 16, 2024
    Copy the full SHA
    aac3939 View commit details
  2. Update invitation logic (#109)

    # Update invitation logic
    
    ## ♻️ Current situation & Problem
    After some discussions and troubleshooting with Firebase support, we are
    ready to update our invitation logic to make sure patient data is
    securely stored.
    
    
    ## ⚙️ Release Notes 
    *Add a bullet point list summary of the feature and possible migration
    guides if this is a breaking change so this section can be added to the
    release notes.*
    *Include code snippets that provide examples of the feature implemented
    or links to the documentation if it appends or changes the public
    interface.*
    
    
    ## 📚 Documentation
    *Please ensure that you properly document any additions in conformance
    to [Spezi Documentation
    Guide](https://github.com/StanfordSpezi/.github/blob/main/DOCUMENTATIONGUIDE.md).*
    *You can use this section to describe your solution, but we encourage
    contributors to document your reasoning and changes using in-line
    documentation.*
    
    
    ## ✅ Testing
    *Please ensure that the PR meets the testing requirements set by CodeCov
    and that new functionality is appropriately tested.*
    *This section describes important information about the tests and why
    some elements might not be testable.*
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    pauljohanneskraft authored Sep 16, 2024
    Copy the full SHA
    cc09c8d View commit details

Commits on Sep 22, 2024

  1. Copy the full SHA
    9a94270 View commit details
  2. Copy the full SHA
    cd56c71 View commit details

Commits on Sep 25, 2024

  1. Make sure to correctly allow access to user collections (#144)

    # Make sure to correctly allow access to user collections
    
    ## ♻️ Current situation & Problem
    @arkadiuszbachorski noticed that clinicians and/or owners do not have
    the expected access to some user collections. This PR should address
    this and safeguard future changes to the Firestore rules with a
    regression test.
    
    
    ## ⚙️ Release Notes 
    *Add a bullet point list summary of the feature and possible migration
    guides if this is a breaking change so this section can be added to the
    release notes.*
    *Include code snippets that provide examples of the feature implemented
    or links to the documentation if it appends or changes the public
    interface.*
    
    
    ## 📚 Documentation
    *Please ensure that you properly document any additions in conformance
    to [Spezi Documentation
    Guide](https://github.com/StanfordSpezi/.github/blob/main/DOCUMENTATIONGUIDE.md).*
    *You can use this section to describe your solution, but we encourage
    contributors to document your reasoning and changes using in-line
    documentation.*
    
    
    ## ✅ Testing
    *Please ensure that the PR meets the testing requirements set by CodeCov
    and that new functionality is appropriately tested.*
    *This section describes important information about the tests and why
    some elements might not be testable.*
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    pauljohanneskraft authored Sep 25, 2024
    Copy the full SHA
    8bd8b0a View commit details

Commits on Sep 27, 2024

  1. Feature Docker Container (#145)

    # *Feature Docker*
    
    ## ♻️ Current situation & Problem
    Currently, setting up Firebase emulators requires manual installation
    and platform-specific scripts, which can cause issues, especially on
    Windows. This complicates the development process across different
    environments.
    
    
    ## ⚙️ Release Notes 
    
    - Added a Docker setup for Firebase emulators with a `Dockerfile` and
    `docker-compose.yml` for easier cross-platform usage, especially on
    Windows.
    - Updated `README.md` with instructions on using Docker for emulators.
    - Modified `serve:seeded` script in `functions/package.json` to handle
    execution inside Docker containers.
    
    
    ![image](https://github.com/user-attachments/assets/2dcf33d9-fdce-4b7b-9c61-5320d3bcc078)
    
    
    ![image](https://github.com/user-attachments/assets/93cec4d6-31df-4a15-a2c6-2ddb3187eb3c)
    
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    Basler182 authored Sep 27, 2024
    Copy the full SHA
    430235f View commit details

Commits on Oct 1, 2024

  1. Seed clinician messages (#142)

    # Seed clinician messages
    
    ## ♻️ Current situation & Problem
    As a part of dev process, it's great to see all possible messages. This
    is very minimal implementation of clinician messages seed.
    
    
    ### Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md):
    - [x] I agree to follow the [Code of
    Conduct](https://github.com/StanfordBDHG/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/StanfordBDHG/.github/blob/main/CONTRIBUTING.md).
    arkadiuszbachorski authored Oct 1, 2024
    Copy the full SHA
    488c829 View commit details
Showing with 2,042 additions and 1,123 deletions.
  1. +0 −26 .github/workflows/beta-deployment.yml
  2. +78 −0 .github/workflows/build-and-test.yml
  3. +38 −0 .github/workflows/codeql.yml
  4. +86 −0 .github/workflows/deployment.yml
  5. +0 −50 .github/workflows/lintbuildandtest.yml
  6. +18 −0 .github/workflows/monthly-markdown-link-check.yml
  7. +19 −5 .github/workflows/{release-models-package.yml → production.yml}
  8. +0 −18 .github/workflows/reuse.yml
  9. +15 −0 Dockerfile
  10. +5 −0 Dockerfile.license
  11. +48 −24 README.md
  12. +21 −0 docker-compose.yml
  13. +5 −0 docker-compose.yml.license
  14. +1 −1 firebasestorage.rules
  15. +8 −6 firestore.rules
  16. +47 −24 functions/data/debug/users.json
  17. +47 −39 functions/models/package-lock.json
  18. +12 −1 functions/models/src/fhir/fhirAppointment.ts
  19. +4 −6 functions/models/src/functions/{checkInvitationCode.ts → enrollUser.ts}
  20. 0 functions/{src/extensions → models/src/helpers}/array.ts
  21. +2 −1 functions/models/src/index.ts
  22. +0 −5 functions/models/src/types/invitation.ts
  23. +6 −0 functions/models/src/types/user.ts
  24. +107 −6 functions/models/src/types/userMessage.ts
  25. +5 −0 functions/models/src/types/userRegistration.ts
  26. +494 −402 functions/package-lock.json
  27. +1 −1 functions/package.json
  28. +44 −3 functions/src/functions/blocking.ts
  29. +0 −70 functions/src/functions/checkInvitationCode.ts
  30. +3 −0 functions/src/functions/createInvitation.test.ts
  31. +124 −192 functions/src/functions/defaultSeed.ts
  32. +1 −0 functions/src/functions/deleteInvitation.test.ts
  33. +10 −9 functions/src/functions/{checkInvitationCode.test.ts → enrollUser.test.ts}
  34. +40 −0 functions/src/functions/enrollUser.ts
  35. +8 −3 functions/src/healthSummary/generate+localizations.ts
  36. +1 −1 functions/src/healthSummary/generate.test.ts
  37. +5 −9 functions/src/healthSummary/generate.ts
  38. +1 −1 functions/src/healthSummary/generateChart.test.ts
  39. +1 −1 functions/src/healthSummary/generateSpeedometer.test.ts
  40. +1 −1 functions/src/index.ts
  41. +3 −2 functions/src/models/healthSummaryData.ts
  42. +1 −1 functions/src/services/healthSummary/databaseHealthSummaryService.test.ts
  43. +3 −5 functions/src/services/healthSummary/databaseHealthSummaryService.ts
  44. +10 −2 functions/src/services/healthSummary/healthSummaryService.mock.ts
  45. +15 −21 functions/src/services/message/defaultMessageService.ts
  46. +1 −1 functions/src/services/patient/databasePatientService.ts
  47. +18 −7 functions/src/services/patient/patientService.mock.ts
  48. +1 −1 functions/src/services/recommendation/recommenders/betaBlockerRecommender.test.ts
  49. +2 −2 functions/src/services/recommendation/recommenders/diureticRecommender.test.ts
  50. +3 −3 functions/src/services/recommendation/recommenders/rasiRecommender.test.ts
  51. +1 −1 functions/src/services/recommendation/recommenders/recommender.ts
  52. +3 −3 functions/src/services/recommendation/recommenders/sglt2iRecommender.test.ts
  53. +37 −1 functions/src/services/seeding/debugData/debugDataService.ts
  54. +1 −1 functions/src/services/symptomScore/defaultSymptomScoreCalculator.ts
  55. +249 −20 functions/src/services/trigger/triggerService.test.ts
  56. +115 −37 functions/src/services/trigger/triggerService.ts
  57. +3 −15 functions/src/services/user/databaseUserService.test.ts
  58. +63 −46 functions/src/services/user/databaseUserService.ts
  59. +11 −34 functions/src/services/user/userService.mock.ts
  60. +2 −4 functions/src/services/user/userService.ts
  61. +8 −2 functions/src/tests/functions/testEnvironment.ts
  62. +25 −0 functions/src/tests/mocks/firestore.ts
  63. +2 −1 functions/src/tests/mocks/healthSummaryData.ts
  64. BIN functions/src/tests/resources/emptyHealthSummary.pdf
  65. BIN functions/src/tests/resources/mockHealthSummary.pdf
  66. +22 −7 functions/src/tests/resources/seeding/users_0_messages.json
  67. +136 −0 functions/src/tests/rules/userCollections.test.ts
  68. +1 −1 functions/src/tests/rules/users.test.ts
26 changes: 0 additions & 26 deletions .github/workflows/beta-deployment.yml

This file was deleted.

78 changes: 78 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
#
# This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Build and Test

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
pull_request:
workflow_dispatch:
workflow_call:

jobs:
reuseaction:
name: REUSE Compliance Check
uses: StanfordBDHG/.github/.github/workflows/reuse.yml@v2
markdownlinkcheck:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Git LFS Pull
run: git lfs pull
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.6.x
- name: Install Dependencies
run: npm run install
- name: Build
run: npm run build
- name: Lint
run: npm run lint:strict
permissions:
contents: read
buildandtest:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Git LFS Pull
run: git lfs pull
- name: Use Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.6.x
- name: Install Dependencies
run: npm run install
- name: Install Firebase CLI
run: npm install -g firebase-tools
- name: Build
run: npm run build
- name: Test
id: test
run: npm run test:ci
- name: Archive Regenerated Test Results
uses: actions/upload-artifact@v4
with:
name: test results
path: functions/src/tests/resources
permissions:
contents: read
38 changes: 38 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: CodeQL

on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 8 * * 1'

jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
permissions:
security-events: write
packages: read
actions: read
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript-typescript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
86 changes: 86 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
#
# This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Deployment

on:
push:
branches:
- main
workflow_dispatch:
inputs:
environment:
description: |
The GitHub deployment environment.
required: true
default: 'development'
type: choice
options:
- development
- staging
- production
workflow_call:
inputs:
environment:
description: |
The GitHub deployment environment.
required: false
type: string
default: development

concurrency:
group: deployment
cancel-in-progress: false

jobs:
determineenvironment:
name: Determine Environment
runs-on: ubuntu-latest
outputs:
environment: ${{ steps.set-env.outputs.environment }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Determine Environment
id: set-env
run: |
if [[ -z "${{ inputs.environment }}" ]]; then
echo "environment=staging" >> $GITHUB_OUTPUT
else
echo "environment=${{ inputs.environment }}" >> $GITHUB_OUTPUT
fi
vars:
name: Inject Environment Variables In Deployment Workflow
needs: determineenvironment
runs-on: ubuntu-latest
environment: ${{ needs.determineenvironment.outputs.environment }}
outputs:
FIREBASE_PROJECT_ID: ${{ vars.FIREBASE_PROJECT_ID }}
steps:
- run: |
echo "Injecting Environment Variables In Deployment Workflow: ${{ vars.FIREBASE_PROJECT_ID }}"
buildandtest:
name: Build and Test
needs: determineenvironment
uses: ./.github/workflows/build-and-test.yml
permissions:
contents: read
checks: write
secrets: inherit
deployfirebase:
name: Deploy Firebase Project
needs: [buildandtest, determineenvironment, vars]
uses: StanfordBDHG/.github/.github/workflows/firebase-deploy.yml@v2
permissions:
contents: read
with:
customcommand: "npm run install"
environment: ${{ needs.determineenvironment.outputs.environment }}
arguments: '--project ${{ needs.vars.outputs.FIREBASE_PROJECT_ID }}'
secrets:
GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }}
50 changes: 0 additions & 50 deletions .github/workflows/lintbuildandtest.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/monthly-markdown-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#
# This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Monthly Markdown Link Check

on:
schedule:
- cron: '0 8 1 * *'

jobs:
markdown_link_check:
name: Markdown Link Check
uses: StanfordBDHG/.github/.github/workflows/markdown-link-check.yml@v2
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
#
# This source file is part of the ENGAGE-HF project based on the Stanford Spezi Template Application project
# This source file is part of the Stanford Biodesign Digital Health ENGAGE-HF open-source project
#
# SPDX-FileCopyrightText: 2023 Stanford University
# SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CONTRIBUTORS.md)
#
# SPDX-License-Identifier: MIT
#

name: Release Models Package
name: Production Deployment

on:
release:
types: [published]
workflow_dispatch:

concurrency:
group: production
cancel-in-progress: false

jobs:
build:
deployment:
name: Production Deployment
uses: ./.github/workflows/deployment.yml
permissions:
contents: read
actions: read
security-events: write
secrets: inherit
with:
environment: production
publishpackage:
name: Publish Package
runs-on: ubuntu-latest
permissions:
contents: read
@@ -25,7 +40,6 @@ jobs:
working-directory: ./functions/models
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '22.x'
18 changes: 0 additions & 18 deletions .github/workflows/reuse.yml

This file was deleted.

15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:22-bullseye-slim

RUN apt update -y && apt install -y openjdk-11-jdk bash curl

RUN npm install -g firebase-tools

COPY . .

RUN npm run prepare

EXPOSE 5001 9099 8080 9199 4000

ENV IN_DOCKER_CONTAINER=true

ENTRYPOINT ["/bin/bash", "-c", "npm run serve:seeded && sleep infinity"]
5 changes: 5 additions & 0 deletions Dockerfile.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This source file is part of the ENGAGE-HF project based on the Stanford Spezi Template Application project

SPDX-FileCopyrightText: 2022 Stanford University and the project authors (see CONTRIBUTORS.md)

SPDX-License-Identifier: MIT
Loading