Stream: implementers
Topic: Extension.url type
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?
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
Nick George (May 16 2019 at 22:47):
I'm guessing this basically says "use a string against the regex"
Nick George (May 16 2019 at 22:47):
would a fhirpath restriction not work?
Nick George (May 16 2019 at 22:53):
I guess that wouldn't be a compile-type guarantee in your system
Grahame Grieve (May 16 2019 at 23:37):
now I might prefer a fhirpath restriction
Last updated: Apr 12 2022 at 19:14 UTC