Given the Test Description: "The system under test must return the complete resource in response to an HTTP GET request to its URL (READ)."
Given the Preconditions: - The Patient-Read test case must have been executed successfully beforehand.
Create a Coverage resource with the following insurance relationship in your system:
When Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "Coverage"
When Get FHIR resource at "http://fhirserver/Coverage/${data.coverage-read-private-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/ISiKVersicherungsverhaeltnisSelbstzahler"
And resource has ID "${data.coverage-read-private-id}" with error message "The returned Coverage resource has not the expected ID"
And TGR current response with attribute "$..status.value" matches "active"
And TGR current response with attribute "$..code.value" matches "SEL"
And element "beneficiary" references resource with ID "${data.patient-read-id}" with error message "The payor does not match the expected value."
And element "payor" references resource with ID "${data.patient-read-id}" with error message "The policy holder does not match the expected value."
And FHIR current response body evaluates the FHIRPath "payor.display.contains('${data.patient-read-display-name}')" with error message 'The payor does not match the expected value.'
| Number of Scenarios | 3 | Total Duration | 3s |
| Total Number of Test Cases | 3 | Fastest Test | 418ms |
| Number of Manual Test Cases | 0 | Slowest Test | 1s |
| Tests Started | März 23, 2026 09:39:14 | Average Execution Time | 1s |
| Tests Finished | März 23, 2026 09:39:17 | Total Execution Time | 3s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type "private" Coverage (@Coverage-Read-Private) | Precondition | 2 | 09:39:14 | 418ms | ||
| Read Information from a resource of type "private" Coverage (@Coverage-Read-Private) | Read and Validation of the CapabilityStatement | 2 | 09:39:14 | 811ms | ||
| Read Information from a resource of type "private" Coverage (@Coverage-Read-Private) | Read and Validate private Coverage by its ID | 8 | 09:39:15 | 1s 972ms |