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

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

  Mandatory   Medikation   1 To 10 Seconds (Duration)   Stufe5

Read and Validate the MedicationStatement by its ID
Steps Outcome
Then Get FHIR resource at "http://fhirserver/MedicationStatement/${data.medicationstatement-read-id}" with content type "xml"
SUCCESS 252ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation"
SUCCESS 243ms
And resource has ID "MedicationStatement-Read-Example"
SUCCESS 211ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "note.text.empty().not()" with error message 'The note does not contain any value'
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "effective.start.toString().contains('2026-02-03')" with error message 'The period does not match the expected value'
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "dateAsserted.toString().contains('2026-02-27')" with error message 'The date asserted does not match the expected value'
SUCCESS 210ms
And FHIR current response body evaluates the FHIRPath "dosage.all(text.empty().not())" with error message 'The free-text dosage instructions do not match the expected value'
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "dosage.all(patientInstruction.empty().not())" with error message 'Patient instructions do not contain any value'
SUCCESS 208ms
And FHIR current response body evaluates the FHIRPath "dosage.all(doseAndRate.dose.where(value ~ 1 and unit.empty().not() and system = 'http://unitsofmeasure.org' and code ='1').exists())" with error message 'Dose and rate information does not match the expected value'
SUCCESS 211ms
And FHIR current response body evaluates the FHIRPath "(dosage.timing.repeat.when contains 'MORN') and (dosage.timing.repeat.when contains 'NOON') and (dosage.timing.repeat.when contains 'EVE')" with error message 'Timing repeat information does not match the expected value'
SUCCESS 211ms
And element "medication" references resource with ID "Medication/Medication-Read-Example" with error message "The referenced medication does not match the expected value"
SUCCESS 209ms
And element "subject" references resource with ID "Patient/Patient-Read-Example" with error message "The referenced patient does not match the expected value"
SUCCESS 208ms
And element "context" references resource with ID "Encounter/Encounter-Read-In-Progress-Example" with error message "The referenced encounter does not match the expected value"
SUCCESS 208ms
And referenced "Encounter" resource with id "${data.medication-encounter-id}" conforms to a valid v5 "ISiKKontaktGesundheitseinrichtung" profile
SUCCESS 253ms
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
SUCCESS 310ms
And referenced "Condition" resource with id "${data.medication-condition-id}" conforms to a valid v5 "ISiKDiagnose" profile
SUCCESS 260ms
And referenced "Medication" resource with id "${data.medication-read-id}" conforms to a valid v5 "ISiKMedikament" profile
 RBellog 0  Evidence Report
SUCCESS 266ms
SUCCESS 4.12s
Serenity BDD version 5.3.10