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

Read Information From A Resource Of Type "Statutory" Coverage (@coverage-Read-Statutory)

  Mandatory   Basis   1 To 10 Seconds (Duration)   Stufe5

Read and Validate statutory Coverage by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/Coverage/${data.coverage-read-statutory-id}" with content type "xml"
SUCCESS 482ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKVersicherungsverhaeltnisGesetzlich"
SUCCESS 229ms
And resource has ID "Coverage-Read-Statutory-Example" with error message "The returned Coverage resource has not the expected ID"
SUCCESS 217ms
And FHIR current response body evaluates the FHIRPath "type.coding.where(system='http://fhir.de/CodeSystem/versicherungsart-de-basis' and code = 'GKV').exists()" with error message 'The type does not match the expected value'
SUCCESS 219ms
And element "beneficiary" references resource with ID "Patient-Read-Example" with error message "The referenced patient does not match the expected value."
SUCCESS 215ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS 220ms
And FHIR current response body evaluates the FHIRPath "payor.identifier.type.coding.where(system = 'http://terminology.hl7.org/CodeSystem/v2-0203' and code = 'XX').exists()" with error message "The type of the insurer's identifier does not match the expected value"
SUCCESS 218ms
And FHIR current response body evaluates the FHIRPath "payor.identifier.where(system = 'http://fhir.de/sid/arge-ik/iknr' and value = '108018007').exists()" with error message "The insurer's identifier does not match the expected value"
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "payor.display = 'AOK Baden-Württemberg'" with error message "The insurer's display value does not match the expected value"
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "subscriber.reference.exists()" with error message 'A reference to a RelatedPerson as Subscriber was not found'
SUCCESS 218ms
And FHIR current response body evaluates the FHIRPath "subscriber.identifier.type.coding.where(system = 'http://fhir.de/CodeSystem/identifier-type-de-basis' and code = 'KVZ10').exists()" with error message "The subscriber's identifier type does not match the expected value"
SUCCESS 221ms
And FHIR current response body evaluates the FHIRPath "subscriber.identifier.where(system = 'http://fhir.de/sid/gkv/kvid-10' and value = 'A123456789').exists()" with error message "The subscriber's identifier does not match the expected value"
SUCCESS 216ms
SUCCESS 2.9s
Serenity BDD version 4.3.2