mycoralhealth / mycoral-patient

Mobile app for patients to interact with Coral Health blockchain
17 stars 7 forks source link

Feature/graph view #70

Closed grcevski closed 6 years ago

grcevski commented 6 years ago

Changes in this PR:

New record type, Vital Signs:

Added support for min/max values for record fields, applies to vital signs only for now.

Added cached store of record types on device along with basic metadata information to speed up chart filtering and creation. The schema for the cached value is: { "encryptionInfo": <the same key/iv stored by the regular record store> "hash": "time":

Moved the add records button up to allow for more records to be added without hiding the button.

Added the View Charts button:

Bugfix: If you try to decrypt more than one record at a time you'd hit a URI exception because the md5 file name would often collide. Changed the md5 name to be based off a snowflake id rather than the current time.

Issues concerning the graph:

We could allow horizontal scrolling for the graph, but that might appear to be messy. Wanted to get opinions on it.

@nosequeldeebee @grcevski

coryheath commented 6 years ago

:shipit: This branch has been deployed to: https://expo.io/@mycoralhealthdev/mycoral-patient-feature-graph-view

Download the Expo app and scan this QR code to get started!

QR Code