FHIR Chat · extension · shorthand

Stream: shorthand

Topic: extension


view this post on Zulip David Hay (Dec 13 2019 at 00:49):

How is the extension url specified? I see an id in the examples but no url...

view this post on Zulip Grahame Grieve (Dec 13 2019 at 00:50):

it's assumed that it's in the overall namespace

view this post on Zulip David Hay (Dec 13 2019 at 00:55):

'canonical' in the configuration file? Be interesting to see if that is a limitation (don't have a use case atm...)

view this post on Zulip Grahame Grieve (Dec 13 2019 at 00:56):

there's certainly use cases for the code system uri to be different but I haven't seen use cases for anything else

view this post on Zulip Chris Moesel (Dec 13 2019 at 13:30):

By default, it will use the canonical and the id to generate the extension url. In theory, you could override it via the special ^ operator that allows you to set things in the underlying StructureDefinition. E.g.,

Extension: MyExtension
^url = "http://example.com/my-awesome-extension

This, however, is not generally a good idea because last time I checked, the publisher barks at you if the extension's url doesn't start w/ the canonical and also barks at you if the extension url doesn't end with its id.

view this post on Zulip Grahame Grieve (Dec 13 2019 at 19:53):

you can tell the publisher that you actually meant to do that, but you have to do that explicitly because most authors do it by mistake or don't understand the ramficatinos


Last updated: Apr 12 2022 at 19:14 UTC