☰ Scenario Search for Practitioners that have the family Name "Musterarzt", group by _count
When Post FHIR search request to "http://fhirserver/Practitioner/_search" with content type "xml" and parameters:
| family | _count |
| Musterarzt | ${data.search-count} |
When Get FHIR resource at "http://fhirserver/Practitioner/?family=Musterarzt&_id=${data.medication-practitioner-id}" with content type "json"
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0 and entry.resource.count() <= ${data.search-count}' with error message 'Invalid 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.startsWith('Musterarzt')).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.startsWith('Musterarzt')).exists())
["BooleanType[true]"]