I have used the spec-first method to build some REST services on our IRIS server, and on our development system everything is working as expected. When one of the required header parameters is missing, I get a JSON error object with the expected error from my code ("required parameter x is missing"). However, when I pushed this code to another test system we have, it is sending an HTML response of 400 Bad Request with just the text "Bad Request" as the content.

0 0
0 8

Hi folks!

Researching FHIR bundle transactions.

The idea is that you can post a bundle to a FHIR server with a set of resources. And you can send it as a transaction, so only all the resources will be published or neither.

E.g. I send a bundle of two resources: patient and its observation.

The observation resource should reference an existing patient. But it probably doesn't exist yet on the server and goes within the same bundle.

For this purpose there is a way to have a temporary id in the bundle, to let resources reference ids.

0 5
0 47