Stream: shorthand
Topic: path not found
Patrick Werner (Jun 29 2021 at 08:43):
When referencing * identifier.system in an Instance of a Profile which has identifier profiles as constraints, sushi fails to find indentifier.system
Patrick Werner (Jun 29 2021 at 08:44):
https://fshschool.org/FSHOnline/#/share/3jpGbTi
Patrick Werner (Jun 29 2021 at 08:44):
error The element or path you referenced does not exist: identifier.system
Line: 16
Patrick Werner (Jun 29 2021 at 08:45):
If i switch the Instance to a Instance of Patient the error is gone
Chris Moesel (Jun 29 2021 at 12:21):
Hey @Patrick Werner. This is a known bug and only happens when the identifier is constrained to a choice of profiles. If you change your example to remove one of the profiles, it works. The good news is that we planned to fix this bug during this development sprint and someone from our team is already working on it!
Patrick Werner (Jun 29 2021 at 13:13):
Thanks @Chris Moesel
Patrick Werner (Jun 29 2021 at 13:13):
I created this to hunt a bug in the java validator down
Patrick Werner (Jun 29 2021 at 13:14):
So i need two profiles. I fixed added the second one back in after json creation
Last updated: Apr 12 2022 at 19:14 UTC