I am new in building apps on top of openEHR. I want to make a showcase for my bosses in my Hospital. So I started to setup an EHRBase server (thanks Vitagroup). And I build on top an app with Medblocks-UI (Thanks Sitharth and Vipin).
Now I want to build an IOS app to synchronize my information within HealthKIT to openEHR.
Is there someone who allready did this and can provide me some codes?
Are there allready Templates available for HealthKIT, etc?
How are you doing the integration, With Fhir or openEHR APIs?
I am very curious If you have information about this and want to share to the community.
Look at the source code for integration tests in EhrBase’s github repo (there are some calls to rest apis there). I think Vita team also wrote some nice docs.
The simplest thing you can do is to build an ios app that makes a call to EhrBase rest endpoints.
From your questions, I’m getting the feeling you may not be entirely familiar with all the concepts that needs to come together here, so you may want to keep things as simple as possible. There’s nothing wrong with that, sorry if I misunderstood your level/background, no offence intended.
First implement a non mobile piece of code that makes the necessary calls to rest apis (create EHR, create composition, query composition) using the test codes as a guide. Then look for the simplest way to do the same in iOS.
I would not do it if I’m developing the ‘app’. Opening the app to others is a next step that may never come. Why tackle the complexity from the get go?
Every change would have to go through the extra step of updating the bidirectional mappings, and changes are most frequent at the beginning. All of that will just delay discovery/delivery loop.
I agree with you, it is a show vase, so keep it simple. Because this showcase will never go in production. I was more looking for people who actual did this already. If no i will follow your tips to look at the ehrbase documentation
Ps i am not offend at all. I am an enterprise architect not an developer. This is more hobby!
Better did have an open source Healthkit demonstrator ? 10 years ago but the repo is not there any more. I do have a local copy but TBH it is so old and outdated, I would doubt if it is much help. I did have a look at the objective(yuck)-c code but could not find anything of interest.
Not withstanding @Seref excellent advice about leaving FHIR out of the pipeline, this might help orientate on how to make HealthKit work with a more familiar standards space
HealthKit internally has a very device/wellness approach to data that I find difficult.
I might start with the MS code and retrofit direct openEHR API calls