curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/ValueSet/ValueSet-Read-Example"
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'