FHIR Chat · possible sushi API bug · shorthand

Stream: shorthand

Topic: possible sushi API bug


view this post on Zulip David Hay (Feb 14 2021 at 22:56):

Sending the string below through the API results in an error. Works fin on the command line.

{"fsh":["Instance: \"8479\"\nInstanceOf: Patient\nDescription: \"Patient1\"\nUsage: #example\n "]}

(note the escaped quote needed for a numeric id)

view this post on Zulip Chris Moesel (Feb 15 2021 at 14:27):

Before SUSHI 1.2.0, completely numeric names were not supported -- and if you could get around that via a ", that was unintentional. As of SUSH 1.2.0, however, you should be able to have numeric names. Have you tried without the \" around the name?

view this post on Zulip David Hay (Feb 15 2021 at 21:34):

oops - haven't updated sushi <blush/>. (or should that be {"blush":"yes"}? ) Will update and see if it solves the issue...

view this post on Zulip David Hay (Feb 15 2021 at 22:21):

That worked fine. Of course I had to do a local install into the project as well as a global install of sushi...


Last updated: Apr 12 2022 at 19:14 UTC