web stats
FHIR Sender as JSON - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-23-2019, 11:15 PM
ysdemiryilmaz ysdemiryilmaz is offline
What's HL7?
 
Join Date: Nov 2018
Location: İzmir/TURKEY
Posts: 5
ysdemiryilmaz is on a distinguished road
Cool FHIR Sender as JSON

Hi,

We have successfully implemented FHIR Listener using application/fhir+json format but while implementing FHIR Sender, we cannot send FHIR messages as FHIR+JSON format.

How can we use FHIR+JSON as a content-type in FHIR Sender?

Any help appreciated...

Best regards.
__________________
Yavuz Selim Demiryılmaz
Computer Engineer @imageRAD
Reply With Quote
  #2  
Old 01-25-2019, 03:24 AM
siddharth siddharth is offline
Mirth Guru
 
Join Date: Feb 2013
Posts: 832
siddharth is on a distinguished road
Default

application/json should work fine as well. Are you getting 400 or 500 error while trying to do so?
__________________
HL7v2.7 Certified Control Specialist!
Reply With Quote
  #3  
Old 01-25-2019, 07:06 AM
Shamil Shamil is offline
OBX.3 Kenobi
 
Join Date: May 2013
Posts: 151
Shamil is on a distinguished road
Default

You can use the _format parameter, which "allows a client to override the accept header value when it is unable to set it correctly due to internal limitations". See FHIR spec for details.
Reply With Quote
Reply

Tags
fhir sender, fhir+json

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:49 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation