FHIR Chat · HAPI FHIR - Create Resource / User Specified ID · implementers

Stream: implementers

Topic: HAPI FHIR - Create Resource / User Specified ID


view this post on Zulip Ananya Choudhury (Jan 31 2019 at 01:00):

Hello, All
I have some data which I would like to host in a locally deployed HAPI server. However, I would also like to use a specific ID for each of the resource. At present, the command line tool for uploading the resources to the server, strips any id from the resource body and instead assigns a server defined ID. Additionally, I came across that the CREATE function uses RESTful POST, which does the reassignment. Using, UPDATE for creation helps set a user defined ID. Can someone provide a way how to upload the files with UPDATE (PUT) using command line or any other way.

Thanks.

view this post on Zulip Lloyd McKenzie (Jan 31 2019 at 01:26):

Look at the "transaction" and "batch" capabilities on the REST page.

view this post on Zulip Armin Griebler (Mar 17 2020 at 13:15):

Hello, I've got a question about creating an instance of a resource with HAPI. When I create a Bundle resource, does HAPI immediately validates also the content of the Bundle or is this just possible with a separate validation?

view this post on Zulip Lloyd McKenzie (Mar 17 2020 at 13:55):

@James Agnew

view this post on Zulip James Agnew (Mar 17 2020 at 14:38):

Hi Armin, have you read through the documentation on the validator: https://hapifhir.io/hapi-fhir/docs/validation/


Last updated: Apr 12 2022 at 19:14 UTC