FHIR Chat · StructureDefinition - Kind in the context of extensions · implementers

Stream: implementers

Topic: StructureDefinition - Kind in the context of extensions


view this post on Zulip Joel Francis (Apr 03 2019 at 13:02):

Hi,

I am having a hard time wrapping my head around the different "Kinds" when creating extensions. Does anyone have any examples that showcase when each kind is used for a particular extension? An explanation would also be appreciated.

https://www.hl7.org/fhir/codesystem-structure-definition-kind.html#4.3.14.132.2

Thanks in advance

view this post on Zulip Michel Rutten (Apr 03 2019 at 14:09):

Hi @Joel Francis, The StructureDefinition.kind field is inherited from the base profile. Only Core profile definitions (and logical models) can define a value for this property.

  • Extensions always specify kind = complex-type (inherited from Extension core profile).
  • Resource profiles always specify kind = resource
  • Primitive datatype profiles specify kind = primitive-type
  • Complex datatype profiles specify kind = complex-type
  • Logical models always specify kind = logical

view this post on Zulip Joel Francis (Apr 03 2019 at 15:07):

Thanks @Michel Rutten


Last updated: Apr 12 2022 at 19:14 UTC