FHIR Chat · Referencing a resource in a transaction before it is created · implementers

Stream: implementers

Topic: Referencing a resource in a transaction before it is created


view this post on Zulip Dimitar Dimitrov (Oct 29 2019 at 07:32):

Hello everyone. I am trying to use hapi fhir as backend FHIR server with transactions support.
When I tried to send a transaction which consist of multiple resources with references among them, the server returns the following error:
"Invalid match URL \"Encounter?identifier=cbb14b1d-736b-171e-16bc-4ac3a1b912aa\" - No resources match this search". My questions is there a way to send a Bundle transaction which consist of multiple new resources with references between them?

view this post on Zulip Alexander Kiel (Oct 29 2019 at 07:40):

You can reference new resources by direct reference to their fullUrl: https://www.hl7.org/fhir/bundle.html#references


Last updated: Apr 12 2022 at 19:14 UTC