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.
Create a Location resource with these fields:
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'
| 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 |
| 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 | ||
| 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 |
| 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 |