Serenity BDD Report
Home > Stufe5 > Terminplanung > Testing search parameters against the Appointment resource (@Appointment-Search) > Search for the appointment that belong to a patient, by service type
Report generated 01-09-2026 07:09

Testing Search Parameters Against The Appointment Resource (@appointment-Search)

  Terminplanung   Mandatory   Under 1 Second (Duration)   Stufe5

Search for the Appointment that belong to a Patient, by Service Type
Steps Outcome
Then Get FHIR resource at "http://fhirserver/Appointment/?service-type=${data.schedule-read-servicetype-code}&actor=Patient/${data.appointment-patient-id}" with content type "json"
SUCCESS 293ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.ofType(Appointment).count() > 0' with error message 'No search results were found'
SUCCESS 211ms
And FHIR current response body evaluates the FHIRPath "entry.resource.ofType(Appointment).all(serviceType.coding.where(code='177' and system='http://terminology.hl7.org/CodeSystem/service-type').exists())" with error message 'There are search results, but they do not fully match the search criteria.'
 RBellog 0  Evidence Report
SUCCESS 211ms
SUCCESS 0.74s
Serenity BDD version 5.3.10