Serenity BDD Report
Report generated 23-03-2026 09:38

Testing Search Parameters Against A Resource Of Type Documentreference (@documentreference-Search)

  Mandatory   1 To 10 Seconds (Duration)   Stufe5   Dokumentenaustausch

Search for the DocumentReference that belong to a Patient, by Creation Date
Steps Outcome
When Get FHIR resource at "http://fhirserver/DocumentReference/?creation=2026-01-31&patient=Patient/${data.documentreference-read-patient-id}" with content type "xml"
SUCCESS 623ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 214ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(content.attachment.where(creation.toString().contains('2026-01-31')).exists())" with error message 'There are search results, but they do not fully match the search criteria.'
SUCCESS 214ms
SUCCESS 1.06s
Serenity BDD version 4.3.2