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 Encounter
Steps Outcome
When Get FHIR resource at "http://fhirserver/DocumentReference/?encounter=Encounter/${data.documentreference-read-encounter-id}&patient=Patient/${data.documentreference-read-patient-id}" with content type "json"
SUCCESS 593ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 211ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(context.encounter.where(reference.replaceMatches('/_history/.+','').matches('\\bEncounter-Read-Finished-Example$')).exists())" with error message 'The requested DocumentReference DocumentReference-Read-Example is not contained in the response bundle'
SUCCESS 212ms
SUCCESS 1.02s
Serenity BDD version 4.3.2