Stream: shorthand
Topic: Snapshot Generator
Kurt Allen (Aug 28 2020 at 18:03):
@Chris Moesel I am seeing something kinda confusing, and I was wondering if you have seen anything similar. Not sure where the problem is, but suddenly when I run the firely c# Snapshot generator on a sushi output'd profile, I am getting a snapshot with zero elements in it, even though the differential is populated. Not sure why this is just happening, 'cause I didn't upgrade sushi nor the c# toolkit (Firely). I upgraded sushi to latest and still see issue. Immediately ring any bells?
Chris Moesel (Aug 28 2020 at 19:21):
Hi Kurt. Nope. No clue. @Ward Weistra -- any ideas?
Ward Weistra (Aug 28 2020 at 20:17):
Not really @Chris Moesel @Kurt Allen. But if you could share the resulting profile (here or simplifier@fire.ly) I'll make sure we have a look!
Kurt Allen (Aug 28 2020 at 21:14):
@Ward Weistra Here is the profile
StructureDefinition-AbnormalityArchitecturalDistortion.json
I am running v1.9 the nuget package .
Here is the code.
SnapshotGeneratorSettings settings = SnapshotGeneratorSettings.CreateDefault();
SnapshotGenerator generator = new SnapshotGenerator(ZipFhirSource.Source, settings);
generator.Update(structDef);
I got the latest code (dev4 branch) from github and the snapshot generator works properly there.
If you are as lazy, overworked, and underappreciated as I (:-() and you are willing to live the rest of your life never knowing why, but that the bug is fixed, I can live with just using the github code.
Your choice :-)
-K
Last updated: Apr 12 2022 at 19:14 UTC