☰ Scenario Search for Patients that have a Family Name containing "Mustermann" and Birthdate >= 1955-06-20, group by _count
When Post FHIR search request to "http://fhirserver/Patient/_search" with content type "json" and parameters:
| family:contains | birthdate | _count |
| Mustermann | ge1955-06-20 | ${data.search-count} |
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0 and entry.resource.count() <= ${data.search-count}' with error message 'No search results were found'
INFO
entry.resource.count() > 0 and entry.resource.count() <= 20
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "entry.resource.all(name.family.where($this.contains('Mustermann')).exists())" with error message 'There are search results, but they do not fully match the search criteria'
INFO
entry.resource.all(name.family.where($this.contains('Mustermann')).exists())
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "entry.resource.all(birthDate >= @1955-06-20)" with error message 'There are search results, but they do not fully match the search criteria'
INFO
entry.resource.all(birthDate >= @1955-06-20)
["BooleanType[true]"]