carekit-apple / CareKit

CareKit is an open source software framework for creating apps that help people better understand and manage their health.
https://www.researchandcare.org
Other
2.4k stars 445 forks source link

Changes in care plan #63

Closed scdi closed 8 years ago

scdi commented 8 years ago

The documentation for CareKit seems to indicate that if one wants to change what is a Careplan, the old care plan has to be deleted and a new one instantiated. If that is the case, Carekit would be impractical as in real life care plan changes occur all the time (say take this medication A 2 times a day to take a different medication B 5 times a day). See statement "As you iteratively develop and test your app, you often need to change the design of your treatment plan. This usually means removing the old activities before you can add new ones." http://carekit.org/docs/docs/AccessingCarePlanData/AccessingCarePlanData.html

YuanZhu-apple commented 8 years ago

@scdi You can end your old activity with an end date and add a new activity with a different identifier. So their identifiers are not conflict. I also recommend you to let both of them share the same group identifier, so you can trace them.

scdi commented 8 years ago

Yuan, thank you. That makes sense. Is there also a way to add a new medication while keeping a previous one without recoding. It seems that each medication would be hard coded at this time.

On Fri, Jun 10, 2016 at 5:35 PM, Yuan Zhu notifications@github.com wrote:

@scdi https://github.com/scdi You can end your old activity with an end date and add a new activity with a different identifier. So their identifiers are not conflict. I also recommend you to let both of them share the same group identifier, so you can trace them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/carekit-apple/CareKit/issues/63#issuecomment-225301804, or mute the thread https://github.com/notifications/unsubscribe/AM6vrwuJZQL2Km7jAYmDto5Gm42vBIdIks5qKdiogaJpZM4IvHLY .

YuanZhu-apple commented 8 years ago

@scdi Medication itself is not an activity. An activity is more like a prescription. You can hard code medication, but medication + start + end + schedule makes an activity.

scdi commented 8 years ago

Yuan: Thank you so much. That is helpful. Thanks for taking the time to explain. jude

On Sat, Jun 11, 2016 at 2:10 PM, Yuan Zhu notifications@github.com wrote:

@scdi https://github.com/scdi Medication itself is not an activity. An activity is more like a prescription. You can hard code medication, but medication + start + end + schedule makes an activity.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/carekit-apple/CareKit/issues/63#issuecomment-225381125, or mute the thread https://github.com/notifications/unsubscribe/AM6vrw_sU8S0MHyV1POUtFG0xzciYwnYks5qKvoFgaJpZM4IvHLY .

scdi commented 8 years ago

Yuan:

Can a healthkit store be used on iPad devices to store data collected with CareKit?

On Fri, Jun 10, 2016 at 5:35 PM, Yuan Zhu notifications@github.com wrote:

@scdi https://github.com/scdi You can end your old activity with an end date and add a new activity with a different identifier. So their identifiers are not conflict. I also recommend you to let both of them share the same group identifier, so you can trace them.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/carekit-apple/CareKit/issues/63#issuecomment-225301804, or mute the thread https://github.com/notifications/unsubscribe/AM6vrwuJZQL2Km7jAYmDto5Gm42vBIdIks5qKdiogaJpZM4IvHLY .

YuanZhu-apple commented 8 years ago

@scdi No.