☰ Scenario Search for the Encounter by Identifier
When Get FHIR resource at "http://fhirserver/Encounter/?identifier=${data.vitalparameter-encounter-identifier-system}%7C${data.vitalparameter-encounter-identifier-value}" 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 FHIR current response body evaluates the FHIRPath "entry.resource.all(identifier.where(value = '${data.vitalparameter-encounter-identifier-value}' and system = '${data.vitalparameter-encounter-identifier-system}').exists())" with error message 'There are search results, but they do not fully match the search criteria'
INFO
entry.resource.all(identifier.where(value = '0123456789' and system = 'https://test.krankenhaus.de/fhir/sid/fallnr').exists())
["BooleanType[true]"]