Serenity BDD Report
Report generated 23-03-2026 09:39

Read Information From A Resource Of Type Appointment (@appointment-Read)

  Terminplanung   Mandatory   1 To 10 Seconds (Duration)   Stufe5

Read an Appointment by ID
Steps Outcome
Then Get FHIR resource at "http://fhirserver/Appointment/${data.appointment-read-id}" with content type "xml"
SUCCESS 758ms
And resource has ID "Appointment-Read-Example"
SUCCESS 212ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKTermin"
SUCCESS 240ms
And FHIR current response body evaluates the FHIRPath "meta.tag.where(system = 'http://fhir.de/CodeSystem/common-meta-tag-de').all(code = 'external')" with error message 'The value for the source identification does not match the expected value'
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Appointment.replaces' and value.reference.exists()).exists()" with error message 'This appointment does not reference the replaced appointment'
SUCCESS 217ms
And TGR current response with attribute "$..Appointment.status.value" matches "cancelled"
SUCCESS 214ms
And FHIR current response body evaluates the FHIRPath "cancelationReason.coding.where(code = 'pat').exists()" with error message 'The cancellation reason does not match the expected value'
SUCCESS 210ms
And FHIR current response body evaluates the FHIRPath "comment.empty().not()" with error message 'The comment field must contain a valid value'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "serviceType.coding.where(code='177' and system = 'http://terminology.hl7.org/CodeSystem/service-type').exists()" with error message 'The appointment service type does not match the expected value'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "specialty.coding.where(code = 'NEUR' and system ='http://ihe-d.de/CodeSystems/AerztlicheFachrichtungen').exists()" with error message 'The specialty does not match the expected value'
SUCCESS 218ms
And FHIR current response body evaluates the FHIRPath "priority.extension.where(url = 'https://gematik.de/fhir/isik/StructureDefinition/ISiKTerminPriorityExtension' and value.coding.where(code = '394848005' and system = 'http://snomed.info/sct' and version = 'http://snomed.info/sct/11000274103/version/20251115').exists()).exists()" with error message 'The priority does not match the expected value'
SUCCESS 216ms
And FHIR current response body evaluates the FHIRPath "start.toString().contains('2027-01-01') or start ~ @2027-01-01" with error message 'The start time does not match the expected value'
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "end.empty().not()" with error message 'The end time does not match the expected value'
SUCCESS 211ms
And element "slot" references resource with ID "Slot-Read-Example" with error message "The linked slot does not match the expected value"
SUCCESS 216ms
And FHIR current response body evaluates the FHIRPath "patientInstruction.empty().not()" with error message 'The patient instruction is not defined'
SUCCESS 211ms
And FHIR current response body evaluates the FHIRPath "participant.actor.where(reference.replaceMatches('/_history/.+','').matches('\\bPatient-Read-Example$') and display.exists()).exists()" with error message 'The participant does not match the expected value'
SUCCESS 215ms
SUCCESS 4.01s
Serenity BDD version 4.3.2