Tiger FHIR validation evidences

☰ Scenario Read and Validate CodeSystem by its ID

When Get FHIR resource at "http://fhirserver/CodeSystem/${data.codesystem-read-id}" with content type "xml"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKCodeSystem"
WARN
Rule csd-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed
 
{ "locationCol": 41, "severity": "WARNING", "locationString": "CodeSystem", "messageId": "Rule csd-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed", "locationLine": 2, "message": "Rule csd-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed" }
INFO
CodeSystems SHOULD have a stated value for the caseSensitive element so that users know the status and meaning of the code system clearly
 
{ "severity": "INFORMATION", "locationString": "CodeSystem", "message": "CodeSystems SHOULD have a stated value for the caseSensitive element so that users know the status and meaning of the code system clearly" }
And resource has ID "${data.codesystem-read-id}" with error message "The ID does not match the expected value"
INFO
id.replaceMatches('/_history/.+','').matches('\\bCodeSystem-Read-Example$')
 
["BooleanType[true]"]
And TGR current response with attribute "$..status.value" matches "active"
And TGR current response with attribute "$..content.value" matches "complete"
And TGR current response with attribute "$..url.value" matches "http://example.org/fhir/CodeSystem/TestKatalog"
And TGR current response with attribute "$..name.value" matches "Test Catalog"
And TGR current response with attribute "$..version.value" matches "1.0.0"
And TGR current response contains node "$..concept"
And FHIR current response body evaluates the FHIRPath 'concept.where(code = "test" and display = "Test" and definition = "This is a test code").exists()' with error message 'The resource does not contain the expected code'
INFO
concept.where(code = "test" and display = "Test" and definition = "This is a test code").exists()
 
["BooleanType[true]"]