FHIR Chat · STU3 URLs · australia

Stream: australia

Topic: STU3 URLs


view this post on Zulip Stephen Royce (Jul 14 2017 at 07:15):

I was really hoping that STU3 FHIR resource URLs would return the resource StructureDefinition (XML in my case), but I always seem to get the HTML even when I use ?_format=xml. :disappointed:
Are my expectations too high or am I doing something wrong?

view this post on Zulip Brett Esler (Jul 14 2017 at 14:38):

Stephen - set the Accept header on the call to cannonical URL for core to application/fhir+xml and you'll get what you want!

view this post on Zulip Stephen Royce (Jul 16 2017 at 23:53):

I can't. :disappointed: I'm using the doc() function from within XSL. I imagine that the header information sent is extremely scant and the function has no option for setting any of it.

view this post on Zulip Brian Postlethwaite (Jul 17 2017 at 08:09):

which server Stephen?

view this post on Zulip Stephen Royce (Jul 21 2017 at 02:19):

http://hl7.org/fhir
I'm just using whatever URLs I find in the StructureDefinitions.

view this post on Zulip Grahame Grieve (Jul 25 2017 at 07:48):

I

view this post on Zulip Grahame Grieve (Jul 25 2017 at 07:48):

I

view this post on Zulip Grahame Grieve (Jul 25 2017 at 07:49):

I'll try and extend the redirection service to support the _format parameter... but won't get to it quickly.

view this post on Zulip Grahame Grieve (Jul 25 2017 at 07:49):

down with XSL ;-)

view this post on Zulip Stephen Royce (Jul 25 2017 at 07:54):

That would be great, but don't kill yourself over it; I have a workaround, albeit a nasty one.


Last updated: Apr 12 2022 at 19:14 UTC