Serenity BDD Report
Home > Stufe5 > Medikation > Testing search parameters against a resource of type AllergyIntolerance (@AllergyIntolerance-Search) > Search for allergyintolerance resources that have the clinical status 'active', group by count
Report generated 01-09-2026 07:13

Testing Search Parameters Against A Resource Of Type Allergyintolerance (@allergyintolerance-Search)

  Mandatory   Medikation   I Si K Capability Statement Gesundheitsstatus Rolle   Under 1 Second (Duration)   Stufe5   I Si K Capability Statement Amts Rolle

Search for AllergyIntolerance resources that have the Clinical Status 'active', group by _count
Steps Outcome
When Post FHIR search request to "http://fhirserver/AllergyIntolerance/_search" with content type "xml" and parameters:
clinical-status_count
active${data.search-count}
SUCCESS 275ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0 and entry.resource.count() <= 20' with error message 'No search results were found'
SUCCESS 219ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(clinicalStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical' and code = 'active').exists()).exists()" with error message 'There are search results, but they do not fully match the search criteria'
 RBellog 0  Evidence Report
SUCCESS 220ms
SUCCESS 0.73s
Serenity BDD version 5.3.10