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 AllergyIntolerance 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 "AllergyIntolerance"
When Get FHIR resource at "http://fhirserver/AllergyIntolerance/${data.allergyintolerance-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/ISiKAllergieUnvertraeglichkeit"
And resource has ID "${data.allergyintolerance-read-id}" with error message "The ID does not match the expected value"
And FHIR current response body evaluates the FHIRPath "type = 'allergy' or type = 'intolerance'" with error message "The Type must be allergy or intolerance"
And FHIR current response body evaluates the FHIRPath "category.where($this = 'food' or $this = 'medication' or $this = 'environment' or $this = 'biologic').exists()" with error message "The Category must be food, medication, environment, or biologic"
And FHIR current response body evaluates the FHIRPath "criticality.where($this = 'low' or $this = 'high' or $this = 'unable-to-access').exists()" with error message "The Criticality must be low, high, or unable-to-access."
And FHIR current response body evaluates the FHIRPath "clinicalStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical' and code = 'active').exists()" with error message "The Clinical status does not have the value 'active'"
And FHIR current response body evaluates the FHIRPath "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'confirmed').exists()" with error message "The Verification status does not have the value 'confirmed'"
And FHIR current response body evaluates the FHIRPath "code.coding.where(code = '256262001' and display = 'Betula pendula pollen' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/${data.snomed-ct-version}').exists()" with error message "The Code does not meet the preconditions."
And FHIR current response body evaluates the FHIRPath "reaction.manifestation.coding.where(code = '76067001' and display = 'Sneezing (finding)' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/${data.snomed-ct-version}').exists()" with error message "The Manifestation Coding does not meet the preconditions."
And FHIR current response body evaluates the FHIRPath "reaction.exposureRoute.coding.where(code = '14910006' and display = 'Inspiration' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/${data.snomed-ct-version}').exists()" with error message "The Exposure Route Coding does not meet the preconditions."
And FHIR current response body evaluates the FHIRPath "reaction.severity.where($this = 'mild' or $this = 'moderate' or $this = 'severe').exists()" with error message "Reaction Severity must be mild, moderate, or severe."
And FHIR current response body evaluates the FHIRPath "onset is dateTime" with error message "onsetDateTime is missing"
And FHIR current response body evaluates the FHIRPath "recordedDate.ofType(dateTime).exists()" with error message "onsetDateTime is missing"
And FHIR current response body evaluates the FHIRPath "recorder.display.exists()" with error message "Recorder content is missing."
And FHIR current response body evaluates the FHIRPath "asserter.display.exists()" with error message "Asserter content is missing."
And FHIR current response body evaluates the FHIRPath "note.text.exists()" with error message "Note text content is missing."
And FHIR current response body evaluates the FHIRPath "note.time.exists()" with error message "Note time is missing and required."
And FHIR current response body evaluates the FHIRPath "note.author.reference.exists()" with error message "Note author reference is missing and required."
And element "patient" references resource with ID "Patient/${data.allergyintolerance-read-patient-id}" with error message "The referenced patient does not match the expected value"
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
| Number of Scenarios | 3 | Total Duration | 12s |
| Total Number of Test Cases | 3 | Fastest Test | 422ms |
| Number of Manual Test Cases | 0 | Slowest Test | 9s |
| Tests Started | Sep 01, 2026 07:01:37 | Average Execution Time | 4s |
| Tests Finished | Sep 01, 2026 07:01:50 |
Cumulative Test Time
(sum of all individual test durations) |
12s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Read Information from a resource of type AllergyIntolerance (@AllergyIntolerance-Read) | Precondition | 2 | 07:01:37 | 422ms | ||
| Read Information from a resource of type AllergyIntolerance (@AllergyIntolerance-Read) | Read and Validation of the CapabilityStatement | 2 | 07:01:37 | 2s 844ms | ||
| Read Information from a resource of type AllergyIntolerance (@AllergyIntolerance-Read) | Read and Validate the AllergyIntolerance by its ID | 21 | 07:01:40 | 9s 549ms |
| Scenario | Title | Details |
|---|---|---|
| Precondition | RBellog 0 | Download Evidence |
| Read and Validation of the CapabilityStatement | INFO - rest.where(mode = 'server').resource.where(type = 'AllergyIntolerance' 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 AllergyIntolerance by its ID | INFO - Code system definition is missing for 'http://snomed.info/sct#256262001' | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - Code system definition is missing for 'http://snomed.info/sct#76067001' | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - Code system definition is missing for 'http://snomed.info/sct#14910006' | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - id.replaceMatches('/_history/.+','').matches('\\bAllergyIntolerance-Read-Example$') | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - type = 'allergy' or type = 'intolerance' | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - category.where($this = 'food' or $this = 'medication' or $this = 'environment' or $this = 'biologic').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - criticality.where($this = 'low' or $this = 'high' or $this = 'unable-to-access').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - clinicalStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical' and code = 'active').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'confirmed').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - code.coding.where(code = '256262001' and display = 'Betula pendula pollen' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - reaction.manifestation.coding.where(code = '76067001' and display = 'Sneezing (finding)' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - reaction.exposureRoute.coding.where(code = '14910006' and display = 'Inspiration' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - reaction.severity.where($this = 'mild' or $this = 'moderate' or $this = 'severe').exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - onset is dateTime | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - recordedDate.ofType(dateTime).exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - recorder.display.exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - asserter.display.exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - note.text.exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - note.time.exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - note.author.reference.exists() | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - patient.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Example$') | Details |
| Read and Validate the AllergyIntolerance by its ID | WARN - Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed | Details |
| Read and Validate the AllergyIntolerance by its ID | INFO - This element does not match any known slice defined in the profile https://gematik.de/fhir/ti/StructureDefinition/ti-patient|1.1.1 | Details |
| Read and Validate the AllergyIntolerance by its ID | RBellog 0 | Download Evidence |
| Read and Validate the AllergyIntolerance by its ID | Evidence Report | Download Evidence |