Stream: dotnet
Topic: relative reference from a resource with a non-restful fullUr
Jeremy Chapman (Feb 11 2021 at 22:40):
If I have a bundle, with a Messageheader in an entry that has a fullUrl of "urn:uuid:ee35a7da-f8a2-475b-bee2-559969b78081", and my MessageHeader.focus.reference is a relative reference of "Patient/123" what should the full url of my Patient resource entry be for it to resolve correctly? and is there a function in the .net library that will resolve it for me?
Michele Mottini (Feb 11 2021 at 22:43):
Patient/123
. No.
Vassil Peytchev (Feb 11 2021 at 22:46):
The fullUrl cannot be Patient/123
as far as I can tell. See the rest of the discussion at https://chat.fhir.org/#narrow/stream/179263-fhir-messages/topic/references/near/226064256
Jeremy Chapman (Feb 11 2021 at 22:47):
No, I'm not saying the full url is Patient/123, I'm saying the relative reference is Patient/123, and I'm wondering what the full url of the patient resource's entry should be to make that resolvable, considering that the Messageheader's fullUrl is urn:uuid:ee35a7da-f8a2-475b-bee2-559969b78081
Vassil Peytchev (Feb 11 2021 at 22:53):
Based on http://build.fhir.org/bundle.html#references, if the MessageHeader fullUrl is not a restfull URL (i.e. http[s]://server/[path/]) a relative reference within the MessageHeader
has no defined meaning within this specification
Last updated: Apr 12 2022 at 19:14 UTC