hapi-hl7v2 icon indicating copy to clipboard operation
hapi-hl7v2 copied to clipboard

HL7overHttp Content-Type question

Open bartdemaeyer opened this issue 6 years ago • 1 comments

We are currently implementing an HL7 over Http implementation with one of our vendors, and we're using your HL7overHttp implementation. On your site is stated for HL7overHttp that the 'Content-Type' for https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/specification.html#a2.4_Content_Type_and_Character_Set should be 'x-application/hl7-v2+er7' but the examples on the same page say 'application/hl7-v2+er7' but your code returns 'application/hl7-v2' https://hapifhir.github.io/hapi-hl7v2/hapi-hl7overhttp/xref/ca/uhn/hl7v2/hoh/encoder/EncodingStyle.html which one of those three is the rigth one.

bartdemaeyer avatar Apr 03 '18 18:04 bartdemaeyer

You probably already figured this out, but we had the same issue and for anyone else the answer is:

'application/hl7-v2'

danmikita avatar Nov 12 '18 21:11 danmikita