ctsms icon indicating copy to clipboard operation
ctsms copied to clipboard

DDC (direct data capture) support

Open rkrenn opened this issue 2 years ago • 4 comments

after long discussions, we try to avoid implementin a (android/iOS) app for DDC.

instead, we will introduce a "Synchronize" service or job, which can be activated for a trial (one shot or periodic etc.).

this job is supposed to synchronize eCRF data between 2 Phoenix CTMS instances via Rest-API.

For DDC, the mobile device will then run a local Phoenix instance, which will synchronize with the central one.

rkrenn avatar Oct 04 '22 19:10 rkrenn

@rkrenn We're implementing this using Apple's ResearchKit, it's working well so far.

josharmenta avatar Oct 09 '22 21:10 josharmenta

so you implemented a dedicated iOS app using ResearchKit framework. does it use a synchronization implementation toward the Phoenix Rest-API, like outlined in https://github.com/carekit-apple/CareKit/issues/322 ?

sounds like quite some work!

rkrenn avatar Oct 09 '22 23:10 rkrenn

Yes I got it working the other day. I need to refactor it majorly to sanitize it of anything specific to our trials (and get our app done first), but once that happens I'll put it up on our GH page, along with a few other things that we've set up for Phoenix. Basically I wrote a library that wraps the API calls and did a circular buffer from the ResearchKit survey module.

josharmenta avatar Oct 10 '22 01:10 josharmenta

In the future we're planning to pull data from the watches too and upload those into Phoenix, when we get there, I'll let you know and post that repo as well.

josharmenta avatar Oct 10 '22 01:10 josharmenta