FHIR Chat · FHIR upload server · hapi

Stream: hapi

Topic: FHIR upload server


view this post on Zulip Dongtu (Oct 26 2020 at 12:00):

Hi everyone,
I'm implementing FHIR server. I can't find way how my server receive file uploaded and validate them. It just suport @Create, @Update, @Delete,...It not support @Upload anonation.
Please give me some advices.
Thank you!
image.png

view this post on Zulip Dongtu (Oct 27 2020 at 01:33):

@James Agnew

view this post on Zulip Patrick Werner (Oct 27 2020 at 09:23):

Could you explain your question a little more in detail? You are using the jpa starter server and want to know how to validate against a hapi server?
This is done by doing a POST against the Server, e.g.: http://hapi.fhir.org/baseR4/Patient/$validate

view this post on Zulip Dongtu (Oct 27 2020 at 10:06):

I want hapi server can handle multipart/form-data
image.png

view this post on Zulip Patrick Werner (Oct 27 2020 at 12:21):

ah! FHIR only allows xml, json, rdp as transfer formats.

view this post on Zulip Patrick Werner (Oct 27 2020 at 12:21):

in Postman you have to use the "raw" mode

view this post on Zulip Dongtu (Oct 28 2020 at 01:08):

Thank you!
Are there any plans to update in the future?

view this post on Zulip Panayiotis Savva (Oct 28 2020 at 04:06):

As per the FHIR standards, the protocol is Rest, meaning that form data would not be able to be supported given the specifications.


Last updated: Apr 12 2022 at 19:14 UTC