FHIR Chat · Relative URL format · implementers

Stream: implementers

Topic: Relative URL format


view this post on Zulip Danielle Friend (May 01 2019 at 19:19):

Should relative URLs start with a slash? Ex: "/Patient/123" or "Patient/123"?
In the examples on this page the url is "Patient/123": https://www.hl7.org/fhir/references.html
pasted image

In the definition, the url is defined as "/[type]/[id]": https://www.hl7.org/fhir/references-definitions.html#Reference.reference

view this post on Zulip Michele Mottini (May 01 2019 at 19:22):

I'd say should not start with a slash: they are relative to the FHIR base, not to the root of site

view this post on Zulip Lloyd McKenzie (May 01 2019 at 19:25):

Agree there should be no slash. @Danielle Friend can you submit a change request to fix the definition?

view this post on Zulip Danielle Friend (May 01 2019 at 19:30):

@Lloyd McKenzie sure can.

view this post on Zulip Danielle Friend (May 01 2019 at 21:05):

GF#21230 created.

view this post on Zulip sayan samanta (Nov 09 2021 at 06:18):

Hi,

I want to change the URL format in FHIR data output as it is containing all URL information.

Can anyone suggest how to do that in FHIR server settings.

Thanks.

view this post on Zulip René Spronk (Nov 09 2021 at 08:25):

@sayan samanta That question is probably best asked using the support channels of the vendor of your FHIR server (of which there are many). This forum is (officially) vendor-agnostic, although one tends to find representatives of all sorts of product companies on this forum.


Last updated: Apr 12 2022 at 19:14 UTC