theproductivepickle
theproductivepickle

Reputation: 79

Adding FHIR to wearOS project

I am trying to add FHIR to my wearOS app, using Google's Open Health Stack SDK. I have been following this guide: https://google.github.io/android-fhir/use/FEL/Getting-started/

When I add the dependency and exclude resources, I get a duplicate class error: "Duplicate class org.apache.commons.logging.Log found in modules commons-logging-1.2.jar -> commons-logging-1.2 (commons-logging:commons-logging:1.2) and jcl-over-slf4j-1.7.30.jar -> jcl-over-slf4j-1.7.30 (org.slf4j:jcl-over-slf4j:1.7.30)"

I have looked around for a solution, but I mostly get something like clearing my cache which I have tried without luck.

Does anyone know of a solution?

Furthermore, I have tried some different ways of implementing FHIR, using both Open Health Stack and HAPI FHIR. I keep running into different compile errors or deprecated imports. Does anyone know of a repo, guide or something like that, which shows a full run through the implementation?

My use case is: I need to set the app user as a patient I need to continuously register health data from a watch to FHIR documents. Probably using Observations as far as I've come. I need to send this data to an AWS server.

Upvotes: 0

Views: 31

Answers (0)

Related Questions