Stream: shorthand
Topic: repeating display in a valueset
Vadim Peretokin (Dec 16 2021 at 12:46):
I define a custom codesystem and give my codes display names, and when I include the codes in a valueset with mysystem#code
, the display name doesn't come through. I have to repeat it again with mysystem#code "same display name here"
, that doesn't feel nice.
Is this something that could be improved upon?
Grahame Grieve (Dec 17 2021 at 02:28):
why would you do that? if you're going to provide display values in the value set, the idea is that they are better for the context of the value set, not just a repeat of the code system - then you just leave them out
Vadim Peretokin (Dec 20 2021 at 15:07):
Yeah, the issue is that some tools I've used don't look up the display names in code systems then - if the value set is missing it, they think there's none available. OK, so the issue isn't with fsh but with the renderers.
Last updated: Apr 12 2022 at 19:14 UTC