FHIR Chat · profiling contained resources · implementers

Stream: implementers

Topic: profiling contained resources


view this post on Zulip Eric Haas (May 29 2018 at 00:21):

probable been asked before but i can't figure out how to do it in Forge. Can one profile a contained resource by "inlining" the elements under contained in existing tooling? @Michel Rutten ?

view this post on Zulip Michel Rutten (May 29 2018 at 08:20):

Hi @Eric Haas, I'm not sure if this is a recommended approach... but sure you can.
1. Make sure to enable the configuration setting "Show common resource elements" in the options menu.
2. Create or load a profile
3. Slice the .contained element
4. Select the first named slice
5. Constrain the element type from Resource to e.g. Observation
6. Forge will dynamically expand the child elements of the slice, depending on the type constraint
7. Constraint the child elements of the named slice.

view this post on Zulip Eric Haas (May 29 2018 at 17:26):

thanks I will try that. for now I just reference a profile in contained but would rather directly inline the constraints


Last updated: Apr 12 2022 at 19:14 UTC