You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will extract the relevant medication from patient health data they have given Intake access to.
Problem
This feature will obtain patient medication information automatically, preventing them from having to fill out this information from scratch.
Solution
The feature should be able to query the HealthKit data collected and retrieve relevant medications, dose amount, and intake method and return this in the form of a nested list.
Alternatives considered
Ideally patient medication information will be able to be extracted. However, in the case that no medication data is retrieved or the patient did not provide access to their health data, an alternative method of a blank dynamic table for the patient to fill out would be considered.
Additional context
No response
Code of Conduct
I agree to follow this project's Code of Conduct and Contributing Guidelines
The text was updated successfully, but these errors were encountered:
# Working Medications View with Sample Patient Data and Updating Global
Environment Variable
## ♻️ Current situation & Problem
#21
Previously, the medications view would only pull the display name from
the medications fhir resource. This was problematic in several ways--the
UI was not developed, patient medications could be added that weren't
accurate, and there was no additional information beyond the display
name.
## ⚙️ Release Notes
- Updated the patient medication data to be filtered by only including
outpatient and activate medications (like from llmonfhir)
- Modified existing code from SpeziMedications to create structs
specific to Intake such as IntakeMedications and IntakeDosage
- Updated medicationOptions to represent some of the top mock patient
medications
- Updated a MedicationSettingsViewModel to initialize with existing mock
patient medications including dosage, intake method, and dose frequency
- Added compatibility to global variable
## 📚 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/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md):
- [x ] I agree to follow the [Code of
Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
and [Contributing
Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md).
Use Case
This will extract the relevant medication from patient health data they have given Intake access to.
Problem
This feature will obtain patient medication information automatically, preventing them from having to fill out this information from scratch.
Solution
The feature should be able to query the HealthKit data collected and retrieve relevant medications, dose amount, and intake method and return this in the form of a nested list.
Alternatives considered
Ideally patient medication information will be able to be extracted. However, in the case that no medication data is retrieved or the patient did not provide access to their health data, an alternative method of a blank dynamic table for the patient to fill out would be considered.
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: