Tiger FHIR validation evidences

☰ Scenario Create a Medication List via POST

Given TGR set default header "Content-Type" to "application/fhir+json"
When TGR send POST request to "http://fhirserver/List" with body "!{file('src/test/resources/features/Stufe5/Medikation/fixtures/List-Create-Fixture.json')}"
And TGR find the last request
Then TGR current response with attribute "$.responseCode" matches "20\d"
And FHIR current response body evaluates the FHIRPath '($this is List) or ($this is Parameters)' with error message 'The response contains neither a List nor a Parameters resource'
INFO
($this is List) or ($this is Parameters)
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath '($this is List) implies id.exists()' with error message 'No ID was assigned to the List'
INFO
($this is List) implies id.exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "($this is List) implies status.toString().matches('^current$')" with error message 'List status does not have the value "current"'
INFO
($this is List) implies status.toString().matches('^current$')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "($this is List) implies mode.toString().matches('^working')" with error message 'List mode does not have the value "working"'
INFO
($this is List) implies mode.toString().matches('^working')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.id.exists()" with error message 'No ID was assigned to the List'
INFO
($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.id.exists()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.status.toString().matches('^current$')" with error message 'List status does not have the value "current"'
INFO
($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.status.toString().matches('^current$')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.mode.toString().matches('^working$')" with error message 'List mode does not have the value "working"'
INFO
($this is Parameters) implies parameter.where(name = 'return' and resource is List).resource.mode.toString().matches('^working$')
 
["BooleanType[true]"]