Stream: implementers
Topic: POSTing a transction bundle & references
Chris Dwyer (Jun 11 2019 at 23:18):
I'm having trouble understanding the examples online of posting a transaction bundle containing a patient resource and another resource that references the patient resource (both of which aren't on the server). How should the reference to the Patient be specified in the secondary resource?
Should the Patient be assigned an id (like "123"), then the secondary resource reference "Patient/123"?
Michele Mottini (Jun 11 2019 at 23:44):
No, the bundle entry containing the Patient should have a fullrUrl xxxxx
and the secondary resource reference contains the same xxxxx
(where xxxxx
is some valid URI unique within the bundle - eg urn:uuid:<GUID>
)
David Hay (Jun 12 2019 at 05:53):
you meant urn:uuid:<GUID> ?
Michele Mottini (Jun 12 2019 at 13:07):
yes, thanks - fixed
Last updated: Apr 12 2022 at 19:14 UTC