FHIR Chat · canonical urn reference: Why do I get an InvalidRequestExcep · hapi

Stream: hapi

Topic: canonical urn reference: Why do I get an InvalidRequestExcep


view this post on Zulip Michael Christensen (Feb 25 2019 at 09:24):

I have transaction bundle containing amongst other a QuestionnaireReponse. The QuestionnaireResponse contains a canonical reference to a Questionnaire. This reference is on the form "urn:foo:bar|5".

When I submit the transaction Bundle to my HAPI FHIR based server I get an InvalidRequestException: Invalid resource reference found at path ... Does not contain resource type

Why is this? Does HAPI see it as illegal to use an urn as a canonical reference? I believe this is legal in according to the FHIR itself - or am I wrong?

view this post on Zulip Jens Villadsen (Feb 25 2019 at 09:50):

Could you post an example of your bundle?

view this post on Zulip Michael Christensen (Jun 06 2019 at 12:14):

@Jens Villadsen I got distracted from this but am still having the same issue. Doesn't have to involve a Bundle. See example and question at https://groups.google.com/d/msg/hapi-fhir/J8NXQy-Opjk/QRg4dWwKAwAJ.


Last updated: Apr 12 2022 at 19:14 UTC