Stream: android
Topic: Coroutine, threads, web request (kotlin)
Morris Miltz (Apr 06 2021 at 13:35):
Hello, im new to this so pls be kind :)
I want to get patient data from a test server and display it in my app. For this i realized that i need a "coroutine". Is there any guidance or specification on how to do this in relation to FHIR?
Thanks in advance
Aditya Kurkure (Apr 06 2021 at 14:23):
What are you using to make the request? hapi android client, Retrofit or volley?
Morris Miltz (Apr 06 2021 at 14:41):
I'm using this implementations: "ca.uhn.hapi.fhir:hapi-fhir-android:5.3.0" and "ca.uhn.hapi.fhir:hapi-fhir-structures-r4:5.3.0"
so i think its the hapi android client
Aditya Kurkure (Apr 06 2021 at 15:24):
Morris Miltz said:
I'm using this implementations: "ca.uhn.hapi.fhir:hapi-fhir-android:5.3.0" and "ca.uhn.hapi.fhir:hapi-fhir-structures-r4:5.3.0"
so i think its the hapi android client
Sorry I'm not familiar with that library I think you may have better luck here #hapi
Morris Miltz (Apr 06 2021 at 17:06):
Aditya Kurkure said:
Morris Miltz said:
I'm using this implementations: "ca.uhn.hapi.fhir:hapi-fhir-android:5.3.0" and "ca.uhn.hapi.fhir:hapi-fhir-structures-r4:5.3.0"
so i think its the hapi android clientSorry I'm not familiar with that library I think you may have better luck here #hapi
Thank you
Jing Tang (Apr 07 2021 at 11:39):
if you need to store the data on your android device you may want to take a look at https://github.com/google/android-fhir
Last updated: Apr 12 2022 at 19:14 UTC