☰ Scenario Search for the MedicationAdministration that belong to a Patient, by Performer Identifier
Then Get FHIR resource at "http://fhirserver/MedicationAdministration/?performer.identifier=${data.medication-practitioner-identifier}&patient=Patient/${data.medication-patient-id}" with content type "json"
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 element "performer.actor" in all bundle resources references resource with ID "Practitioner/${data.medication-practitioner-id}"
INFO
entry.resource.all(performer.actor.reference.replaceMatches('/_history/.+','').matches('\\bPractitioner/Practitioner-Read-Example$'))
["BooleanType[true]"]