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

ValueSet $expand level-based hierarchy retrieval #6755

Open
EniacMlezi opened this issue Feb 21, 2025 · 1 comment
Open

ValueSet $expand level-based hierarchy retrieval #6755

EniacMlezi opened this issue Feb 21, 2025 · 1 comment

Comments

@EniacMlezi
Copy link

I'm currently making a dropdown of a certain large hierarchical CodeSystem I have. I want the dropdown to be a browsable treeview. I would like to have the ability the retrieve all root concepts of my ValueSet first and display them collapsed in the treeview. When a concept in the treeview is clicked, I would like to be able to retrieve the next 'level', all concepts directly under the clicked concept.

Is there a way to do this easily already?

Environment:

  • HAPI FHIR Version 7.6.0
@pmohanilc
Copy link

You can join Google Group for questions.

As far as I can tell, the treeview is certainly possible.
All you have to do is add includeHierarchy=true in the $expand.
For eg, http://localhost:8080/fhir/ValueSet/$expand?url=http://hl7.org/fhir/ValueSet/body-site&includeHierarchy=true

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

2 participants