FHIR Chat · Request.instantiates · committers

Stream: committers

Topic: Request.instantiates


view this post on Zulip 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?

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 03:17):

Because RequestGroup is basedOn Request

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 03:17):

instantiates points to definitions, basedOn points to requests

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 03:33):

Right, but that's what I want to point to, a Definition (PlanDefinition specifically).

view this post on Zulip 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.

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 04:35):

Huh.

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 04:37):

So, I should probably be changing all the knowledge resources to do that.

view this post on Zulip 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)?

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:47):

yes

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 04:48):

And you can enforce whether canonical references must be contained or bundled

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 04:56):

Okay, not sure there's enough time before the freeze to get that in...

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 05:26):

Shouldn't Definition.partOf and Definition.replaces be canonical then too?

view this post on Zulip Grahame Grieve (Mar 05 2018 at 05:28):

definition.url should definitely use the word 'canonical' in it

view this post on Zulip 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"

view this post on Zulip Grahame Grieve (Mar 05 2018 at 05:37):

yes

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 05:41):

And same change to MetadataResource, right?

view this post on Zulip Grahame Grieve (Mar 05 2018 at 05:42):

sure yes

view this post on Zulip Lloyd McKenzie (Mar 05 2018 at 05:43):

I'll fix Definition

view this post on Zulip Bryn Rhodes (Mar 05 2018 at 05:43):

(y)


Last updated: Apr 12 2022 at 19:14 UTC