FHIR Chat · invalid StructureDefinition.base value · implementers

Stream: implementers

Topic: invalid StructureDefinition.base value


view this post on Zulip Sean McIlvenna (Apr 04 2016 at 15:51):

resource.profile.json has a "base" value of "http://hl7.org/fhir/StructureDefinition/" but there is no profile in FHIR that has a url of "http://hl7.org/fhir/StructureDefinition/". The only thing I can find that I think this represents in StructureDefinition.profile.json, which has a url of "http://hl7.org/fhir/StructureDefinition/StructureDefinition"

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 15:51):

Is this by design? or am I missing something?

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 15:51):

Or is this a bug that I should file?

view this post on Zulip Michel Rutten (Apr 04 2016 at 16:11):

@Sean McIlvenna This is a bug. I assume the correct base for Resource would be Element, i.e. http://hl7.org/fhir/StructureDefinition/Element

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 17:17):

Thanks... Will submit a bug

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 17:23):

I was looking for a URL to reference in the ticket from the main fhir website... Maybe my local download of the spec is outdated, because in the resource.profile.json I found on the website (http://www.hl7.org/fhir/resource.profile.json.html) I don't see any "base" value at all...

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 17:24):

Maybe this has already been addressed by removing "base" altogether

view this post on Zulip Sean McIlvenna (Apr 04 2016 at 17:24):

can anyone confirm this?

view this post on Zulip Mirjam Baltus (Apr 06 2016 at 08:53):

It would be correct that resource.profile.json doesn't contain a "base" value, since the base resource doesn't derive from another resource. The "base" element is still present in StructureDefinition, so for other resources you can fill it in (for example see http://www.hl7.org/fhir/patient.profile.json.html).

view this post on Zulip Mirjam Baltus (Apr 06 2016 at 08:54):

Note: for STU3 the name of this element has changed to "baseDefinition".

view this post on Zulip Grahame Grieve (Apr 07 2016 at 21:30):

Sean. yes "Resource" and "Element" are not derived from other types, so do not have a base


Last updated: Apr 12 2022 at 19:14 UTC