Stream: IG creation
Topic: ValueSet "Expansion based on" rendering
Rob Hausam (Mar 27 2020 at 13:47):
I pulled this out of Valueset Rendering and made it a separate topic. We have some GPS value sets now in IPS that combine contents from two different SNOMED CT releases. In these cases the vast majority of the content is from the July 2019 release, but there are also a few of the new coronavirus concepts included from the March 9 2020 release. So the value set definition contains two compose.include.version element instances. But the rendering of that in the expansion right now is ignoring the first instance (for July 2019) and states only that "Expansion based on SNOMED CT International edition 09-Mar 2020". I think what it needs to do instead is list both of them as separate lines (within the same box), so it would be:
Expansion based on SNOMED CT International edition 31-Jul 2019 Expansion based on SNOMED CT International edition 09-Mar 2020
I don't think that it will matter if you can tell in the expansion results which of the concepts came from which system and version (you can figure that out separately if you need to), but I think that it does matter that all of them are included in the display rendering.
Rob Hausam (Mar 29 2020 at 01:54):
Submitted PR#160 on org.hl7.fhir.core. @Grahame Grieve @James Agnew
Rob Hausam (Mar 29 2020 at 21:55):
Fixed a bug in the PR - submitted new PR#161. @Grahame Grieve
Rob Hausam (Mar 30 2020 at 15:01):
One more PR - PR#162. This removes extra r5.model imports that somehow (via Eclipse?) crept into the r4 NarrativeGenerator. Build is fixed now. @Grahame Grieve
Rob Hausam (Apr 10 2020 at 03:39):
I'm bringing this back up again. The previous fix is working well for our original use case in IPS for our value sets where the expansion is based on codes that are being included from more than one version of a code system. This is an example of how it looks for this value set. So that's good.
But it's not looking so good with other different value sets that we have which are defined by including multiple other value sets. This is an example of how it looks for this value set. In this case the codes are all coming from the same two versions of SNOMED CT as in the previous example. So theoretically I believe that the two displays of the "expansion source" should be exactly the same, but in this case the displayed text is all convoluted - and I think it's incomprehensible and parts of it appear likely to be incorrect (if you can actually understand how to parse it to be able to determine that). Even with the contributions from the three value sets, I don't see a reason why there should be this level of redundancy and multiple odd combinations and confusing orders. Hopefully it's something that can be fixed without too much difficulty. @Grahame Grieve?
Rob Hausam (Apr 10 2020 at 03:52):
It's also interesting to note that in the result-coded-value-lab-gps-uv-ips value set (based on the other three value sets) the concept count is being reported incorrectly. The count of 1018 concepts that is shown is apparently based on the truncated 1000 concepts that are shown in the expansion display for the organism-gps-uv-ips value set (that value set actually contains 4082 concepts) plus the 8 concepts in lab-blood-abo-rh-grp-gps-uv-ips and the 9 concepts in lab-absence-presence-gps-uv-ips (plus 1 additional concept from somewhere?).
Rob Hausam (Apr 10 2020 at 20:29):
Another screen shot that shows (much more clearly, I think) the issues with the "expansion source" display - in this case in the imaging-txtobs-code-uv-ips value set, with content from multiple code systems, rather than multiple versions.
Grahame Grieve (Apr 11 2020 at 07:13):
ok all fixed next release
Rob Hausam (Apr 15 2020 at 07:56):
@Grahame Grieve It turns out that it wasn't quite all fixed. :( The update broke the ability to render the expansion notice for multiple versions of the same code system. But I've just submitted PR#174 to fix that.
Grahame Grieve (Apr 15 2020 at 11:42):
I'll look at it
Rob Hausam (Apr 15 2020 at 12:13):
thanks
Last updated: Apr 12 2022 at 19:14 UTC