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

Read Information From A Resource Of Type Valueset (@valueset-Read)

  Mandatory   Basis   1 To 10 Seconds (Duration)   Stufe5

Read and Validate ValueSet by its ID
Steps Outcome
When Get FHIR resource at "http://fhirserver/ValueSet/${data.valueset-read-id}" with content type "xml"
SUCCESS 571ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKValueSet"
SUCCESS 5s 020ms
And resource has ID "ValueSet-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 213ms
Then TGR current response with attribute "$.responseCode" matches "200"
SUCCESS 212ms
And TGR current response with attribute "$.header.[~'content-type']" matches "application/fhir\+xml;\s*charset=(?i)UTF-8"
SUCCESS 214ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS 217ms
And TGR current response with attribute "$..url.value" matches "http://example.org/fhir/ValueSet/TestValueSet"
SUCCESS 212ms
And TGR current response with attribute "$..name.value" matches "TestValueSet"
SUCCESS 216ms
And TGR current response with attribute "$..ValueSet.version.value" matches "1.0.0"
SUCCESS 217ms
And FHIR current response body evaluates the FHIRPath "useContext.value.coding.where(code = 'Encounter').exists()" with error message 'The ValueSet does not specify the required context'
SUCCESS 212ms
And FHIR current response body evaluates the FHIRPath "expansion.exists()" with error message 'The ValueSet does not contain an expansion'
SUCCESS 213ms
And FHIR current response body evaluates the FHIRPath "expansion.contains.where(code = 'sun' and display = 'Sunday' and system = 'http://hl7.org/fhir/days-of-week').exists()" with error message 'The ValueSet does not contain the required codes'
SUCCESS 215ms
SUCCESS 7.75s
Serenity BDD version 4.3.2