Open oliveregger opened 9 months ago
this PR added a first draft of functionality is the support for validateProfileId within setup or test actions, e.g.:
<profile id="patient-profile"> <reference value="http://hl7.org/fhir/StructureDefinition/Patient"/> </profile> <setup> <action> <assert> <sourceId value="example-patient"/> <validateProfileId value="patient-profile"/> <warningOnly value="false"/> </assert> </action> </setup>
this assert will validate the fixture (or during a test a response) according to the profile.
for validation an instance of matchbox is needed, the $validate operation will be called with the resource to validate.
the instance can be specified in service.properties with e.g.:
fhirValidationServer= https://gazelle.ihe.net/matchboxv3/fhir/
three test cases with mock validations are provided or updated:
this PR builds upon the other PR to reenable TestScript tests.
if you need any additional information do not hesitate to contact me.
this PR added a first draft of functionality is the support for validateProfileId within setup or test actions, e.g.:
this assert will validate the fixture (or during a test a response) according to the profile.
for validation an instance of matchbox is needed, the $validate operation will be called with the resource to validate.
the instance can be specified in service.properties with e.g.:
fhirValidationServer= https://gazelle.ihe.net/matchboxv3/fhir/
three test cases with mock validations are provided or updated:
this PR builds upon the other PR to reenable TestScript tests.
if you need any additional information do not hesitate to contact me.