Tiger FHIR validation evidences

☰ Scenario Read and Validate the MedicationStatement by its ID

Then Get FHIR resource at "http://fhirserver/MedicationStatement/${data.medicationstatement-read-id}" with content type "xml"
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation"
And resource has ID "${data.medicationstatement-read-id}"
INFO
id.replaceMatches('/_history/.+','').matches('\\bMedicationStatement-Read-Example$')
 
["BooleanType[true]"]
And TGR current response with attribute "$..status.value" matches "active"
And FHIR current response body evaluates the FHIRPath "note.text.empty().not()" with error message 'The note does not contain any value'
INFO
note.text.empty().not()
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "effective.start.toString().contains('2026-02-03')" with error message 'The period does not match the expected value'
INFO
effective.start.toString().contains('2026-02-03')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "dateAsserted.toString().contains('2026-02-27')" with error message 'The date asserted does not match the expected value'
INFO
dateAsserted.toString().contains('2026-02-27')
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "dosage.all(text.empty().not())" with error message 'The free-text dosage instructions do not match the expected value'
INFO
dosage.all(text.empty().not())
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "dosage.all(patientInstruction.empty().not())" with error message 'Patient instructions do not contain any value'
INFO
dosage.all(patientInstruction.empty().not())
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "dosage.all(doseAndRate.dose.where(value ~ 1 and unit.empty().not() and system = 'http://unitsofmeasure.org' and code ='1').exists())" with error message 'Dose and rate information does not match the expected value'
INFO
dosage.all(doseAndRate.dose.where(value ~ 1 and unit.empty().not() and system = 'http://unitsofmeasure.org' and code ='1').exists())
 
["BooleanType[true]"]
And FHIR current response body evaluates the FHIRPath "(dosage.timing.repeat.when contains 'MORN') and (dosage.timing.repeat.when contains 'NOON') and (dosage.timing.repeat.when contains 'EVE')" with error message 'Timing repeat information does not match the expected value'
INFO
(dosage.timing.repeat.when contains 'MORN') and (dosage.timing.repeat.when contains 'NOON') and (dosage.timing.repeat.when contains 'EVE')
 
["BooleanType[true]"]
And element "medication" references resource with ID "Medication/${data.medication-read-id}" with error message "The referenced medication does not match the expected value"
INFO
medication.reference.replaceMatches('/_history/.+','').matches('\\bMedication/Medication-Read-Example$')
 
["BooleanType[true]"]
And element "subject" references resource with ID "Patient/${data.medication-patient-id}" with error message "The referenced patient does not match the expected value"
INFO
subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Example$')
 
["BooleanType[true]"]
And element "context" references resource with ID "Encounter/${data.medication-encounter-id}" with error message "The referenced encounter does not match the expected value"
INFO
context.reference.replaceMatches('/_history/.+','').matches('\\bEncounter/Encounter-Read-In-Progress-Example$')
 
["BooleanType[true]"]
And referenced "Encounter" resource with id "${data.medication-encounter-id}" conforms to a valid v5 "ISiKKontaktGesundheitseinrichtung" profile
INFO
This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung|5.1.2
 
{ "locationCol": 956, "severity": "INFORMATION", "locationString": "Encounter.location[0]", "locationLine": 1, "message": "This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung|5.1.2" }
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
WARN
Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed
 
{ "locationCol": 1408, "severity": "WARNING", "locationString": "Patient.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-patient|1.1.1
 
{ "locationCol": 2117, "severity": "INFORMATION", "locationString": "Patient.identifier[1]", "locationLine": 1, "message": "This element does not match any known slice defined in the profile https://gematik.de/fhir/ti/StructureDefinition/ti-patient|1.1.1" }
And referenced "Condition" resource with id "${data.medication-condition-id}" conforms to a valid v5 "ISiKDiagnose" profile
INFO
Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/icd-10-gm#J06.9'
 
{ "locationCol": 206, "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": 719, "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'" }
And referenced "Medication" resource with id "${data.medication-read-id}" conforms to a valid v5 "ISiKMedikament" profile
INFO
Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/atc#V03AB23'
 
{ "locationCol": 170, "severity": "INFORMATION", "locationString": "Medication.code.coding[0]", "messageId": "Terminology_PassThrough_TX_Message", "locationLine": 1, "message": "Code system definition is missing for 'http://fhir.de/CodeSystem/bfarm/atc#V03AB23'" }