Tiger FHIR validation evidences

☰ Scenario Negative test: Search for Patients using ID and Family

When Post FHIR search request to "http://fhirserver/Patient/_search" with content type "xml" and parameters:
_idfamily:contains
NotExistingPatientMustermann
And FHIR current response body evaluates the FHIRPath 'entry.resource.ofType(Patient).count() = 0' with error message 'Search results were found when none were expected'
INFO
entry.resource.ofType(Patient).count() = 0
 
["BooleanType[true]"]
And bundle does not contain resource "Patient" with ID "NotExistingPatient" with error message "The requested Patient NotExistingPatient is unexpectedly contained in the response bundle"
INFO
entry.resource.ofType(Patient).where(id.replaceMatches('/_history/.+','').matches('\\bNotExistingPatient$')).count() = 0
 
["BooleanType[true]"]