Serenity BDD Report
Report generated 01-09-2026 07:01

Read Information From A Resource Of Type Allergyintolerance (@allergyintolerance-Read)

  Mandatory   Basis   I Si K Capability Statement Gesundheitsstatus Rolle   1 To 10 Seconds (Duration)   Stufe5   I Si K Capability Statement Amts Rolle

Read and Validate the AllergyIntolerance by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/AllergyIntolerance/${data.allergyintolerance-read-id}" with content type "xml"
SUCCESS 267ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKAllergieUnvertraeglichkeit"
SUCCESS 264ms
And resource has ID "AllergyIntolerance-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "type = 'allergy' or type = 'intolerance'" with error message "The Type must be allergy or intolerance"
SUCCESS 205ms
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"
SUCCESS 205ms
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."
SUCCESS 205ms
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'"
SUCCESS 205ms
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'"
SUCCESS 205ms
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/20251115').exists()" with error message "The Code does not meet the preconditions."
SUCCESS 206ms
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/20251115').exists()" with error message "The Manifestation Coding does not meet the preconditions."
SUCCESS 206ms
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/20251115').exists()" with error message "The Exposure Route Coding does not meet the preconditions."
SUCCESS 206ms
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."
SUCCESS 205ms
And FHIR current response body evaluates the FHIRPath "onset is dateTime" with error message "onsetDateTime is missing"
SUCCESS 205ms
And FHIR current response body evaluates the FHIRPath "recordedDate.ofType(dateTime).exists()" with error message "onsetDateTime is missing"
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "recorder.display.exists()" with error message "Recorder content is missing."
SUCCESS 205ms
And FHIR current response body evaluates the FHIRPath "asserter.display.exists()" with error message "Asserter content is missing."
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "note.text.exists()" with error message "Note text content is missing."
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "note.time.exists()" with error message "Note time is missing and required."
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "note.author.reference.exists()" with error message "Note author reference is missing and required."
SUCCESS 204ms
And element "patient" references resource with ID "Patient/Patient-Read-Example" with error message "The referenced patient does not match the expected value"
SUCCESS 204ms
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
 RBellog 0  Evidence Report
SUCCESS 5s 304ms
SUCCESS 9.55s
Serenity BDD version 5.3.10