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

Read Information From A Resource Of Type Medicationadministration (@medicationadministration-Read)

  Mandatory   Medikation   1 To 10 Seconds (Duration)   Stufe5

Read and Validate the MedicationAdministration by its ID
Steps Outcome
Then Get FHIR resource at "http://fhirserver/MedicationAdministration/${data.medicationadministration-read-id}" with content type "xml"
SUCCESS 293ms
And resource has ID "MedicationAdministration-Read-Example"
SUCCESS 206ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsVerabreichung"
SUCCESS 301ms
And TGR current response with attribute "$..status.value" matches "completed"
SUCCESS 212ms
And TGR current response with attribute "$..note.text.value" matches "Test note"
SUCCESS 204ms
And element "medication" references resource with ID "Medication/Medication-Read-Example" with error message "The referenced medication does not match the expected value"
SUCCESS 206ms
And element "subject" references resource with ID "Patient/Patient-Read-Example" with error message "The referenced patient does not match the expected value"
SUCCESS 205ms
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 205ms
And TGR current response with attribute "$..reasonReference.reference.value" matches "Condition/Condition-Read-Active-Example"
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "context.identifier.value = '0123456789'" with error message 'The associated encounter identifier does not match the expected value'
SUCCESS 207ms
And FHIR current response body evaluates the FHIRPath "effective.toString().contains('2026-02-03')" with error message 'The effective date/time does not match the expected value'
SUCCESS 204ms
And FHIR current response body evaluates the FHIRPath "performer.where(actor.reference.replaceMatches('/_history/.+','').matches('Practitioner/Practitioner-Read-Example$')).exists()" with error message 'The performer does not match the expected value'
SUCCESS 205ms
And FHIR current response body evaluates the FHIRPath "dosage.where(text.empty().not() and site.coding.where(code = '738956005' and system = 'http://snomed.info/sct' and display = 'Oral' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists() and dose.where(code = '1' and system = 'http://unitsofmeasure.org' and unit.hasValue()... with error message 'The dosage does not match the expected value'
SUCCESS 209ms
And referenced "Encounter" resource with id "${data.medication-encounter-id}" conforms to a valid v5 "ISiKKontaktGesundheitseinrichtung" profile
SUCCESS 437ms
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
SUCCESS 607ms
And referenced "Practitioner" resource with id "${data.medication-practitioner-id}" conforms to a valid v5 "ISiKPersonImGesundheitsberuf" profile
SUCCESS 311ms
And referenced "Medication" resource with id "${data.medication-read-id}" conforms to a valid v5 "ISiKMedikament" profile
SUCCESS 314ms
And referenced "Condition" resource with id "${data.medication-condition-id}" conforms to a valid v5 "ISiKDiagnose" profile
 RBellog 0  Evidence Report
SUCCESS 290ms
SUCCESS 4.85s
Serenity BDD version 5.3.10