☰ Scenario Search for the Schedule that belong to a Practitioner, by Service Type
Then Get FHIR resource at "http://fhirserver/Schedule/?service-type=${data.schedule-read-servicetype-code}&actor=Practitioner/${data.appointment-practitioner-id}" with content type "json"
And FHIR current response body evaluates the FHIRPath 'entry.resource.ofType(Schedule).count() > 0' with error message 'No search results were found'
INFO
entry.resource.ofType(Schedule).count() > 0
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "entry.resource.ofType(Schedule).all(serviceType.coding.where(code='${data.schedule-read-servicetype-code}').exists())" with error message 'There are search results, but they do not fully match the search criteria.'
INFO
entry.resource.ofType(Schedule).all(serviceType.coding.where(code='177').exists())
["BooleanType[true]"]