Stream: australia
Topic: STU3 URLs
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
.
Are my expectations too high or am I doing something wrong?
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!
Stephen Royce (Jul 16 2017 at 23:53):
I can't. 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.
Brian Postlethwaite (Jul 17 2017 at 08:09):
which server Stephen?
Stephen Royce (Jul 21 2017 at 02:19):
http://hl7.org/fhir
I'm just using whatever URLs I find in the StructureDefinitions.
Grahame Grieve (Jul 25 2017 at 07:48):
I
Grahame Grieve (Jul 25 2017 at 07:48):
I
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.
Grahame Grieve (Jul 25 2017 at 07:49):
down with XSL ;-)
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