Stream: shorthand
Topic: Bug? - data type Issue when adding extensions
Jose Costa Teixeira (Aug 28 2021 at 10:21):
I don't know if I'm missing something, but this seems like a bug in sushi:
https://fshschool.org/FSHOnline/#/share/3sU6cfX
Jose Costa Teixeira (Aug 28 2021 at 10:21):
my reading of this and trying to remove some of the extensions is:
Jose Costa Teixeira (Aug 28 2021 at 10:22):
when I declare the extension that has a valueExpression, somehow sushi complains that other extensions (which have other types of value) are missing the valueExtension.language
Jose Costa Teixeira (Aug 28 2021 at 10:24):
the conversion looks ok, and goFSH seems to convert it back ok. If we try the roundtrip conversion everything is well. So it seems these are ghost errors
Chris Moesel (Aug 28 2021 at 17:40):
I agree that those errors are not actually errors. Your FSH looks correct, so SUSHI should not be flagging errors here -- and I think your analysis is correct (it's expecting the other extensions to have valueExpression.language). Could you file a bug on this? https://github.com/FHIR/sushi/issues
Last updated: Apr 12 2022 at 19:14 UTC