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

Read Information From A Resource Of Type Patient (@patient-Read)

  Mandatory   Basis   1 To 10 Seconds (Duration)   Stufe5

Read and Validate Patient by their ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/Patient/${data.patient-read-id}" with content type "xml"
SUCCESS 506ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKPatient"
SUCCESS 235ms
And resource has ID "Patient-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 211ms
And TGR current response with attribute "$..gender.value" matches "male"
SUCCESS 216ms
And TGR current response with attribute "$..active.value" matches "true"
SUCCESS 217ms
And TGR current response with attribute "$..birthDate.value" matches "1968-05-12"
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "name.where(use='official').given.matches('Max')"
SUCCESS 219ms
And FHIR current response body evaluates the FHIRPath "name.where(use='official').family.matches('Graf von und zu Mustermann')"
SUCCESS 219ms
And FHIR current response body evaluates the FHIRPath "telecom.where(system='phone').value.matches('201-867-5309')"
SUCCESS 211ms
And FHIR current response body evaluates the FHIRPath "identifier.where(value = 'X485231029' and system = 'http://fhir.de/sid/gkv/kvid-10').exists()" with error message 'The statutory health insurance number does not match the expected value'
SUCCESS 216ms
And FHIR current response body evaluates the FHIRPath "address.where(type = 'both' and city = 'Musterdorf' and postalCode = '98765' and country = 'DE' and line.extension.where( url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName' and value = 'Musterstraße' ).exists() and line.extension.where( url = 'http://hl7.org/fhir/StructureD... with error message 'The address does not match the expected value'
SUCCESS 219ms
And FHIR current response body evaluates the FHIRPath "address.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct' and (value as string) = 'Wiedikon').exists()" with error message 'District is incorrectly specified'
SUCCESS 219ms
And FHIR current response body evaluates the FHIRPath "address.where(type = 'postal' and city = 'Musterdorf' and postalCode = '98765' and country = 'DE' and line.where(extension.url = 'http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox' and extension.value = 'Postfach 4711') = 'Postfach 4711').exists()" with error message 'The P.O. Box does not match the expected value'
SUCCESS 213ms
SUCCESS 3.13s
Serenity BDD version 4.3.2