FHIR Chat · Array indices · shorthand

Stream: shorthand

Topic: Array indices


view this post on Zulip Barbro Vessman (Aug 13 2021 at 12:31):

I get errors when trying to use [+] and [=] for array indices

* rest.resource[+].type = #ITBActivityDefinition
* rest.resource[=].profile ="http://portal.wof.purified.link/fhir/StructureDefinition/ITBActivityDefinition"

I get error:
"The element or path you referenced does not exist"

Using integers works:

What am I doing wrong?

view this post on Zulip John Moehrke (Aug 13 2021 at 12:59):

do you have the latest sushi?

view this post on Zulip John Moehrke (Aug 13 2021 at 13:04):

v2.0.0 is the latest sushi.

view this post on Zulip Barbro Vessman (Aug 13 2021 at 13:15):

Thank you very much @John Moehrke
I had an older version, after installing the latest it works:sun_face:

view this post on Zulip John Moehrke (Aug 13 2021 at 13:16):

no friend lets another have old sushi

view this post on Zulip Barbro Vessman (Aug 13 2021 at 13:28):

It is appreciated :grinning:


Last updated: Apr 12 2022 at 19:14 UTC