samply / bbmri-fhir-ig

This is the source for the BBMRI.de / GBA Implementation Guide.
https://samply.github.io/bbmri-fhir-ig/
Creative Commons Attribution Share Alike 4.0 International
6 stars 0 forks source link

Use Example URL as fullUrl #43

Closed noemide closed 5 years ago

noemide commented 5 years ago

Fixes #35

noemide commented 5 years ago

I'm not 100% sure about the reference to Organization... Is it resolved to [base]/Organisation/2 automatically?

alexanderkiel commented 5 years ago

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.

noemide commented 5 years ago

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.