☰ Scenario Search for Practitioner resource by ID
When Get FHIR resource at "http://fhirserver/Practitioner/?_id=${data.medication-practitioner-id}" with content type "xml"
And response bundle contains resource with ID "${data.medication-practitioner-id}" with error message "The requested Practitioner resource ${data.medication-practitioner-id} is not contained in the response bundle"
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bPractitioner-Read-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"
WARN
Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKPersonImGesundheitsberuf' has not been checked because it is unknown
{
"locationCol": 284,
"severity": "WARNING",
"locationString": "Bundle.entry[0].resource/*Practitioner/Practitioner-Read-Example*/.meta.profile[0]",
"messageId": "Validation_VAL_Profile_Unknown",
"locationLine": 2,
"message": "Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKPersonImGesundheitsberuf' 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 Check if current response of resource "Practitioner" is valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKPersonImGesundheitsberuf"
INFO
This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKPersonImGesundheitsberuf|5.1.2
{
"locationCol": 834,
"severity": "INFORMATION",
"locationString": "Practitioner.identifier[2]",
"locationLine": 1,
"message": "This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKPersonImGesundheitsberuf|5.1.2"
}
WARN
Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed
{
"locationCol": 1082,
"severity": "WARNING",
"locationString": "Practitioner.address[0]",
"messageId": "Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed",
"locationLine": 1,
"message": "Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed"
}
INFO
This element does not match any known slice defined in the profile https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner|1.1.1
{
"locationCol": 607,
"severity": "INFORMATION",
"locationString": "Practitioner.identifier[1]",
"locationLine": 1,
"message": "This element does not match any known slice defined in the profile https://gematik.de/fhir/ti/StructureDefinition/ti-practitioner|1.1.1"
}