FHIR Chat · Document Reference Example · implementers

Stream: implementers

Topic: Document Reference Example


view this post on Zulip Joel Francis (Jul 29 2019 at 14:46):

Hi,

Can I please get some clarification on why the document reference example in the specification - https://www.hl7.org/fhir/xds-example.xml.html uses a Bundle and not the attachment.data element which is also base64 encoded?

Thanks,

Joel @Alex Goel

view this post on Zulip Lloyd McKenzie (Jul 29 2019 at 14:49):

In XDS, the 'reference' and the 'document' generally live on separate servers - so you can't embed the binary in the reference.

view this post on Zulip John Moehrke (Jul 30 2019 at 19:11):

The example you are refering to is an example of a Bundle that holds a DocumentReference and a Binary. Thus it is a use-case specific example. It is not a general example. As Lloyd indicates, XDS has a constraint that the Binary is used and that .data is not used. This is a use-case specific constraint. This is not a constraint on all use-cases of DocumentReference.

view this post on Zulip Joel Francis (Jul 31 2019 at 18:38):

The example you are refering to is an example of a Bundle that holds a DocumentReference and a Binary. Thus it is a use-case specific example. It is not a general example. As Lloyd indicates, XDS has a constraint that the Binary is used and that .data is not used. This is a use-case specific constraint. This is not a constraint on all use-cases of DocumentReference.

Thanks @John Moehrke


Last updated: Apr 12 2022 at 19:14 UTC