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

Read Information From A Resource Of Type Observation For Alcohol Abuse (@observation-Alcohol-Abuse-Read)

  Mandatory   Medikation   I Si K Capability Statement Gesundheitsstatus Rolle   10 To 30 Seconds (Duration)   Stufe5

Read and Validate alcohol abuse Observation by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/Observation/${data.medication-observation-alcohol-abuse-read-id}" with content type "xml"
SUCCESS 3s 439ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKAlkoholAbusus"
SUCCESS 3s 091ms
And resource has ID "Alcohol-Abuse-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 213ms
And TGR current response with attribute "$..status.value" matches "final"
SUCCESS 214ms
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://snomed.info/sct' and code = '15167005' and version = 'http://snomed.info/sct/11000274103/version/20251115' and display.empty().not()).exists()" with error message 'The SNOMED CT code for alcohol abuse does not match the expected value'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://loinc.org' and code = '74043-1' and version = '2.81' and display.empty().not()).exists()" with error message 'The LOINC code for alcohol abuse does not match the expected value'
SUCCESS 214ms
And element "subject" references resource with ID "Patient/Patient-Read-Example" with error message "The referenced patient does not match the expected value"
SUCCESS 219ms
And element "performer" references resource with ID "Practitioner/Practitioner-Read-Example" with error message "The referenced performer does not match the expected value"
SUCCESS 213ms
And element "encounter" references resource with ID "Encounter/Encounter-Read-In-Progress-Example" with error message "The referenced encounter does not match the expected value"
SUCCESS 213ms
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'
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "value.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0532' and code = 'Y' and display = 'Yes').exists()" with error message 'The alcohol abuse value does not match the expected value'
 RBellog 0  Evidence Report
SUCCESS 212ms
SUCCESS 13.49s
Serenity BDD version 5.3.10