Stream: shorthand
Topic: Canonical with rule-set
Brian Kaney (Nov 19 2021 at 04:58):
Suppose a rule-set that sets the URL and version
RuleSet: LibraryMetadata(id)
* url = "http://fhir/ig/Library/{id}"
* version = "0.1.0"
When I insert it in a resource, called MyLibrary
and try to make a canonical reference, it fails:
* library = Canonical(MyLibrary)
with:
error Cannot use canonical URL of MyLibrary because it does not exist. Be sure that MyLibrary exists and it has a URL.
It seems that unless url
is explicitly set (e.g. not via a rule-set), the canonical doesn't work...
Chris Moesel (Nov 19 2021 at 13:32):
Hey @Brian Kaney -- thanks for pointing this out. You're right. If you set the url
directly on MyLibrary
it works fine, but when you insert it via a RuleSet, it does not. This is not intentional. We'll look into it to see what we can do.
Chris Moesel (Nov 19 2021 at 13:36):
Chris Moesel (Dec 21 2021 at 03:14):
Hi @Brian Kaney - this bug was fixed in the recently released SUSHI 2.2.4. I apologize for the wait!
Last updated: Apr 12 2022 at 19:14 UTC