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

Read Information From A Resource Of Type Medicationstatement (@medicationstatement-Read)

  Mandatory   Medikation   Under 1 Second (Duration)   Stufe5   Precondition

Precondition
Steps Outcome
Given the Test Description: "The system under test MUST return the complete resource in response to an HTTP GET request to its URL (READ)."
SUCCESS 213ms
Given the Preconditions:
- The Medication-Read test case must have been executed successfully beforehand.
- The test data set must have been recorded in the system under test according to the specifications (manually).
- The ID of the corresponding FHIR resource for this test data set must be stored in the configuration variable 'medicationstatement-read-id'.

Create a MedicationStatement resource in your system with the following values:
* Id: any (store the ID in 'medicationstatement-read-id')
* Status: active
* Referenced medication: the medication from test case Medication-Read
* Patient: any (the linked Patient resource must conform to ISiKPatient; store the ID in 'medication-patient-id')
* Encounter: any (the linked Encounter resource must conform to ISiKKontaktGesundheitseinrichtung; store the ID in 'medication-encounter-id')
* Period: 2026-02-03
* Date asserted: 2026-02-27
* Reason for medication: any, either as reference to an ISiKDiagnosis (store ID in 'medication-condition-id') or as code
* Note: any (not empty)
* Dosage:
- Text: any (not empty)
- Patient instruction: any (not empty)
- Timing: morning, noon, evening
- Quantity: 1 tablet per day
- Timing: Repeat on morning, noon and evening
* Dosage (free-text instruction): any (not empty)
* Dosage (patient instruction): any (not empty)
* Dosage (timing): morning, noon, evening
 RBellog 0
SUCCESS 224ms
SUCCESS 0.46s
Serenity BDD version 5.3.10