FHIR Chat · Examples folder · IG creation

Stream: IG creation

Topic: Examples folder


view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 05:02):

Curently examples can be in the input\examples or input\examples\<Type> folder.
How can I put examples in the input\examples\<Profile> folder?

view this post on Zulip Lloyd McKenzie (Feb 27 2020 at 06:08):

I'm actually surprised that input/examples/<Type> works. There's no ability at the moment to search arbitrary sub-folders and typically we wouldn't want that - because sometimes you want to stick old/playing around/other stuff in sub-folders that you don't want the build to touch. If you want folders other than the default ones looked at, you'll have to enumerate them in the IG

view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 06:32):

ok. I think the <Type> works because of the way the publisher looks for files

view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 06:32):

I'm looking at making my IG structures less focused on type and more on profile

view this post on Zulip Lloyd McKenzie (Feb 27 2020 at 16:49):

The same example could easily incorporate multiple profiles

view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 16:52):

True. But there will be examples of the same type but for completely different functionality and scope. Those are the ones I want to separate

view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 16:53):

I can use naming convention to do that

view this post on Zulip Jose Costa Teixeira (Feb 27 2020 at 16:53):

Eg careplan-medtreatment-001 and careplan-homecare-001


Last updated: Apr 12 2022 at 19:14 UTC