Stream: implementers
Topic: Document Reference Example
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
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.
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.
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