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

Specific Upload Error Handling #51

Merged
merged 4 commits into from
Feb 27, 2024
Merged

Specific Upload Error Handling #51

merged 4 commits into from
Feb 27, 2024

Conversation

MatthewTurk247
Copy link
Collaborator

Specific Upload Error Handling

♻️ Current situation & Problem

Previously, uploads of HKQuantityTypeIdentifierPhysicalEffort were throwing errors before the other samples could be uploaded.

⚙️ Release Notes

Now that there is separation of concerns between computing properties of ECGs and uploading them, valid samples will still be successfully uploaded, even if other samples throw HealthKitOnFHIR.HealthKitOnFHIRError.notSupported.

📚 Documentation

Next steps will involve adding new support for some samples to HealthKitOnFHIR and updating the documentation of supported quantity sample types.

✅ Testing

Uploaded requests can be viewed in the Mock Web Service tab while debugging.

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 28.17%. Comparing base (d75ecce) to head (f271690).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #51      +/-   ##
==========================================
- Coverage   28.26%   28.17%   -0.09%     
==========================================
  Files          34       34              
  Lines        1228     1232       +4     
==========================================
  Hits          347      347              
- Misses        881      885       +4     
Files Coverage Δ
PAWS/PAWSStandard.swift 3.52% <0.00%> (-0.07%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d75ecce...f271690. Read the comment docs.

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

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

Thank you @MatthewTurk247; I added some first feedback in the PR 🚀

PAWS/PAWSStandard.swift Outdated Show resolved Hide resolved
@PSchmiedmayer PSchmiedmayer merged commit 2e271bb into main Feb 27, 2024
6 of 7 checks passed
@PSchmiedmayer PSchmiedmayer deleted the supplemental-upload branch February 27, 2024 23:19
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.

2 participants