FHIR Chat · Only resource references can specify parameters · IG creation

Stream: IG creation

Topic: Only resource references can specify parameters


view this post on Zulip Rob Hausam (Aug 19 2018 at 02:48):

I'm getting messages like this trying to add extension elements (extensions are defined in the spreadsheet):

Publishing Content Failed: Only resource references can specify parameters.  Path Device.extension

Any thoughts about what I may be missing?

view this post on Zulip Grahame Grieve (Aug 19 2018 at 03:41):

looks like it should work. is this committed?

view this post on Zulip Rob Hausam (Aug 19 2018 at 03:58):

yes

view this post on Zulip Rob Hausam (Aug 19 2018 at 03:59):

oh, well not quite - I had to remove the extension elements to get it to build - I'll put them back and commit again

view this post on Zulip Grahame Grieve (Aug 19 2018 at 04:21):

ok

view this post on Zulip Rob Hausam (Aug 19 2018 at 04:29):

One question that I have is (which maybe should be an obvious one), if there are two different extension elements at the root of the resource (in this case ObservationDefinition), how should they be named? I've seen it as ObservationDefinition.extension, but it doesn't seem correct or likely workable to give both of them the same name. And if that's the case and they should be different I'm not sure if there are rules about how they should be named - I can't quite tell from the documentation and the examples I've seen.

view this post on Zulip Grahame Grieve (Aug 19 2018 at 04:29):

are you talking about in a spreadsheet?

view this post on Zulip Rob Hausam (Aug 19 2018 at 04:29):

yes

view this post on Zulip Grahame Grieve (Aug 19 2018 at 04:29):

same element name different slice name

view this post on Zulip Rob Hausam (Aug 19 2018 at 04:31):

sure - that makes sense

view this post on Zulip Rob Hausam (Aug 19 2018 at 05:10):

Pushed. I tried a couple of things but still getting the same error.

view this post on Zulip Grahame Grieve (Aug 19 2018 at 05:13):

ok I'll look soon

view this post on Zulip Grahame Grieve (Aug 19 2018 at 05:15):

livd, right?

view this post on Zulip Grahame Grieve (Aug 19 2018 at 05:58):

ok fixed. you need to use {} not () when you reference a profile. And also, don't profile the first extension


Last updated: Apr 12 2022 at 19:14 UTC