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

Add hover information for elements #80

Open
mint-thompson opened this issue Jun 25, 2024 · 0 comments
Open

Add hover information for elements #80

mint-thompson opened this issue Jun 25, 2024 · 0 comments

Comments

@mint-thompson
Copy link
Collaborator

Transferred from internal JIRA issue originally created 2020-04-09.

When the user hovers over the name of the path of an element, it would be useful to display the properties of that element that are constrainable in FSH. For example, on the Patient resource, the birthDate element is of type date, has cardinality 0..1, has a summary flag, and has no fixed value. The information shown when hovering over birthDate could be along the lines of:

0..1 SU
type: date
value:

This would again require detailed knowledge of the Structure Definition of the element being constrained. Ideally, we would want to dynamically update this information for children. If Profile Foo inherits from Profile Bar which inherits from Patient, and Bar sets

* birthDate MS

Then we would expect that on Foo hovering over birthDate would show:

0..1 SU MS
type: date
value:

A good first step would be to focus on getting this working on entities that directly inherit from Resources for which we have JSON Structure Definitions, and that's what this task can be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant