You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, it isn't possible to perform complex search operations where you can filter resources by combining AND and OR operations.
Describe the solution you'd like
The SDK search functionality should be extended to support complex search filter operations such as searching for active patients whose name contains the search term OR identifier is equal to the search term/value.
fhirEngine.search<Patient> {
filter(Patient.Active, {
value ="true"
modifier =StringFilterModifier.MATCHES_EXACTLY
})
operation(Operation.OR) {
filter(Patient.GIVEN, {
value ="Jay"
modifier =StringFilterModifier.CONTAINS
})
operation(Operation.AND) {
filter(Patient.IDENTIFIER, {
value ="Jay"
modifier =StringFilterModifier.CONTAINS
})
filter(Patient.IDENTIFIER, {
value ="Official"
modifier =StringFilterModifier.CONTAINS
})
}
}
operation =AND
}
The preferred implementation is to use the operation = AND|OR added to each filter.
Each filter can have sub-filters, with a function to group filters together.
Is your feature request related to a problem? Please describe.
Currently, it isn't possible to perform complex search operations where you can filter resources by combining AND and OR operations.
Describe the solution you'd like
The SDK search functionality should be extended to support complex search filter operations such as searching for
active patients whose name contains the search term OR identifier is equal to the search term/value
.The preferred implementation is to use the operation = AND|OR added to each filter.
Each filter can have sub-filters, with a function to group filters together.
Describe alternatives you've considered
StringIndexEntity
table.Additional context
Add any other context or screenshots about the feature request here.
Would you like to work on the issue?
Please state if this issue should be assigned to you or who you think could help to solve this issue.
The text was updated successfully, but these errors were encountered: