Stream: shorthand
Topic: Array indices
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:
- rest.resource[0].type = #ITBActivityDefinition
- rest.resource[0].profile ="http://portal.wof.purified.link/fhir/StructureDefinition/ITBActivityDefinition"
What am I doing wrong?
John Moehrke (Aug 13 2021 at 12:59):
do you have the latest sushi?
John Moehrke (Aug 13 2021 at 13:04):
v2.0.0 is the latest sushi.
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:
John Moehrke (Aug 13 2021 at 13:16):
no friend lets another have old sushi
Barbro Vessman (Aug 13 2021 at 13:28):
It is appreciated :grinning:
Last updated: Apr 12 2022 at 19:14 UTC