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 HealthcareService resource in your system:
Then Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "HealthcareService"
Then Get FHIR resource at "http://fhirserver/HealthcareService/${data.healthcareservice-read-id}" with content type "xml"
And resource has ID "${data.healthcareservice-read-id}"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedizinischeBehandlungseinheit"
And TGR current response with attribute "$..active.value" matches "true"
And FHIR current response body evaluates the FHIRPath "type.where(coding.where(code = '${data.healthcareservice-read-servicetype-code}' and system = '${data.healthcareservice-read-servicetype-system}').exists()).exists()" with error message 'The type does not match the expected value'
And FHIR current response body evaluates the FHIRPath "specialty.coding.where(code = 'NEUR' and system ='http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen').exists()" with error message 'The specialty does not match the expected value'
And TGR current response with attribute "$..name.value" matches "${data.healthcareservice-read-name}"
| Number of Scenarios | 3 | Total Duration | 3s |
| Total Number of Test Cases | 3 | Fastest Test | 419ms |
| Number of Manual Test Cases | 0 | Slowest Test | 1s |
| Tests Started | März 23, 2026 09:39:17 | Average Execution Time | 1s |
| Tests Finished | März 23, 2026 09:39:20 | Total Execution Time | 3s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type HealthcareService (@HealthcareService-Read) | Precondition | 2 | 09:39:17 | 419ms | ||
| Read Information from a resource of type HealthcareService (@HealthcareService-Read) | Read and Validation of the CapabilityStatement | 2 | 09:39:18 | 747ms | ||
| Read Information from a resource of type HealthcareService (@HealthcareService-Read) | Read a HealthcareService by ID | 7 | 09:39:18 | 1s 869ms |