Serenity BDD Report
Report generated 01-09-2026 06:58

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

  Mandatory   Under 1 Second (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 299ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 205ms
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'
 RBellog 0  Evidence Report
SUCCESS 206ms
SUCCESS 0.73s
Serenity BDD version 5.3.10