Replies: 2 comments
-
@rkodev Would another way to approach this be to:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The search API is designed to only return results of a single resource type, i.e the search can only return a list of
Patients
or a list ofTasks
but not both at the same.Currently, for the Patient register in the Covax app, we need to use both the
Patient
andTask
resources to display the patient list. One of the ways to do this in the app would bea) Strategy 1: Execute 2 queries before displaying results on the screen
Patient
resources by the given idsb) Strategy 2 Lazy loading data in the Patient Register
We can also have a discussion on whether the
SDK
will be able to search and return compositeResources
in the same query** Edited to replace the word status with tasks
Beta Was this translation helpful? Give feedback.
All reactions