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

Read Information From A Resource Of Type Observation For Breastfeeding Status (@observation-Breastfeeding-Read)

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

Read and Validate breastfeeding Observation by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/Observation/${data.medication-observation-breastfeeding-read-id}" with content type "xml"
SUCCESS 244ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKStillstatus"
SUCCESS 230ms
And resource has ID "Breastfeeding-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 207ms
And TGR current response with attribute "$..status.value" matches "final"
SUCCESS 207ms
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/20251115' and display.empty().not()).exists()" with error message 'The SNOMED CT code for breastfeeding status does not match the expected value'
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "code.coding.where(system = 'http://loinc.org' and code = '63895-7' and version = '2.81' and display.empty().not()).exists()" with error message 'The LOINC code for breastfeeding status does not match the expected value'
SUCCESS 208ms
And element "subject" references resource with ID "Patient/Patient-Read-Extended-Example" with error message "The referenced patient does not match the expected value"
SUCCESS 210ms
And element "performer" references resource with ID "Practitioner/Practitioner-Read-Example" with error message "The referenced performer does not match the expected value"
SUCCESS 207ms
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 207ms
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 207ms
And FHIR current response body evaluates the FHIRPath "value.coding.where(system = 'http://loinc.org' and code = 'LA29252-6' and version = '2.81' and display.empty().not()).exists()" with error message 'The breastfeeding status value does not match the expected value'
 RBellog 0  Evidence Report
SUCCESS 208ms
SUCCESS 2.36s
Serenity BDD version 5.3.10