Stream: implementers
Topic: http-response-header Extension
Alex Gerstein (Sep 18 2019 at 21:14):
I was looking to use the http-response-header extension to specify custom headers for a BundleEntryResponse, but I'm unsure how the extension is intended to be used.
The extension only specifies valueString, so I'm not sure where the header name and header value should go. Is this extension missing an additional slice (like us-core-race https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-race.html) to specify the name and value separately, or is the valuestring meant to contain the full header pair?
https://www.hl7.org/fhir/extension-http-response-header.html
Ivan Dubrov (Sep 19 2019 at 22:13):
Yeah, I have the same question! The current extension doesn't make much sense to me? How would one provide a header name?
Grahame Grieve (Sep 23 2019 at 21:16):
no examples in the spec. I'd say that it's just
<extension url="http://hl7.org/fhir/StructureDefinition/http-response-header"> <valueString value="My-Header: Value-Of-Header"/> </extension>
Vivek (Nov 06 2019 at 13:11):
no examples in the spec. I'd say that it's just
<extension url="http://hl7.org/fhir/StructureDefinition/http-response-header"> <valueString value="My-Header: Value-Of-Header"/> </extension>
During HL7 to FHIR conversion, if value is not coming in does it make sense to create an extension element with just the url?
Grahame Grieve (Nov 06 2019 at 22:49):
just what URL?
Vivek (Nov 07 2019 at 03:29):
just what URL?
url for the extension data type
Grahame Grieve (Nov 07 2019 at 03:56):
ah no you need a value
Last updated: Apr 12 2022 at 19:14 UTC