☰ Scenario Search for the Condition by ID
When Get FHIR resource at "http://fhirserver/Condition/?_id=${data.medication-condition-active-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
Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKDiagnose' has not been checked because it is unknown
{
"locationCol": 286,
"severity": "WARNING",
"locationString": "Bundle.entry[0].resource/*Condition/Condition-Read-Active-Example*/.meta.profile[0]",
"messageId": "Validation_VAL_Profile_Unknown",
"locationLine": 2,
"message": "Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKDiagnose' 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.medication-condition-active-id}" with error message "The requested Condition ${data.medication-condition-active-id} is not contained in the response bundle"
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bCondition-Read-Active-Example$')).count() = 1
["BooleanType[true]"]
And Check if current response of resource "Condition" is valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKDiagnose"
INFO
Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/icd-10-gm#J06.9'
{
"locationCol": 839,
"severity": "INFORMATION",
"locationString": "Condition.code.coding[0]",
"messageId": "Terminology_PassThrough_TX_Message",
"locationLine": 1,
"message": "Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/icd-10-gm#J06.9'"
}
INFO
Code system definition is missing for 'http://snomed.info/sct#49076000'
{
"locationCol": 1034,
"severity": "INFORMATION",
"locationString": "Condition.bodySite[0].coding[0]",
"messageId": "Terminology_PassThrough_TX_Message",
"locationLine": 1,
"message": "Code system definition is missing for 'http://snomed.info/sct#49076000'"
}