FHIR Chat · Element alias names with context · implementers

Stream: implementers

Topic: Element alias names with context


view this post on Zulip Katarina (Aug 19 2019 at 14:39):

Hello, I want to add different alias names for an element in a profile. The difficulty is that the alias depend on a context. What I need is something like this (pseudocode):

<element id="Practitioner.name.family">
<path value="Practitioner.name.family"/>
aliasList:
[
{<context value="context1"/>, <alias value="Nachname"/> },
{<context value="context2"/>, <alias value="Familienname"/>}
]
</element>

How can I define this? Maybe with this extension https://www.hl7.org/fhir/extension-structuredefinition-display-hint.html? Or is there a better way?

view this post on Zulip Lloyd McKenzie (Aug 20 2019 at 17:00):

I would use the existing ElementDefinition.alias element to convey the value. You could then nest an extension that would define the context for a given alias. Systems that didn't understand the context extension could ignore it and just recognize the terms as being aliases. Systems that recognized the extension could understand when each extension applied.


Last updated: Apr 12 2022 at 19:14 UTC