hapi-hl7v2
hapi-hl7v2 copied to clipboard
HL7overHttp Content-Type question
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.
You probably already figured this out, but we had the same issue and for anyone else the answer is:
'application/hl7-v2'