Closed noemide closed 5 years ago
I'm not 100% sure about the reference to Organization... Is it resolved to [base]/Organisation/2 automatically?
I'm not 100% sure about the reference to Organization... Is it resolved to [base]/Organisation/2 automatically?
No not according to https://www.hl7.org/fhir/bundle.html#references. Here I think we need an absolute URL referring to Blaze itself. There is this saying that a relative URL is normally relative to the Service Base URL but not in a Bundle.
Can you please read this? https://www.hl7.org/fhir/managing.html I haven't read it yet. But it sounds good.
I'm not 100% sure about the reference to Organization... Is it resolved to [base]/Organisation/2 automatically?
No not according to https://www.hl7.org/fhir/bundle.html#references. Here I think we need an absolute URL referring to Blaze itself. There is this saying that a relative URL is normally relative to the Service Base URL but not in a Bundle.
Can you please read this? https://www.hl7.org/fhir/managing.html I haven't read it yet. But it sounds good.
I decided to go with a full reference to the already existing Collection, prefixed it with blaze to it is clear that this must be an already existing FHIR resource on a server. This seems to be correct according to the "How to resolve a refernce in a Bundle" section.
Fixes #35