Closed Fronq closed 1 week ago
Hi I noticed that extension contexts formatted as * ^context.type = #element are being successfully compiled when from my knowledge the correct FSH syntax should be something along the lines of * ^context[+].type = #element.
* ^context.type = #element
* ^context[+].type = #element
This is allowed because the spec says:
If the index is omitted, the first element of the array ([0]) SHALL be assumed.
[0]
So ^context.type is equivalent to ^context[0].type.
^context.type
^context[0].type
Hi I noticed that extension contexts formatted as
* ^context.type = #element
are being successfully compiled when from my knowledge the correct FSH syntax should be something along the lines of* ^context[+].type = #element
.