Stream: committers
Topic: Request.instantiates
Bryn Rhodes (Mar 05 2018 at 02:38):
I'm looking at the RequestGroup mapping to Request, and one of the things we need is to be able to say this RequestGroup "instantiates" that PlanDefinition. But the Request pattern only has instantiatesCanonical and instantiatesUri, why not instantiatesReference?
Lloyd McKenzie (Mar 05 2018 at 03:17):
Because RequestGroup is basedOn Request
Lloyd McKenzie (Mar 05 2018 at 03:17):
instantiates points to definitions, basedOn points to requests
Bryn Rhodes (Mar 05 2018 at 03:33):
Right, but that's what I want to point to, a Definition (PlanDefinition specifically).
Lloyd McKenzie (Mar 05 2018 at 04:20):
Oh, sorry. Misread. When you point to PlanDefinition, you'll use canonical(PlanDefinition). We don't use Reference for anything that has a canonical URL anymore.
Bryn Rhodes (Mar 05 2018 at 04:35):
Huh.
Bryn Rhodes (Mar 05 2018 at 04:37):
So, I should probably be changing all the knowledge resources to do that.
Bryn Rhodes (Mar 05 2018 at 04:39):
So the canonical type supports the notion of pointing to a specific type? Can I say canonical(PlanDefinition | ActivityDefinition)?
Lloyd McKenzie (Mar 05 2018 at 04:47):
yes
Lloyd McKenzie (Mar 05 2018 at 04:48):
And you can enforce whether canonical references must be contained or bundled
Bryn Rhodes (Mar 05 2018 at 04:56):
Okay, not sure there's enough time before the freeze to get that in...
Bryn Rhodes (Mar 05 2018 at 05:26):
Shouldn't Definition.partOf and Definition.replaces be canonical then too?
Grahame Grieve (Mar 05 2018 at 05:28):
definition.url should definitely use the word 'canonical' in it
Bryn Rhodes (Mar 05 2018 at 05:30):
Right now it says "Logical URI to reference this {{title}}", how about "Canonical identifier to reference this {{title}}, represented as a URI"
Grahame Grieve (Mar 05 2018 at 05:37):
yes
Bryn Rhodes (Mar 05 2018 at 05:41):
And same change to MetadataResource, right?
Grahame Grieve (Mar 05 2018 at 05:42):
sure yes
Lloyd McKenzie (Mar 05 2018 at 05:43):
I'll fix Definition
Bryn Rhodes (Mar 05 2018 at 05:43):
(y)
Last updated: Apr 12 2022 at 19:14 UTC