Serenity BDD Report
Report generated 01-09-2026 07:11

Testing Search Parameters Against Observation Resources For Status-Related Observations (@observation-Statuses-Search)

  Mandatory   Medikation   I Si K Capability Statement Gesundheitsstatus Rolle   1 To 10 Seconds (Duration)   Stufe5

Search for Observation resources by Status "final" and Encounter
Steps Outcome
When Get FHIR resource at "http://fhirserver/Observation/?status=http://hl7.org/fhir/observation-status%7Cfinal&encounter=Encounter/${data.encounter-read-in-progress-id}" with content type "xml"
SUCCESS 718ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.count() > 0' with error message 'No search results were found'
SUCCESS 218ms
And FHIR current response body evaluates the FHIRPath "entry.resource.all(status = 'final')" with error message 'There are search results, but they do not fully match the status search criteria'
SUCCESS 218ms
And FHIR current response body evaluates the FHIRPath 'entry.resource.all(encounter.reference.replaceMatches("/_history/.+","").matches("\\bEncounter-Read-In-Progress-Example$"))' with error message 'There are search results, but they do not fully match the encounter search criteria'
 RBellog 0  Evidence Report
SUCCESS 219ms
SUCCESS 1.42s
Serenity BDD version 5.3.10