Serenity BDD Report
Home > Stufe5 > Medikation > Testing search parameters against a resource of type AllergyIntolerance (@AllergyIntolerance-Search) > Search for allergyintolerance resources that have the type 'allergy', 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 Type 'allergy', group by _count
Steps Outcome
When Post FHIR search request to "http://fhirserver/AllergyIntolerance/_search" with content type "xml" and parameters:
type_count
allergy${data.search-count}
SUCCESS 338ms
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 240ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(type = 'allergy').exists()" with error message 'There are search results, but they do not fully match the search criteria'
 RBellog 0  Evidence Report
SUCCESS 237ms
SUCCESS 0.84s
Serenity BDD version 5.3.10