-
Notifications
You must be signed in to change notification settings - Fork 442
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
Group items in CareCard and SymptomTracker Views #57
Comments
Hey @ninoguba , Do you need further assistance with this issue? |
@akshay-yadav-apple @YuanZhu-apple can we tag this as an enhancement request? #51 i agree can be related to this as that asks to control the display order while this asks for displaying group headings, both pertaining to the activities that show on the care card and symptom tracker. |
I was just able to group my activities on the Symptom Tracker and control their display order a bit a hackish way by modifying and adding the necessary UITableViewDelegate and UITableViewDataSource methods in OCKSymptomTrackerViewController.m directly. I was also able to change the font size and colors of the table view cells and headers. If others need help on this I can share the code. I can work on making my custom code more generic and will contribute it back when I get the chance if there is any interest. |
Hi @ninoguba Thanks! |
@ninoguba Thanks Nino for your quick response! I am researching use of the FHIR CarePlan standard to define all content of a care plan, and a generalized app that can read the care plan from any FHIR server, map to CareKit data structure, and present to the user. I am interested in grouping both interventions and assessments in CareKit UI using categories from FHIR CarePlan. |
@xmlmodeling that is a worthwhile effort. I suggest extending the Care Card and Symptom Tracker view controllers or its delegates to support displaying the events with dynamic groupings and sort orders. Let me know if you need help on this. |
It would be great if the activities that appear in both the Care Card and Symptom Tracker views can be grouped based on the CarePlan Activity's group identifier.
And to go further, it would be ideal if the order of these groups and items can be programmatically controlled.
The text was updated successfully, but these errors were encountered: