Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[health] Add support for RESPIRATORY_RATE and PERIPHERAL_PERFUSION_INDEX #579

Merged
merged 5 commits into from
Jul 20, 2023

Conversation

xjodoin
Copy link
Contributor

@xjodoin xjodoin commented Jul 14, 2022

No description provided.

@xjodoin xjodoin changed the title Add support for RESPIRATORY_RATE and PERIPHERAL_PERFUSION_INDEX [health] Add support for RESPIRATORY_RATE and PERIPHERAL_PERFUSION_INDEX Jul 14, 2022
@@ -254,6 +260,7 @@ enum HealthDataUnit {

// Other units
BEATS_PER_MINUTE,
RESPIRATIONS_PER_MINUTE,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RESPIRATIONS_PER_MINUTE,
COUNT_PER_MINUTE,

all future /minute types could make use of it then. Just my opinion, I don't own or work on this repository

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I followed the heart rate pattern

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, mainly wanted to raise the discussion here. The heart rate is something that cannot be changed without breaking compatibility that's why I thought this might be worth a thought

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For now we have so few data types with this that I think it is okay to have some overlap, especially since the data type can be used to display additional context as in the example app. If the number of similar data types grows, this topic should be revisited.

@hoffmatteo hoffmatteo self-assigned this Jul 18, 2023
@hoffmatteo hoffmatteo changed the base branch from master to dev-health July 18, 2023 19:07
@hoffmatteo hoffmatteo merged commit b2114ab into cph-cachet:dev-health Jul 20, 2023
1 check passed
@hoffmatteo
Copy link
Contributor

Thank you for the PR, it will be included in the upcoming release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants