☰ Scenario Search for Observation resources by Encounter and Patient
When Get FHIR resource at "http://fhirserver/Observation/?encounter=Encounter/${data.encounter-read-in-progress-id}&patient=Patient/${data.patient-read-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 element "subject" in all bundle resources references resource with ID "Patient/${data.patient-read-id}"
INFO
entry.resource.all(subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Example$'))
["BooleanType[true]"]