Stream: conformance
Topic: Forge expands meta elements... help!
Simone Heckmann (Aug 22 2016 at 14:01):
Sorry, I'm a bit of a noob with Profiling... But obviously I'm doing something wrong: Why is my Profile expanding all the meta Elements and why does the Extension I added to the bottom of the resource appear at the top?
https://simplifier.net/FHIRABENDSandbox/KbvBetriebsstaette
Michel Rutten (Aug 22 2016 at 15:00):
@Simone Heckmann Forge expands the snapshot component when uploading to simplifier. The current version uses built-in custom logic that generates some redundant info. Specifically, Forge expands all elements, regardless of wether the differential actually specifies any related constraints. We have now implemented improved snapshot generation logic in the open source FHIR .NET API. The new logic also provides support for advanced concepts such as name references and derived profiles. The next version of Forge will leverage the FHIR .NET API for snapshot expansion.
Concerning the order of extension elements, Simplifier displays the elements in the order they are defined; specifically extension elements are displayed before other elements. However Forge explicitly displays extension elements below regular elements. This is a custom visualisation that is specific to Forge.
Simone Heckmann (Aug 22 2016 at 15:19):
Oookay! I guess I was just confused because I was comparing my profile to the LabNorway stuff. I guess the latter have somehow been postprocessed or been built with a different Forge version, then.
Michel Rutten (Aug 22 2016 at 15:30):
Simplifier is not yet capable of performing a snapshot expansion itself. So the visual rendering depends on existing snapshot component in the uploaded resource. We are planning to integrate the new snapshot generator logic in the FHIR .NET API into simplifier. Then the platform can generate a full and correct expansion itself.
Michel Rutten (Aug 22 2016 at 15:30):
We're working on it! ;p
Simone Heckmann (Aug 23 2016 at 11:15):
It's still a bit weird though, that any other Observation-Profile on Simplifier looks far less bloated than mine...
Michel Rutten (Aug 23 2016 at 12:05):
@Simone Heckmann If you're interested, I can provide you with the latest (beta) Forge binaries, so you can evaluate the new snapshot expansion logic in the API.
Simone Heckmann (Aug 23 2016 at 15:30):
sure! Thanks!
Michel Rutten (Aug 23 2016 at 15:50):
Hi @Simone Heckmann I've sent you a pm with a DropBox link to the latest Forge development build.
Patrick Werner (Aug 24 2016 at 14:59):
hi @Michel Rutten i think i just run in the same problem as Simone. If i upload an differential profile to simplifier it gets transformed to a snapshot one with expanded meta elements. Could you also send me the Link to the latest beta release of Forge?
Michel Rutten (Aug 25 2016 at 12:01):
@Patrick Werner the internal beta version is not publicly available. We are planning to publish a new official release in time for the upcoming HL7 WGM in Baltimore. The new release will include the new snapshot generation logic.
Last updated: Apr 12 2022 at 19:14 UTC