Serenity BDD Report
Report generated 01-09-2026 07:02

Testing Search Parameters Against A Resource Of Type Medicationrequest (@medicationrequest-Search)

  Mandatory   Medikation   Under 1 Second (Duration)   Stufe5

Search for the MedicationRequest that belong to a Patient, by Code
Steps Outcome
Then Get FHIR resource at "http://fhirserver/MedicationRequest/?code=R01AA04&patient=Patient/${data.medication-patient-id}" with content type "xml"
SUCCESS 281ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 206ms
And FHIR current response body evaluates the FHIRPath "entry.resource.where(medication.coding.empty().not()).medication.coding.where(code = 'R01AA04' and system = 'http://fhir.de/CodeSystem/bfarm/atc').exists()" with error message 'There are search results, but they do not fully match the search criteria'
 RBellog 0  Evidence Report
SUCCESS 206ms
SUCCESS 0.7s
Serenity BDD version 5.3.10