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

Enable filtering by data element type #65

Open
ghost opened this issue Aug 4, 2021 · 0 comments
Open

Enable filtering by data element type #65

ghost opened this issue Aug 4, 2021 · 0 comments

Comments

@ghost
Copy link

ghost commented Aug 4, 2021

Is your feature request related to a problem? Please describe.

As a content developer I would like to be able to find out quickly and easily what are the mandatory parts of a content and which ones are optional. At the moment the viewer shows all tags plus their data element type so you have to filter this list manually somehow to determine the minimum set of elements for a valid content.

Proposed feature

Provide a filter option where you can choose the data element type via check boxes, the graph would highlight the elements of the selected data type. So you could, for example, select “1” and “1C” to make all required and conditionally required elements more prominently visible.

Ideally you could expand all nodes within a content to see quickly what are required tags and what are the optional ones.

My initial idea was to show / hide the selected elements but there can be required tags within optional tags so deciding on what to show when may be tricky. For example, the alternate content description sequence (0070,0087) is a type 3 element within surface segmentation. It contains a type 1 element in the form of the language code sequence (0008,0006). If the graph does not show type 3 elements you would not see the sequence. So when you start adding it to your content and want to cross-check what’s the required data within the sequence you would be out of luck as the sub-tree would be hidden.

Potential alternatives

Show / hide the elements according to the filter criteria. Keep nodes containing selected elements visible but maybe less prominent if they are not selected by themselves.

Make it possible to copy & paste the tree into excel to filter there.

@ghost ghost added the enhancement label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants