☰ Scenario Search for the MedicationAdministration that belong to a Patient, by Medication Code
Then Get FHIR resource at "http://fhirserver/MedicationAdministration/?medication.code=http://fhir.de/CodeSystem/bfarm/atc%7CV03AB23&patient=Patient/${data.medication-patient-id}" with content type "xml"
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
INFO
entry.resource.count() > 0
["BooleanType[true]"]
And response bundle contains resource with ID "${data.medicationadministration-read-id}" with error message "The requested MedicationAdministration ${data.medicationadministration-read-id} is not contained in the response bundle"
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bMedicationAdministration-Read-Example$')).count() = 1
["BooleanType[true]"]