☰ Scenario Search for the CodeSystem by ID
When Get FHIR resource at "http://fhirserver/CodeSystem/?_id=${data.codesystem-read-id}" with content type "xml"
And FHIR current response body is a valid CORE resource and conforms to profile "https://hl7.org/fhir/StructureDefinition/Bundle"
WARN
Rule csd-0: 'Name should be usable as an identifier for the module by machine processing applications such as code generation' Failed
{
"locationCol": 276,
"severity": "WARNING",
"locationString": "Bundle.entry[0].resource/*CodeSystem/CodeSystem-Read-Example*/",
"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": "Bundle.entry[0].resource/*CodeSystem/CodeSystem-Read-Example*/",
"message": "CodeSystems SHOULD have a stated value for the caseSensitive element so that users know the status and meaning of the code system clearly"
}
WARN
Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKCodeSystem' has not been checked because it is unknown
{
"locationCol": 276,
"severity": "WARNING",
"locationString": "Bundle.entry[0].resource/*CodeSystem/CodeSystem-Read-Example*/.meta.profile[0]",
"messageId": "Validation_VAL_Profile_Unknown",
"locationLine": 2,
"message": "Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKCodeSystem' has not been checked because it is unknown"
}
WARN
Resource meta.profile differs from the passed profile for validation: meta.profile=[]; passed=https://hl7.org/fhir/StructureDefinition/Bundle
{
"severity": "WARNING",
"messageId": "REFV_WARN_PASSED_PROFILE_DIFFERS_FROM_META_PROFILE",
"message": "Resource meta.profile differs from the passed profile for validation: meta.profile=[]; passed=https://hl7.org/fhir/StructureDefinition/Bundle"
}
And response bundle contains resource with ID "${data.codesystem-read-id}" with error message "The requested CodeSystem ${data.codesystem-read-id} is not contained in the response bundle."
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bCodeSystem-Read-Example$')).count() = 1
["BooleanType[true]"]