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 specialty
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 Specialty
Steps Outcome
Then Get FHIR resource at "http://fhirserver/Appointment/?actor=Patient/${data.appointment-patient-id}&specialty=http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen%7CNEUR" with content type "json"
SUCCESS 262ms
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(specialty.coding.where(code = 'NEUR' and system ='http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen').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.7s
Serenity BDD version 5.3.10