FHIR Chat · Read time enrichment of reference.display · implementers

Stream: implementers

Topic: Read time enrichment of reference.display


view this post on Zulip Rowan Foster (Nov 28 2016 at 20:58):

Is it appropriate for a FHIR Resource to enrich (update) the display value of references at read time?

For example if Observation.performer references a Practitioner and my client UI only wishes to display the name of the referenced Practitioner, can the service returned an updated value for display to ensure that the correct name is displayed (in case of typos, marriage, divorce etc since the original Observation was created).

I would like to do this to save bandwidth for mobile devices, so don't want to _include a potentially large number of Practitioner resource. It also has the advantage that if no appropriate Practitioner resource is available the client will still work unchanged just by dealing with the display value.

view this post on Zulip Lloyd McKenzie (Dec 05 2016 at 16:45):

@Rowan Foster This would get messy if there were signatures involved. And not returning the same content each time could be confusing to some. But there's nothing that says you can't do this.

view this post on Zulip Brian Postlethwaite (Dec 06 2016 at 21:50):

This is a nice reminder to all that its always good to include the display names in references, makes things easier to use.
Support staff don't need to go lookup the value to know who the observation was for when cross referencing things (easier to remember Dr Smith than a Guid which could be in the ID)


Last updated: Apr 12 2022 at 19:14 UTC