Tiger FHIR validation evidences

☰ Scenario Search for the MedicationRequest by ID

Then Get FHIR resource at "http://fhirserver/MedicationRequest/?_id=${data.medicationrequest-read-id}" with content type "xml"
And response bundle contains resource with ID "${data.medicationrequest-read-id}" with error message "The requested resource with ID ${data.medicationrequest-read-id} is not contained in the response bundle"
INFO
entry.resource.where(id.replaceMatches('/_history/.+','').matches('\\bMedicationRequest-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/ISiKMedikationsVerordnung' has not been checked because it is unknown
 
{ "locationCol": 304, "severity": "WARNING", "locationString": "Bundle.entry[0].resource/*MedicationRequest/MedicationRequest-Read-Example*/.meta.profile[0]", "messageId": "Validation_VAL_Profile_Unknown", "locationLine": 2, "message": "Profile reference 'https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsVerordnung' 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 "MedicationRequest" is valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsVerordnung"
WARN
Rule DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen — eine Mischung ist nicht erlaubt.' Failed
 
{ "locationCol": 960, "severity": "WARNING", "locationString": "MedicationRequest.dosageInstruction[0]", "messageId": "Rule DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen \u2014 eine Mischung ist nicht erlaubt.' Failed", "locationLine": 1, "message": "Rule DosageStructuredOrFreeTextWarning: 'Die Dosierungsangabe darf entweder nur als Freitext oder nur als vollständige strukturierte Information erfolgen \u2014 eine Mischung ist nicht erlaubt.' Failed" }
INFO
Code system definition is missing for 'http://snomed.info/sct#738956005'
 
{ "locationCol": 1227, "severity": "INFORMATION", "locationString": "MedicationRequest.dosageInstruction[0].site.coding[0]", "messageId": "Terminology_PassThrough_TX_Message", "locationLine": 1, "message": "Code system definition is missing for 'http://snomed.info/sct#738956005'" }