FHIR Chat · Bundle.type.message posted to rootd to · implementers

Stream: implementers

Topic: Bundle.type.message posted to rootd to


view this post on Zulip Tushar Nair (May 06 2020 at 21:51):

Hello,
I am trying to post the bundle to the root where the type is set to message on my HAPI FHIR server, but it returns an error message saying - 'Unable to process transaction where incoming Bundle.type = message'. I tried the $process-message operation, where I used POST with url -http://localhost:8080/hapi-fhir-jpaserver/fhir/$process-message. It returned a message saying -This operation is not yet implemented on this server. If I post it to the url with/Bundle, it does accept that. But my understanding was that this could be done by posting to the root or $process-message operation so that resources could be shredded and persisted individually. Can somebody shed light on this. Thank you.

view this post on Zulip Jean Duteau (May 06 2020 at 21:54):

Since this is a #hapi question, you are better off posting to the #hapi stream.

view this post on Zulip Jean Duteau (May 06 2020 at 21:55):

Having said that, it seems like the $process-message operation isn't implemented on your hapi server.

view this post on Zulip Lloyd McKenzie (May 06 2020 at 22:03):

Also, even if $process-message were implemented, its support would be message event-specific. No server can handle an arbitrary message - custom code must be written for every single one.

view this post on Zulip Tushar Nair (May 07 2020 at 20:54):

Lloyd McKenzie said:

Also, even if $process-message were implemented, its support would be message event-specific. No server can handle an arbitrary message - custom code must be written for every single one.

Thank you @Lloyd McKenzie and @Jean Duteau .

view this post on Zulip Sudha (Sep 01 2020 at 15:16):

Hi
I have search rest api, where i have to return set of responses in set of groups
e.g.,

I have a resource called X
and return of the api is expected to be
{
setofcategory1: List<X>,
setofcategory2:List<X>,
setofcategory3:List<X>
}

How can i achieve that format?

view this post on Zulip Lloyd McKenzie (Sep 01 2020 at 15:44):

If you're using FHIR REST, the response needs to be a resource instance - it can't be arbitrary JSON. You could explore having a Bundle of Bundles

view this post on Zulip Sudha (Sep 01 2020 at 15:50):

Thank you Lloyd
Can bundle be a named paramter?

view this post on Zulip Sudha (Sep 01 2020 at 15:51):

Any Study Content you could recommend? i am struggling to find proper study materials

view this post on Zulip Lloyd McKenzie (Sep 01 2020 at 15:56):

Are you trying to invoke an operation? If so, you could look at the Parameters resource


Last updated: Apr 12 2022 at 19:14 UTC