Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose derivation hierarchy for profiles (and maybe other things?) in pre-publish phase #396

Open
lmckenzi opened this issue Feb 15, 2022 · 0 comments
Assignees
Labels
Approved Change has been reviewed and accepted and can now be applied to the templates enhancement New feature or request

Comments

@lmckenzi
Copy link
Contributor

When enforcing logic rules, it's useful to understand what the derivation hierarchy is for profiles (and possibly what the dependency hierarchy is for value sets). By default, a profile only shows its immediate parent, not all ancestors. Because information about ancestors often will only exist in dependency packages and not in the artifacts in an IG, there's no easy way for XSLT or Javascript in templates that's doing supplemental validation to access this information.

Propose that when converting all resources into XML & JSON form prior to generating artifacts that we inject a recursive extension on StructureDefinition.baseDefinition that allows traversing the 'ancestors' of the base and a similar extension on value set that declares dependency value sets and code systems. The IT template code could then leverage this information.

@lmckenzi lmckenzi added Approved Change has been reviewed and accepted and can now be applied to the templates enhancement New feature or request labels Feb 15, 2022
@lmckenzi lmckenzi added this to Inbox in Kanban board via automation Feb 15, 2022
@lmckenzi lmckenzi moved this from Inbox to Waiting for Input in Kanban board Nov 22, 2022
@lmckenzi lmckenzi moved this from Waiting for Input to To do in Kanban board Nov 22, 2022
@lmckenzi lmckenzi self-assigned this Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Change has been reviewed and accepted and can now be applied to the templates enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant