Stream: FHIRcast
Topic: How to provide a reference to an non-resource element
George Kustas (Dec 17 2020 at 13:57):
According to the FHIR 4.0, the Media resource contains the required field content which is an Attachment data type. The spec says that content can be inline or referenced. How would it be referenced (syntactically) given Attachment is a data type. In other words, is Attachment/{id} syntactically correct and can a FHIR server provide access to non-resource elements? @Bas van den Heuvel @Isaac Vetter @Catie Ladd @Eric Martin this is related to our FHIRCast content sharing implementation.
Elliot Silver (Dec 17 2020 at 17:27):
Attachment has two ways of "attaching" content, either through Attachment.data, which contains the base64-encoded data, or through Attachment.url, which has the url of the content. Data referenced through Attachment.url can be stored in a FHIR Binary, or any other url-referable destination.
George Kustas (Dec 17 2020 at 18:06):
Thanks for the clarification @Elliot Silver .
Last updated: Apr 12 2022 at 19:14 UTC