FHIR Chat · Adding Conformance Tests · conformance

Stream: conformance

Topic: Adding Conformance Tests


view this post on Zulip Chris Grenz (May 29 2019 at 20:16):

How can I add conformance tests to the validator?

view this post on Zulip Grahame Grieve (May 29 2019 at 20:18):

make a pr against https://github.com/hapifhir/org.hl7.fhir.core. Add you tests to https://github.com/hapifhir/org.hl7.fhir.core/blob/master/org.hl7.fhir.validation/src/test/resources/validation-examples/manifest.json

view this post on Zulip Grahame Grieve (May 29 2019 at 20:19):

I'm afraid ;-)

view this post on Zulip Chris Grenz (Jun 06 2019 at 18:16):

@Grahame Grieve I've create a bunch of profiles with associated tests here: https://github.com/chrisgrenz/FHIR-Primer2

view this post on Zulip Chris Grenz (Jun 06 2019 at 18:17):

Various test servers have various opinions about them...is the most productive thing for me to add them to a branch of the validator and PR? Or should they get some scrutiny first?

view this post on Zulip Chris Grenz (Jun 06 2019 at 18:19):

Also, I'd be great if HAPI and Vonk and others would implement the $snapshot operation (http://hl7.org/fhir/structuredefinition-operation-snapshot.html) @Christiaan Knaap @James Agnew

view this post on Zulip Grahame Grieve (Jun 07 2019 at 03:49):

in principle, yes, make PR requests against the HAPI core. I'm just wondering whether it should be a bunch of small change requests, or one large one. Either sounds scary

view this post on Zulip Alexander Zautke (Jun 07 2019 at 07:03):

Vonk supports $snapshot already for quite a while. POST {{BASE_URL}}/StructureDefinition/$snapshot should work fine.
The only limitation is that you can't use any custom profiles as a base definition. At least on the public endpoint (vonk.fire.ly). If you set up your own instance you can add your profiles to the administration database first, and then they will also be resolved when generating the snapshot.

view this post on Zulip Christiaan Knaap (Jun 07 2019 at 19:04):

@Chris Grenz Vonk does implement $snapshot, see the docs

view this post on Zulip Chris Grenz (Jun 08 2019 at 18:11):

@Christiaan Knaap my apologies, I missed that.


Last updated: Apr 12 2022 at 19:14 UTC