-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use custom SQL query in FHIR Engine #1950
Comments
@jingtang10 Here is the snippet of the draft issue which should try and answer some questions and/or provide the context Describe the solution you'd like
Describe alternatives you've considered
Both solutions improved the performance it still take some seconds even for patient lists with less data points on a moderate device. The device is Blu G60 with 3 GB RAM, 64 GB ROM, Octa-core 1.6 GHz and running on Android 9. Writing our own queries to consolidate some of the operations further imporved the performance by more than 50% Example queries used to improve performance
Query allows us to fetch the
Query fetches group members whose birthdate if from X years ago eg. 5 years ago directly with For our specific use case, we'd benefit more if we could cache the specific data points that we frequently access a lot and I believe Arun had expressed an idea that was related to some tasking stuff he was working on |
Is this still needed @ekigamba? Seems we don't need this any more with the performance work we've done? |
We don't need this at this point. We can close this |
Is your feature request related to a problem? Please describe.
See comment in opensrp/fhircore#2066 (comment):
Describe the solution you'd like
Provide an API so that developers can write custom SQL queries to search the offline FHIR Engine database.
Describe alternatives you've considered
@ekigamba can you please provide some examples of the custom queries you need to write? And we can see if there're any alternative approach we can take.
Additional context
opensrp/fhircore#2066
Would you like to work on the issue?
Potentially
The text was updated successfully, but these errors were encountered: