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 | 6s |
| Total Number of Test Cases | 3 | Fastest Test | 438ms |
| Number of Manual Test Cases | 0 | Slowest Test | 3s |
| Tests Started | Sep 01, 2026 07:07:23 | Average Execution Time | 2s |
| Tests Finished | Sep 01, 2026 07:07:29 |
Cumulative Test Time
(sum of all individual test durations) |
6s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type Account (@Account-Read) | Precondition | 2 | 07:07:23 | 438ms | ||
| Read Information from a resource of type Account (@Account-Read) | Read and Validation of the CapabilityStatement | 2 | 07:07:23 | 3s 401ms | ||
| Read Information from a resource of type Account (@Account-Read) | Read and Validate the Account by its ID | 11 | 07:07:27 | 2s 604ms |
| Scenario | Title | Details |
|---|---|---|
| Precondition | RBellog 0 | Download Evidence |
| Read and Validation of the CapabilityStatement | INFO - rest.where(mode = 'server').resource.where(type = 'Account' and interaction.where(code = 'read').exists()).exists() | Details |
| Read and Validation of the CapabilityStatement | RBellog 0 | Download Evidence |
| Read and Validation of the CapabilityStatement | Evidence Report | Download Evidence |
| Read and Validate the Account by its ID | INFO - id.replaceMatches('/_history/.+','').matches('\\bAccount-Read-Example$') | Details |
| Read and Validate the Account by its ID | INFO - subject.reference.replaceMatches('/_history/.+','').matches('\\bAccount-Read-Patient-Example$') | Details |
| Read and Validate the Account by its ID | INFO - identifier.where(system = 'https://test.krankenhaus.de/fhir/sid/abrechnungsnummer' and value='0123456789').exists() | Details |
| Read and Validate the Account by its ID | INFO - identifier.where(system = 'https://test.krankenhaus.de/fhir/sid/abrechnungsnummer' and value='0123456789' and type.coding.where(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='AN').exists()).exists() | Details |
| Read and Validate the Account by its ID | INFO - coverage.priority = 1 | Details |
| Read and Validate the Account by its ID | INFO - coverage.coverage.exists() | Details |
| Read and Validate the Account by its ID | INFO - coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart').exists() | Details |
| Read and Validate the Account by its ID | INFO - coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart' and value.code = 'DRG' and value.system = 'http://fhir.de/CodeSystem/dkgev/Abrechnungsart').exists() | Details |
| Read and Validate the Account by its ID | RBellog 0 | Download Evidence |
| Read and Validate the Account by its ID | Evidence Report | Download Evidence |