FHIR Chat · profiling sub-elements · implementers

Stream: implementers

Topic: profiling sub-elements


view this post on Zulip Sean McIlvenna (Mar 30 2017 at 19:18):

I believe there is a resource, though I can't find it now, that makes use of a profile that profiles a set of sub-elements. Does anyone know how to do this? For example, create a profile for Composition.section that can be used across multiple Compositions?

view this post on Zulip Lloyd McKenzie (Mar 30 2017 at 20:02):

There's no ability to create a profile on "part" of a resource. StructureDefinitions are created either against full resources or full data types.

view this post on Zulip Grahame Grieve (Mar 30 2017 at 20:39):

it hasn't been done- and isn't currently supported by the tools, but it's legal to use a profile reference into another profile.

view this post on Zulip Sean McIlvenna (Mar 30 2017 at 21:24):

Well, I found my example. It is "Dosage". However, that is built into the core spec.

view this post on Zulip Sean McIlvenna (Mar 30 2017 at 21:24):

Is it possible to follow the same principle, though? Create a complex type extending "Composition.section"?

view this post on Zulip Grahame Grieve (Mar 30 2017 at 22:24):

not in a profile

view this post on Zulip Lloyd McKenzie (Mar 30 2017 at 22:30):

@Grahame Grieve If you wanted to start your profile at some child node of a data type or resource, you'd specify that path as your "base"?

view this post on Zulip Lloyd McKenzie (Mar 30 2017 at 22:30):

Dosage is defined as a stand-alone data type.

view this post on Zulip Eric Haas (Apr 01 2017 at 18:29):

you could just profile the part of the resource or profile you are interested in. For Example, profile Observation and focus on the value[x] element. Isn't that the same thing?

view this post on Zulip Rick Geimer (May 14 2019 at 19:36):

Old thread here, but noticed that some of the trackers around this seem to be incomplete. In particular this one:
https://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=13973

It says to add examples to the spec that show how this works, but I don't see any here (unless I am blind):

http://hl7.org/fhir/profiling-examples.html

Is there somewhere else the examples would be? Did we just miss that part of the tracker when we marked it as "published".

view this post on Zulip Michel Rutten (May 14 2019 at 19:44):

Thanks for the reminder @Rick Geimer! I think we still need to implement support for this in the .NET API & Forge (TODO).


Last updated: Apr 12 2022 at 19:14 UTC