Serenity BDD Report
Report generated 01-09-2026 07:06

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

  Terminplanung   Mandatory   I Si K Capability I Si K Capability Statement Terminologie Rolle   10 To 30 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 385ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKValueSet"
SUCCESS 17s 031ms
And resource has ID "ValueSet-Read-Example" with error message "The ID does not match the expected value"
SUCCESS 212ms
Then TGR current response with attribute "$.responseCode" matches "200"
SUCCESS 211ms
And TGR current response with attribute "$.header.[~'content-type']" matches "application/fhir\+xml;\s*charset=(?i)UTF-8"
SUCCESS 212ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS 211ms
And TGR current response with attribute "$..url.value" matches "http://example.org/fhir/ValueSet/TestValueSet"
SUCCESS 210ms
And TGR current response with attribute "$..name.value" matches "TestValueSet"
SUCCESS 209ms
And TGR current response with attribute "$..ValueSet.version.value" matches "1.0.0"
SUCCESS 209ms
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 210ms
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'
 RBellog 0  Evidence Report
SUCCESS 211ms
SUCCESS 24.55s
Serenity BDD version 5.3.10