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

Read Information From A Resource Of Type Account (@account-Read)

  Mandatory   Basis   1 To 10 Seconds (Duration)   Stufe5

Read and Validate the Account by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/Account/${data.account-read-id}" with content type "xml"
SUCCESS 652ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKAbrechnungsfall"
SUCCESS 231ms
And resource has ID "Account-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 210ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS 211ms
And element "subject" references resource with ID "Account-Read-Patient-Example" with error message "Referenced patient does not match the expected value"
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "identifier.where(system = 'https://test.krankenhaus.de/fhir/sid/abrechnungsnummer' and value='0123456789').exists()" with error message 'The Account does not contain the expected identifier value'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "identifier.where(system = 'https://test.krankenhaus.de/fhir/sid/abrechnungsnummer' and value='0123456789' and type.coding.where(system='http://terminology.hl7.org/CodeSystem/v2-0203' and code='AN').exists()).exists()" with error message 'The Account exists but does not have a valid type.'
SUCCESS 215ms
And FHIR current response body evaluates the FHIRPath "coverage.priority = 1" with error message 'The Account does not include priority 1 for the insurance coverage.'
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "coverage.coverage.exists()" with error message 'The Account does not contain a linked coverage insurance relationship.'
SUCCESS 209ms
And FHIR current response body evaluates the FHIRPath "coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart').exists()" with error message 'The Account does not contain an extension for the billing type.'
SUCCESS 214ms
And FHIR current response body evaluates the FHIRPath "coverage.extension.where(url = 'http://fhir.de/StructureDefinition/ExtensionAbrechnungsart' and value.code = 'DRG' and value.system = 'http://fhir.de/CodeSystem/dkgev/Abrechnungsart').exists()" with error message 'The Account does not contain the correct billing type.'
SUCCESS 216ms
SUCCESS 2.81s
Serenity BDD version 4.3.2