FHIR Chat · Forge Slicing error? · implementers

Stream: implementers

Topic: Forge Slicing error?


view this post on Zulip Thomas Tveit Rosenlund (Mar 08 2017 at 09:38):

I have a problem with the Forge tool using the slicing function.

The Personal Connected Health Alliance needs a profile to allow two Device references. One for the Sensor Device and another for the PHG Device. I tried slicing the Device reference within the PCHAObservation Profile (https://simplifier.net/PCHAprofiles/PCHAObservation/rendered). The Forge tool tells me that I either needs to add a Discriminator or a Definition for the slice (my guess is that the Definition is called Description within the Forge tool because if I make a description the error message goes a way). My description says that one reference sould reference the SensorDevice and the other should reference the PHGDevice. So far so good.

However If I save my profile and load it back into the Forge tool, the Description is missing and I receive the same error that the slice needs a Discriminator or a definition, so I have to add the description/definition every time i load up my profile in the Forge tool. I guess this is a bug.

view this post on Zulip Michel Rutten (Mar 08 2017 at 10:53):

Hi @Thomas Tveit Rosenlund, thank you for reporting this bug. We are planning to publish a new release and this fix will be included. As for the eld-1 validation message, the text is taken from the official definition of the eld-1 invariant on ElementDefinition:
http://hl7.org/implement/standards/fhir/elementdefinition.html#tabs-ElementDefinition
I see how this can be a bit confusing. Maybe you can submit a QA issue to GForge in order to update the description of the eld-1 invariant from "definition" to "description"?

view this post on Zulip Thomas Tveit Rosenlund (Mar 08 2017 at 11:10):

Thanks for the prompt reply @Michel Rutten. I will try and report the issue of the eld-1 text to the GForge group.

view this post on Zulip Patrick Werner (Dec 06 2019 at 10:25):

was this ever reported @Thomas Tveit Rosenlund ?
The Description of eld-1 is still wrong (and normative?), the Expression is correct.

view this post on Zulip Thomas Tveit Rosenlund (Dec 06 2019 at 12:10):

@Patrick Werner Seems like I forgot to register this one…

view this post on Zulip Patrick Werner (Dec 06 2019 at 12:55):

https://jira.hl7.org/browse/FHIR-25282


Last updated: Apr 12 2022 at 19:14 UTC