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 dataset must have been entered in the system under test according to the specifications (manually).
Create the following CodeSystem resource in your system:
When Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "CodeSystem"
When Get FHIR resource at "http://fhirserver/CodeSystem/${data.codesystem-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/ISiKCodeSystem"
And resource has ID "${data.codesystem-read-id}" with error message "The ID does not match the expected value"
And TGR current response with attribute "$..status.value" matches "active"
And TGR current response with attribute "$..content.value" matches "complete"
And TGR current response with attribute "$..url.value" matches "http://example.org/fhir/CodeSystem/TestKatalog"
And TGR current response with attribute "$..name.value" matches "Test Catalog"
And TGR current response with attribute "$..version.value" matches "1.0.0"
And TGR current response contains node "$..concept"
And FHIR current response body evaluates the FHIRPath 'concept.where(code = "test" and display = "Test" and definition = "This is a test code").exists()' with error message 'The resource does not contain the expected code'
| Number of Scenarios | 3 | Total Duration | 20s |
| Total Number of Test Cases | 3 | Fastest Test | 513ms |
| Number of Manual Test Cases | 0 | Slowest Test | 12s |
| Tests Started | Sep 01, 2026 07:14:35 | Average Execution Time | 6s |
| Tests Finished | Sep 01, 2026 07:14:55 |
Cumulative Test Time
(sum of all individual test durations) |
20s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type CodeSystem (@CodeSystem-Read) | Precondition | 2 | 07:14:35 | 513ms | ||
| Read Information from a resource of type CodeSystem (@CodeSystem-Read) | Read and Validation of the CapabilityStatement | 2 | 07:14:35 | 7s 304ms | ||
| Read Information from a resource of type CodeSystem (@CodeSystem-Read) | Read and Validate CodeSystem by its ID | 10 | 07:14:43 | 12s 508ms |
| Scenario | Title | Details |
|---|---|---|
| Precondition | RBellog 0 | Download Evidence |
| Read and Validation of the CapabilityStatement | INFO - rest.where(mode = 'server').resource.where(type = 'CodeSystem' 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 CodeSystem by its ID | WARN - Rule csd-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed | Details |
| Read and Validate CodeSystem by its ID | INFO - CodeSystems SHOULD have a stated value for the caseSensitive element so that users know the status and meaning of the code system clearly | Details |
| Read and Validate CodeSystem by its ID | INFO - id.replaceMatches('/_history/.+','').matches('\\bCodeSystem-Read-Example$') | Details |
| Read and Validate CodeSystem by its ID | INFO - concept.where(code = "test" and display = "Test" and definition = "This is a test code").exists() | Details |
| Read and Validate CodeSystem by its ID | RBellog 0 | Download Evidence |
| Read and Validate CodeSystem by its ID | Evidence Report | Download Evidence |