Stream: implementers
Topic: Reference resolution in Bundles
Vadim Peretokin (Mar 30 2016 at 22:56):
I'm not making sense of the example in https://hl7-fhir.github.io/bundle.html#references. How does <reference value="Patient/1"/>
resolve to
<Patient> <id value="23"/> </Patient>
above?
Lloyd McKenzie (Mar 30 2016 at 23:03):
Looks like a typo. Can you submit a change request?
Vadim Peretokin (Mar 30 2016 at 23:15):
Sanity restored. Thanks. http://gforge.hl7.org/gf/project/fhir/tracker/?action=TrackerItemEdit&tracker_item_id=9776
Vadim Peretokin (Mar 31 2016 at 00:09):
I'm having trouble with fhir2 rejecting my bundle due to a contained resource. The bundle in question is this: http://pastebin.com/xf5BzGXJ. Server says: "SHALL have a local reference if the resource is provided inline (url: req; ids: )", "Bundle.entry.item(1).resource.resource.request (@ line 261/ col 17)". I do have a contained resource defined on line 153, and it's referenced right there on line 261. 261:17 is the opening brace for the object with the reference key inside it, but as far as I see, that is proper - where there is ..*, json properties go inside an array of objects
Vadim Peretokin (Mar 31 2016 at 00:09):
What am I doing wrong?
Grahame Grieve (Mar 31 2016 at 00:10):
I'll have a look later this afternoon
Vadim Peretokin (Mar 31 2016 at 00:11):
OK appreciated
Vadim Peretokin (Apr 01 2016 at 07:48):
Have you had a chance to look, Grahame?
Grahame Grieve (Apr 01 2016 at 09:04):
No. Sorry, missed the boat
Vadim Peretokin (Apr 10 2016 at 23:31):
fhir3 seems to be happy to accept the Bundle now (it wasn't working before), fhir2 still complains. Issue solved
Last updated: Apr 12 2022 at 19:14 UTC