Given the Test Description: "The system under test MUST return the created resource correctly and completely in response to an HTTP GET request to its URL (READ)."
Given the Preconditions: - The test data set must have been recorded in the system under test according to the specifications (manually).
Create the following Slot Resource in your system:
Then Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "Slot"
Then Get FHIR resource at "http://fhirserver/Slot/${data.slot-read-id}" with content type "xml"
And resource has ID "${data.slot-read-id}"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKTerminblock"
And TGR current response with attribute "$..status.value" matches "busy"
And element "schedule" references resource with ID "${data.schedule-read-id}" with error message "The referenced schedule is not correct"
And FHIR current response body evaluates the FHIRPath "start.toString().contains('${data.slot-read-start}') or start ~ @${data.slot-read-start}" with error message 'The slot start time does not match the expected value'
And FHIR current response body evaluates the FHIRPath "end.empty().not()" with error message 'The slot end time is not provided'
| Number of Scenarios | 3 | Total Duration | 2s |
| Total Number of Test Cases | 3 | Fastest Test | 413ms |
| Number of Manual Test Cases | 0 | Slowest Test | 1s |
| Tests Started | März 23, 2026 09:37:53 | Average Execution Time | 960ms |
| Tests Finished | März 23, 2026 09:37:56 | Total Execution Time | 2s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type Slot (@Slot-Read) | Precondition | 2 | 09:37:53 | 413ms | ||
| Read Information from a resource of type Slot (@Slot-Read) | Read and Validation of the CapabilityStatement | 2 | 09:37:53 | 698ms | ||
| Read Information from a resource of type Slot (@Slot-Read) | Read a Slot by ID | 7 | 09:37:54 | 1s 771ms |