New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPA transaction doesn't respect cid: URIs #55

Closed
jamesagnew opened this Issue Nov 20, 2014 · 0 comments

Comments

Projects
None yet
1 participant
@jamesagnew
Owner

jamesagnew commented Nov 20, 2014

Per the transaction definition: http://hl7.org/implement/standards/fhir/http.html#transaction

A client may assign temporary ids to new resources and then refer to them from other places in the transaction. When the client intends a resource to have a transient identity that the server must replace, it should use a cid: url on the resource - that is, a url with the scheme "cid:" per RFC 2392. Servers SHALL replace these temporary ids when processing the transaction.

The JPA module currently saves these "cid:" URIs as is, which is wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment