FHIR Chat · Extension.url type · implementers

Stream: implementers

Topic: Extension.url type


view this post on Zulip Nick George (May 16 2019 at 22:45):

Hello, I'm kind of confused by the ElementDefinition for Extension.url. For reference: https://pastebin.com/9kSdw0xd
This says that the type SHALL be a uri, but the type code does not list uri, and only has some extensions which are described as "compiler magic". Is this documented anywhere?

view this post on Zulip Grahame Grieve (May 16 2019 at 22:46):

the extensions are not well documented. there's a couple of other elements that follow this - they can't have extensions, and we wanted to force that down at the structure definition level

view this post on Zulip Nick George (May 16 2019 at 22:47):

I'm guessing this basically says "use a string against the regex"

view this post on Zulip Nick George (May 16 2019 at 22:47):

would a fhirpath restriction not work?

view this post on Zulip Nick George (May 16 2019 at 22:53):

I guess that wouldn't be a compile-type guarantee in your system

view this post on Zulip Grahame Grieve (May 16 2019 at 23:37):

now I might prefer a fhirpath restriction


Last updated: Apr 12 2022 at 19:14 UTC