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 test data set must have been recorded in the system under test according to the specifications (manually).
Create an Account resource in your system, with the following values:
When Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "Account"
When Get FHIR resource at "http://fhirserver/Account/${data.account-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/ISiKAbrechnungsfall"
And resource has ID "${data.account-read-id}" with error message "The ID does not match the expected value"
And TGR current response with attribute "$..status.value" matches "active"
And element "subject" references resource with ID "${data.account-read-patient-id}" with error message "Referenced patient does not match the expected value"
And FHIR current response body evaluates the FHIRPath "identifier.where(system = '${data.account-read-identifier-system}' and value='${data.account-read-identifier-value}').exists()" with error message 'The Account does not contain the expected identifier value'
And FHIR current response body evaluates the FHIRPath "identifier.where(system = '${data.account-read-identifier-system}' and value='${data.account-read-identifier-value}' and type.coding.where(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='AN').exists()).exists()" with error message 'The Account exists but does not have a valid type.'
And FHIR current response body evaluates the FHIRPath "coverage.priority = 1" with error message 'The Account does not include priority 1 for the insurance coverage.'
And FHIR current response body evaluates the FHIRPath "coverage.coverage.exists()" with error message 'The Account does not contain a linked coverage insurance relationship.'
And FHIR current response body evaluates the FHIRPath "coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart').exists()" with error message 'The Account does not contain an extension for the billing type.'
And FHIR current response body evaluates the FHIRPath "coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart' and value.code = 'DRG' and value.system = 'http://fhir.de/CodeSystem/dkgev/Abrechnungsart').exists()" with error message 'The Account does not contain the correct billing type.'
| Number of Scenarios | 3 | Total Duration | 3s |
| Total Number of Test Cases | 3 | Fastest Test | 414ms |
| Number of Manual Test Cases | 0 | Slowest Test | 2s |
| Tests Started | März 23, 2026 09:37:49 | Average Execution Time | 1s |
| Tests Finished | März 23, 2026 09:37:53 | Total Execution Time | 3s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type Account (@Account-Read) | Precondition | 2 | 09:37:49 | 414ms | ||
| Read Information from a resource of type Account (@Account-Read) | Read and Validation of the CapabilityStatement | 2 | 09:37:49 | 698ms | ||
| Read Information from a resource of type Account (@Account-Read) | Read and Validate the Account by its ID | 11 | 09:37:50 | 2s 808ms |