FHIR Chat · Error on external Extension without Snapshot · shorthand

Stream: shorthand

Topic: Error on external Extension without Snapshot


view this post on Zulip Patrick Werner (Mar 02 2022 at 10:13):

When referencing an external Extension & the referenced Extension doesn't include a Snapshot sushi shows: Cannot read properties of undefined (reading 'element')

view this post on Zulip Patrick Werner (Mar 02 2022 at 10:15):

This could confuse sushi beginners.

view this post on Zulip Patrick Werner (Mar 02 2022 at 10:16):

Demonstrator project:
https://fshschool.org/FSHOnline/#/share/3thVPDo

view this post on Zulip Patrick Werner (Mar 02 2022 at 10:17):

Could sushi detect the missing snapshot and generate are "better" error msg?

view this post on Zulip Chris Moesel (Mar 03 2022 at 14:25):

I just tried the example you posted from FSH Online (using FSH Online) and I see the error:

error e.snapshot is undefined

There is still definitely room for improvement there, but it's a little better hint than what you were seeing. I wonder why the difference?

Anyway, I'll log an issue for it.

view this post on Zulip Julia Afeltra (Mar 07 2022 at 18:45):

SUSHI-1040 is logged to track this.


Last updated: Apr 12 2022 at 19:14 UTC