Stream: hapi
Topic: ValueSet expansion behavior using uploaded terminology
Joshua Bell (Nov 29 2017 at 22:38):
I've uploaded the SNOMED CodeSystem using the CLI (HAPI 3.1.0 server) and created a very basic ValueSet containing both male and female snomed codes, each with a custom display. However, when I expand the ValueSet the displays are not coming back as the custom display set in the ValueSet. When I make a manual CodeSystem with some fields and try out the same setup with another ValueSet it properly overrides the display. Is the uploaded CodeSystem different fundamentally/restricted in some ways? (Does it have to do with the content? The content is not-present on the uploaded SNOMED CodeSystem, while my custom ones are present)
https://gist.github.com/RingOfStorms/e90a406c15dd08cd8ea75925058e468b
pasted image
As you can see the displays are not MMM... and FFF... as they should be.
If I make a custom CodeSystem and test it manually it works as I expected> POST CodeSystem: https://gist.github.com/RingOfStorms/d587452b55c17c91b6fbe438f225d885
POST ValueSystem: https://gist.github.com/RingOfStorms/924d7d5496e3abe8921de67e9b4ce8ab
And then Expanding GET works: https://gist.github.com/RingOfStorms/6b542136eba061bcedb68f7298f971e1
What am I missing with the uploaded CodeSystem?
Fernando Portilla (Dec 05 2017 at 17:30):
We are trying to use the ValueSet resource, and we identify that the response is different for the 2.3 release to the 3.1 We need that the expansion in valueSet shows the contains elements.
The 3.1 release does not show the "contains" elements ? are there any issue with that ?
Joshua Bell (Dec 06 2017 at 19:34):
Using 3.1 here and running ValueSet/ID/$expand
works and includes the contained concepts for me. Maybe you've done something else wrong? pasted image
Last updated: Apr 12 2022 at 19:14 UTC