Serenity BDD Report
Home > Requirements > Stufe5 > Basis > Read information from a resource of type location that identifies the placement of beds (@location-bed-placement-read) (optional)
Report generated 01-09-2026 07:08

Feature: Read information from a resource of type location that identifies the placement of beds (@location-bed-placement-read) (optional)

Scenarios

Given the Test Description: "The system under test MUST find a previously created resource when searched using the parameter and return it in the search results (SEARCH). Here it is tested whether the resource is returned according to the location status as 'active'."

Given the Preconditions: - The Organization-Read and Location-Room-Read test cases must have been executed successfully beforehand.

  • The test dataset must have been entered in the system under test according to the specifications (manually).
  • The ID of the corresponding FHIR resource for this test dataset must be stored in the configuration variable 'location-room-read-id'.

Create a Location resource with these fields:

  • Name: B022
  • Physical type: Bed
  • Operational status: Occupied
  • Managing organization: Reference to the Organization resource from the test case Organization-Read
  • Part of: Reference to the Location resource from the test case Location-Room-Read
  • Tag: Value defined through the configuration variables 'tag-value' and 'tag-system'

When Get FHIR resource at "http://fhirserver/Location/${data.location-bed-placement-read-id}" with content type "xml"

And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKStandortBettenstellplatz"

And resource has ID "${data.location-bed-placement-read-id}" with error message "The ID does not match the expected value"

And FHIR current response body evaluates the FHIRPath "name = 'B022'" with error message 'The Location name does not match the expected value'

And FHIR current response body evaluates the FHIRPath "operationalStatus.where(code = 'O' and system = 'http://terminology.hl7.org/CodeSystem/v2-0116').exists()" with error message 'The Location operational status code does not match the expected value'

And FHIR current response body evaluates the FHIRPath "physicalType.coding.where(system = 'http://terminology.hl7.org/CodeSystem/location-physical-type' and code = 'bd').exists()" with error message 'The Location physical type code does not match the expected value'

And FHIR current response body evaluates the FHIRPath "managingOrganization.where(reference = 'Organization/${data.organization-read-id}').exists()" with error message 'The Location managing organization reference does not match the expected value'

And FHIR current response body evaluates the FHIRPath "partOf.where(reference = 'Location/${data.location-room-read-id}').exists()" with error message 'The Location partOf reference does not match the expected value'

Feature Coverage By Scenario

Test Outcomes

Test Performance

Key Statistics

Number of Scenarios 2 Total Duration 11s
Total Number of Test Cases 2 Fastest Test 5s
Number of Manual Test Cases 0 Slowest Test 5s
Tests Started Sep 01, 2026 07:08:17 Average Execution Time 5s
Tests Finished Sep 01, 2026 07:08:28 Cumulative Test Time
(sum of all individual test durations)
11s

Automated Tests

feature Scenario Context Steps Started Total Duration Result
Read Information from a resource of type Location that identifies the placement of beds (@Location-Bed-Placement-Read) (Optional) Precondition 2 07:08:17 5s 439ms SUCCESS
Read Information from a resource of type Location that identifies the placement of beds (@Location-Bed-Placement-Read) (Optional) Read and Validate Bed Placement Location by its ID 8 07:08:23 5s 695ms SUCCESS

Manual Tests

No manual tests were recorded

Evidence

Scenario Title Details
Precondition RBellog 0  Download Evidence
Read and Validate Bed Placement Location by its ID INFO - id.replaceMatches('/_history/.+','').matches('\\bLocation-Bed-Placement-Read-Example$')  Details
Read and Validate Bed Placement Location by its ID INFO - name = 'B022'  Details
Read and Validate Bed Placement Location by its ID INFO - operationalStatus.where(code = 'O' and system = 'http://terminology.hl7.org/CodeSystem/v2-0116').exists()  Details
Read and Validate Bed Placement Location by its ID INFO - physicalType.coding.where(system = 'http://terminology.hl7.org/CodeSystem/location-physical-type' and code = 'bd').exists()  Details
Read and Validate Bed Placement Location by its ID INFO - managingOrganization.where(reference = 'Organization/Organization-Read-Example').exists()  Details
Read and Validate Bed Placement Location by its ID INFO - partOf.where(reference = 'Location/Location-Room-Read-Example').exists()  Details
Read and Validate Bed Placement Location by its ID RBellog 0  Download Evidence
Read and Validate Bed Placement Location by its ID Evidence Report  Download Evidence
Serenity BDD version 5.3.10