You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're currently only validating rules that have been expressed explicitly in the StructureDefinition - so either structurally or using a FhirPath statement. The spec is indeed full of "textual" rules that would require manual coding, which we have not done yet. That said, it's on our medium-term planning to fix this, so I'll tag this as a validation enhancement.
We can validate this in both the instance that uses an extension, as in the StructureDefinition that defines an extension.
Let's fix it in the StructureDefinition, the author needs to be warned.
Please review the rules for extension.url before fixing this.
Describe the bug
When validating a resource with an extension the extension's url property is not being properly validated. According to the FHIR spec: "Except for child extensions defined within complex extensions, the URL SHALL be an absolute URL."
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Top level extension URLs are validated to ensure they are absolute URLs, while sub-extension's URLs are not.
Version used:
The text was updated successfully, but these errors were encountered: