Dear all,
I want to retrieve the target item stored in a link.
Using the following AQL query: SELECT c/links FROM EHR e CONTAINS COMPOSITION c
I could output the list of links (containing one link only):
[
[
{
"meaning": {
"_type": "DV_TEXT",
"value": "MeaningParent com.example.restservice.zib.compositions.burgerlijkestaatcomposition.BurgerlijkeStaatComposition"
},
"target": {
"value": "ehr://TargetParent"
},
"type": {
"_type": "DV_TEXT",
"value": "TypeParent alcohol_gebruik"
}
}
]
]
I’ve tried to retrieve the first item of the list using c/links[0]
with no successes.
Is it something possible to achieve with AQL?
Thanks for your help!