FHIR Chat · FHIR Validator and v2mappings · implementers

Stream: implementers

Topic: FHIR Validator and v2mappings


view this post on Zulip Eli-Jean Leyssens (Oct 06 2021 at 13:03):

I'm using the FHIR validator from http://hl7.org/fhir/validator/ and it complains about:

Unknown extension http://hl7.org/fhir/uv/v2mappings/StructureDefinition/timestamp

Even though http://hl7.org/fhir/uv/v2mappings/2020Sep/StructureDefinition-timestamp.html says that that is the official URL for the timestamp extension. Is there a flag I need to use with the validator to make it recognize v2mappings URLs?

view this post on Zulip Lloyd McKenzie (Oct 06 2021 at 13:32):

You would need to specify a "-ig " reference to the v2mappings IG. By default, the validator is only aware of the base FHIR specification, not any IGs (and the profiles, extensions, value sets, etc. that are in them).

view this post on Zulip Eli-Jean Leyssens (Oct 06 2021 at 13:54):

Thank you very much, I specified -ig http://hl7.org/fhir/uv/v2mappings and now it doesn't complain anymore!


Last updated: Apr 12 2022 at 19:14 UTC