Stream: implementers
Topic: Canonical doesn't have a display
Travis Stenerson (Jun 26 2018 at 17:33):
I'm trying to put together an example PlanDefinition and I've just noticed the switch to Canonical replacing Reference(ActivityDefinition). Two questions.
1. Is there somewhere I can read about the reasons for the change, ie a tracker item or documentation of canonical vs reference.
2. This complicates by ability to show off the resulting structure because it won't have a display field like a reference does. Is there a suggested workaround for this? I suppose when actually rendering this thing you could call the canonical and get the activity description, is that the intended way to display what the activity is?
- just realized the PlanDef.action has the text equivalent, making the display redundant, and so my second question is covered. I would still like to read about canonical vs reference however
Lloyd McKenzie (Jun 26 2018 at 18:12):
The tracker number is GF#12902. We also agreed to add an extension for canonical allowing display names to be conveyed along with the URL and will explicitly reference its existence in the usage notes for canonical.
Last updated: Apr 12 2022 at 19:14 UTC