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 an Observation resource with these fields:
When Get FHIR resource at "http://fhirserver/metadata" with content type "json"
And CapabilityStatement contains interaction "read" for resource "Observation"
When Get FHIR resource at "http://fhirserver/Observation/${data.medication-observation-breastfeeding-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/ISiKStillstatus"
And resource has ID "${data.medication-observation-breastfeeding-read-id}" with error message "The ID does not match the expected value"
And TGR current response with attribute "$..status.value" matches "final"
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://snomed.info/sct' and code = '413712001' and version = 'http://snomed.info/sct/11000274103/version/${data.snomed-ct-version}' and display.empty().not()).exists()" with error message 'The SNOMED CT code for breastfeeding status does not match the expected value'
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://loinc.org' and code = '63895-7' and version = '${data.loinc-version}' and display.empty().not()).exists()" with error message 'The LOINC code for breastfeeding status does not match the expected value'
And element "subject" references resource with ID "Patient/${data.patient-read-extended-id}" with error message "The referenced patient does not match the expected value"
And element "performer" references resource with ID "Practitioner/${data.practitioner-read-id}" with error message "The referenced performer does not match the expected value"
And element "encounter" references resource with ID "Encounter/${data.encounter-read-in-progress-id}" with error message "The referenced encounter does not match the expected value"
And FHIR current response body evaluates the FHIRPath "effective.toString().contains('2026-01-06')" with error message 'The effective date does not match the expected value'
And FHIR current response body evaluates the FHIRPath "value.coding.where(system = 'http://loinc.org' and code = 'LA29252-6' and version = '${data.loinc-version}' and display.empty().not()).exists()" with error message 'The breastfeeding status value does not match the expected value'
| Number of Scenarios | 3 | Total Duration | 5s |
| Total Number of Test Cases | 3 | Fastest Test | 422ms |
| Number of Manual Test Cases | 0 | Slowest Test | 2s |
| Tests Started | Sep 01, 2026 07:06:05 | Average Execution Time | 1s |
| Tests Finished | Sep 01, 2026 07:06:10 |
Cumulative Test Time
(sum of all individual test durations) |
5s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read information from a resource of type Observation for breastfeeding status (@Observation-Breastfeeding-Read) | Precondition | 2 | 07:06:05 | 422ms | ||
| Read information from a resource of type Observation for breastfeeding status (@Observation-Breastfeeding-Read) | Read and Validation of the CapabilityStatement | 2 | 07:06:06 | 2s 337ms | ||
| Read information from a resource of type Observation for breastfeeding status (@Observation-Breastfeeding-Read) | Read and Validate breastfeeding Observation by its ID | 11 | 07:06:08 | 2s 361ms |
| Scenario | Title | Details |
|---|---|---|
| Precondition | RBellog 0 | Download Evidence |
| Read and Validation of the CapabilityStatement | INFO - rest.where(mode = 'server').resource.where(type = 'Observation' 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 breastfeeding Observation by its ID | INFO - Code system definition is missing for 'http://snomed.info/sct#413712001' | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - Code system definition is missing for 'http://loinc.org#63895-7' | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - Code system definition is missing for 'http://loinc.org#LA29252-6' | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - id.replaceMatches('/_history/.+','').matches('\\bBreastfeeding-Read-Example$') | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - code.coding.where(system = 'http://snomed.info/sct' and code = '413712001' and version = 'http://snomed.info/sct/11000274103/version/20251115' and display.empty().not()).exists() | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - code.coding.where(system = 'http://loinc.org' and code = '63895-7' and version = '2.81' and display.empty().not()).exists() | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Extended-Example$') | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - performer.reference.replaceMatches('/_history/.+','').matches('\\bPractitioner/Practitioner-Read-Example$') | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - encounter.reference.replaceMatches('/_history/.+','').matches('\\bEncounter/Encounter-Read-In-Progress-Example$') | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - effective.toString().contains('2026-01-06') | Details |
| Read and Validate breastfeeding Observation by its ID | INFO - value.coding.where(system = 'http://loinc.org' and code = 'LA29252-6' and version = '2.81' and display.empty().not()).exists() | Details |
| Read and Validate breastfeeding Observation by its ID | RBellog 0 | Download Evidence |
| Read and Validate breastfeeding Observation by its ID | Evidence Report | Download Evidence |