curl -v -H "accept: application/fhir+xml" -X GET "http://fhirserver/MedicationStatement/MedicationStatement-Read-Example"
SUCCESS
252ms
And FHIR current response body is a valid isik5 resource and conforms to profile "https://gematik.de/fhir/isik/StructureDefinition/ISiKMedikationsInformation"
SUCCESS
243ms
And resource has ID "MedicationStatement-Read-Example"
INFO - id.replaceMatches('/_history/.+','').matches('\\bMedicationStatement-Read-Example$')
Copy
{"empty": false}
SUCCESS
211ms
And TGR current response with attribute "$..status.value" matches "active"
SUCCESS
209ms
And FHIR current response body evaluates the FHIRPath "note.text.empty().not()" with error message 'The note does not contain any value'
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')
Copy
{"empty": false}
SUCCESS
209ms
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')
Copy
{"empty": false}
SUCCESS
210ms
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'
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())
Copy
{"empty": false}
SUCCESS
208ms
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())
Copy
{"empty": false}
SUCCESS
211ms
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')
Copy
{"empty": false}
SUCCESS
211ms
And element "medication" references resource with ID "Medication/Medication-Read-Example" with error message "The referenced medication does not match the expected value"
INFO - medication.reference.replaceMatches('/_history/.+','').matches('\\bMedication/Medication-Read-Example$')
Copy
{"empty": false}
SUCCESS
209ms
And element "subject" references resource with ID "Patient/Patient-Read-Example" with error message "The referenced patient does not match the expected value"
INFO - subject.reference.replaceMatches('/_history/.+','').matches('\\bPatient/Patient-Read-Example$')
Copy
{"empty": false}
SUCCESS
208ms
And element "context" references resource with ID "Encounter/Encounter-Read-In-Progress-Example" with error message "The referenced encounter does not match the expected value"
INFO - context.reference.replaceMatches('/_history/.+','').matches('\\bEncounter/Encounter-Read-In-Progress-Example$')
Copy
{"empty": false}
SUCCESS
208ms
And referenced "Encounter" resource with id "${data.medication-encounter-id}" conforms to a valid v5 "ISiKKontaktGesundheitseinrichtung" profile
curl -v -H "accept: application/fhir+json" -X GET "http://fhirserver/Encounter/Encounter-Read-In-Progress-Example"
INFO - This element does not match any known slice defined in the profile https://gematik.de/fhir/isik/StructureDefinition/ISiKKontaktGesundheitseinrichtung|5.1.2
Copy
{ "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" }
SUCCESS
253ms
And referenced "Patient" resource with id "${data.medication-patient-id}" conforms to a valid v5 "ISiKPatient" profile
curl -v -H "accept: application/fhir+json" -X GET "http://fhirserver/Patient/Patient-Read-Example"
WARN - Rule add-7: 'Wenn die Extension 'Precinct' (Stadtteil) verwendet wird, dann muss diese Information auch als separates line-item abgebildet sein.' Failed
Copy
{ "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
Copy
{ "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" }
SUCCESS
310ms
And referenced "Condition" resource with id "${data.medication-condition-id}" conforms to a valid v5 "ISiKDiagnose" profile