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 a Medication resource in your system with the following values:
Then Get FHIR resource at "http://fhirserver/Medication/${data.medication-read-extended-id}" with content type "xml"
And resource has ID "${data.medication-read-extended-id}"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikament"
And TGR current response with attribute "$..Medication.status.value" matches "active"
And FHIR current response body evaluates the FHIRPath "code.text.empty().not()" with error message 'The code does not contain a valid text value'
And FHIR current response body evaluates the FHIRPath "code.coding.where(code = 'L01DB01' and system = 'http://fhir.de/CodeSystem/bfarm/atc' and display = 'Doxorubicin' and version.hasValue()).exists()" with error message 'The code does not contain the expected information'
And FHIR current response body evaluates the FHIRPath "form.coding.where(system = 'http://standardterms.edqm.eu' and code = '11210000' and display = 'Solution for infusion').exists()" with error message 'The form does not match the expected value'
And FHIR current response body evaluates the FHIRPath "ingredient.where(isActive = 'true' and extension.where(url = 'https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp' and value.where(code = 'IN' and system = 'https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/CodeSystem/wirkstofftyp').exists()).exists() ).exists() and ingredient.where(item.coding.where(code = 'L01DB01' and system = 'http://fhir.de/CodeSystem/bfarm/atc' and display = 'Doxorubicin' and version.hasValue()).exists() and strength.where(numerator.where(value ~ 85 and unit.hasValue() and system = 'http://unitsofmeasure.org' and code = 'mg').exists() and denominator.where(value ~ 250 and unit.hasValue() and system = 'http://unitsofmeasure.org' and code = 'mL').exists()).exists() ).exists()" with error message 'The doxorubicin ingredient description does not match the expected value'
| Number of Scenarios | 2 | Total Duration | 9s |
| Total Number of Test Cases | 2 | Fastest Test | 449ms |
| Number of Manual Test Cases | 0 | Slowest Test | 9s |
| Tests Started | Sep 01, 2026 07:12:03 | Average Execution Time | 4s |
| Tests Finished | Sep 01, 2026 07:12:13 |
Cumulative Test Time
(sum of all individual test durations) |
9s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type Medication with extended data (@Medication-Read-Extended) | Precondition | 2 | 07:12:03 | 449ms | ||
| Read Information from a resource of type Medication with extended data (@Medication-Read-Extended) | Read and Validate the Medication by its ID | 8 | 07:12:04 | 9s 490ms |
| Scenario | Title | Details |
|---|---|---|
| Precondition | RBellog 0 | Download Evidence |
| Read and Validate the Medication by its ID | INFO - id.replaceMatches('/_history/.+','').matches('\\bMedication-Read-Extended-Example$') | Details |
| Read and Validate the Medication by its ID | INFO - Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/atc#L01DB01' | Details |
| Read and Validate the Medication by its ID | INFO - This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikament|5.1.2 | Details |
| Read and Validate the Medication by its ID | INFO - This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikament|5.1.2 | Details |
| Read and Validate the Medication by its ID | INFO - Unknown extension https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp | Details |
| Read and Validate the Medication by its ID | INFO - Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/atc#L01DB01' | Details |
| Read and Validate the Medication by its ID | INFO - code.text.empty().not() | Details |
| Read and Validate the Medication by its ID | INFO - code.coding.where(code = 'L01DB01' and system = 'http://fhir.de/CodeSystem/bfarm/atc' and display = 'Doxorubicin' and version.hasValue()).exists() | Details |
| Read and Validate the Medication by its ID | INFO - form.coding.where(system = 'http://standardterms.edqm.eu' and code = '11210000' and display = 'Solution for infusion').exists() | Details |
| Read and Validate the Medication by its ID | INFO - ingredient.where(isActive = 'true' and extension.where(url = 'https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp' and value.where(code = 'IN' and system = 'https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/CodeSystem/wirkstofftyp').exists()).exists() ).exists() and ingredient.where(item.coding.where(code = 'L01DB01' and system = 'http://fhir.de/CodeSystem/bfarm/atc' and display = 'Doxorubicin' and version.hasValue()).exists() and strength.where(numerator.where(value ~ 85 and unit.hasValue() and system = 'http://unitsofmeasure.org' and code = 'mg').exists() and denominator.where(value ~ 250 and unit.hasValue() and system = 'http://unitsofmeasure.org' and code = 'mL').exists()).exists() ).exists() | Details |
| Read and Validate the Medication by its ID | RBellog 0 | Download Evidence |
| Read and Validate the Medication by its ID | Evidence Report | Download Evidence |