Hi James, I'm working with Robert on this project.
I'm not so sure the behavior of this server is not conformant. The spec states that the id of the resource in the Create is to be ignored:
> The request body SHALL be a FHIR Resource. The resource does not need to have an id element (this is
one of the few cases where a resource exists without an id element). If an id is provided, the
server SHALL ignore it. -
http://hl7.org/fhir/http.html#create
however I think that only applies to the id of the top-level resource being
created (which is actually a Bundle resource in this case). But the ids
of of the resources included in the Bundle, I don't think they should
be modified/removed - in a similar way to resources in `contained`
field for other resource types.
One could argue that creating Bundle resources directly is a bit weird, and maybe the server API would be better designed be using batch/transaction operations instead - but we don't have control over that, and the way they are expecting it, is still conformant from what I understand.