☰ Scenario Search for the Coverage by ID
When Get FHIR resource at "http://fhirserver/Coverage/?_id=${data.coverage-read-statutory-id}" with content type "xml"
And response bundle contains resource with ID "${data.coverage-read-statutory-id}" with error message "The requested Coverage ${data.coverage-read-statutory-id} is not contained in the response bundle"
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bCoverage-Read-Statutory-Example$')).count() = 1
["BooleanType[true]"]
And FHIR current response body is a valid CORE resource and conforms to profile "https://hl7.org/fhir/StructureDefinition/Bundle"
INFO
None of the codings provided are in the value set 'Coverage Type and Self-Pay Codes' (http://hl7.org/fhir/ValueSet/coverage-type|4.0.1), and a coding is recommended to come from this value set) (codes = http://fhir.de/CodeSystem/versicherungsart-de-basis#GKV)
{
"locationCol": 666,
"severity": "INFORMATION",
"locationString": "Bundle.entry[0].resource/*Coverage/Coverage-Read-Statutory-Example*/.type",
"messageId": "Terminology_TX_NoValid_3_CC",
"locationLine": 2,
"message": "None of the codings provided are in the value set 'Coverage Type and Self-Pay Codes' (http://hl7.org/fhir/ValueSet/coverage-type|4.0.1), and a coding is recommended to come from this value set) (codes = http://fhir.de/CodeSystem/versicherungsart-de-basis#GKV)"
}
WARN
Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKVersicherungsverhaeltnisGesetzlich' has not been checked because it is unknown
{
"locationCol": 288,
"severity": "WARNING",
"locationString": "Bundle.entry[0].resource/*Coverage/Coverage-Read-Statutory-Example*/.meta.profile[0]",
"messageId": "Validation_VAL_Profile_Unknown",
"locationLine": 2,
"message": "Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKVersicherungsverhaeltnisGesetzlich' 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"
}