Stream: implementers
Topic: Observation.value[x] in R4
frank cao (Oct 05 2021 at 18:56):
R4 removed attachment type from Observation.value[x]. How do I capture binary data as the observation.value? In v2, this is the ED type.
Lloyd McKenzie (Oct 05 2021 at 19:37):
In R4, the recommendation is to use Media instead of Observation. However, in R5, this decision was reversed and Attachment is back into the choice list. So you could use an extension if you wished. (There will be a 'standard' means to add support for additional types via extensions in R5, but that's not available in R4 either :sad: )
frank cao (Oct 05 2021 at 19:47):
Thanks Lloyd. If we need to support documents or image as observation value, do we use Observation.derivedFrom?
Lloyd McKenzie (Oct 05 2021 at 20:25):
@Eric Haas @Hans Buitendijk
Eric Haas (Oct 06 2021 at 00:26):
This is the first I am aware of
There will be a 'standard' means to add support for additional types via extensions in R5, but that's not available in R4 either
because my answer was to use this extension and "backport" the R5 element
Lloyd McKenzie (Oct 06 2021 at 02:31):
Actually, Eric's right. You can use the standard inter-version extension. The 'new' extension I was thinking of is one that lets you additional targets for references, not polymorphic elements
frank cao (Oct 06 2021 at 13:31):
What is the inter-version extension? Is it defined in FHIR?
Lloyd McKenzie (Oct 06 2021 at 13:33):
http://build.fhir.org/versions.html#extensions
Hans Buitendijk (Oct 06 2021 at 20:42):
I.e., http://hl7.org/fhir/R5/StructureDefinition/extension-Observation.valueAttachment.
Last updated: Apr 12 2022 at 19:14 UTC