FHIR Chat · Instance count result · shorthand

Stream: shorthand

Topic: Instance count result


view this post on Zulip Etienne Cantineau (Apr 29 2020 at 08:20):

Just a trivia issue, i have 26 instances (16 physical files and 10 inlines), sushi gives the message: "info imported 27 definitions and 26 instances" but in the sushi results table it says 24 instances.
Edit: the delta is 2 and the inlines are contained in 2 files, coincidence?
Edit2: I've added a bundle with 3 inline instances and now get 30 and 25
Edit3: The inline instances in the different files had the same name. If they are all unique i get 30 and 30!

view this post on Zulip Nick Freiter (Apr 29 2020 at 11:56):

Interesting, that does make sense, good detective work! And this is also a good reminder that we need better handling of naming conflicts in SUSHI. For now I'd definitely try to avoid naming conflicts since, as you can see, they can lead to some undefined behaviors.

view this post on Zulip David Hay (Apr 29 2020 at 18:45):

Yeah - I was. wondering if duplicate instance names (for the same profile) should be flagged as an error - it would generally be an oversight I would have thought...


Last updated: Apr 12 2022 at 19:14 UTC