Stream: IG creation
Topic: Only resource references can specify parameters
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?
Grahame Grieve (Aug 19 2018 at 03:41):
looks like it should work. is this committed?
Rob Hausam (Aug 19 2018 at 03:58):
yes
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
Grahame Grieve (Aug 19 2018 at 04:21):
ok
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.
Grahame Grieve (Aug 19 2018 at 04:29):
are you talking about in a spreadsheet?
Rob Hausam (Aug 19 2018 at 04:29):
yes
Grahame Grieve (Aug 19 2018 at 04:29):
same element name different slice name
Rob Hausam (Aug 19 2018 at 04:31):
sure - that makes sense
Rob Hausam (Aug 19 2018 at 05:10):
Pushed. I tried a couple of things but still getting the same error.
Grahame Grieve (Aug 19 2018 at 05:13):
ok I'll look soon
Grahame Grieve (Aug 19 2018 at 05:15):
livd, right?
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