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.
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:
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
Then we would expect that on Foo hovering over birthDate would show:
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.