FHIR Chat · Embedding a resource in Attachment.data · shorthand

Stream: shorthand

Topic: Embedding a resource in Attachment.data


view this post on Zulip Keith Boone (Sep 04 2020 at 19:11):

Is there a SUSHI way to specify that a resource (defined in sushi) is the data associated with an attachment. For good reasons, we want our libraries to contain everything a user needs to execute the measure, rather than links to something.

view this post on Zulip Keith Boone (Sep 04 2020 at 19:15):

Same for Binary.data

view this post on Zulip Keith Boone (Sep 04 2020 at 22:03):

As I think about this, I think instead I can do better, by making the referenced content be embedded resources, which actually makes life easier for generation (I think), and for end users referencing them.

view this post on Zulip Josh Mandel (Sep 04 2020 at 22:09):

Contained?

view this post on Zulip Josh Mandel (Sep 04 2020 at 22:09):

Or... Embedded in what?

view this post on Zulip Keith Boone (Sep 04 2020 at 23:57):

Except that definitional resources like Value Sets don't like to be contained unless defined as instances in Shorthand.
And then there's the whole canonical URL thing to fight.

view this post on Zulip Chris Moesel (Sep 08 2020 at 12:55):

So... you need a way to contain a definitional resource -- and SUSHI gets made if you try to do it the standard way? Sounds like something we should address in SUSHI. I don't think we were aware of the issue (although I'm not altogether surprised).

view this post on Zulip Mark Kramer (Sep 09 2020 at 17:01):

@Chris Moesel I think you meant "SUSHI gets mad"

view this post on Zulip Chris Moesel (Sep 09 2020 at 17:03):

I did!


Last updated: Apr 12 2022 at 19:14 UTC