Serenity BDD Report
Home > Stufe5 > Basis > Testing search parameters against a resource of type encounter-read-in-progress (@Encounter-Search) > Search for the encounter by admission date with the search parameter 'end-date'
Report generated 23-03-2026 09:38

Testing Search Parameters Against A Resource Of Type Encounter-Read-In-Progress (@encounter-Search)

  Mandatory   Basis   1 To 10 Seconds (Duration)   Stufe5

Search for the Encounter by Admission Date with the Search parameter 'end-date'
Steps Outcome
When Get FHIR resource at "http://fhirserver/Encounter/?end-date=le2050-01-01" with content type "xml"
SUCCESS 572ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(period.end <= @2050-01-01T23:59:59+01:00)" with error message 'There are search results, but they do not fully match the search criteria'
SUCCESS 215ms
And bundle does not contain resource "Encounter" with ID "Encounter-Read-In-Progress-Example" with error message "The requested encounter {data.encounter-read-in-progress-id} must not be returned here."
SUCCESS 211ms
And response bundle contains resource with ID "Encounter-Read-Finished-Example" with error message "The requested encounter {data.encounter-read-finished-id} is not contained in the response bundle."
SUCCESS 214ms
SUCCESS 1.43s
Serenity BDD version 4.3.2