Stream: implementers
Topic: Encounter as reference
rekha (Jan 27 2021 at 06:38):
Hi all ,
We are adding patient encounters as reference in List item entry for easily accessing.
We need to save some basic info of Encounter resource (Class, Period, Admission Info) in List: Entry: .
Can we add extension to save this info as JSON file?
Thanks in advance.
Lloyd McKenzie (Jan 27 2021 at 15:14):
The typical pattern is that a 'Reference' is like a hyperlink. Reference.reference is the URL, Reference.display is the text of the link. You have control over what goes in the Reference.display for a human to look at. If you want discrete data about the referenced thing, you must resolve the Reference. There's nothing that stops you from copying discrete data from the target of the reference and adding it as extensions, but: the data copied risks being out-of-date or outright wrong if the reference target gets corrected; and few, if any, systems will support the extensions.
Last updated: Apr 12 2022 at 19:14 UTC