I am working on the CommCare mLabour app, which tracks women from the onset of labour through delivery via digital partograph. For the contractions graph, I need to write an instance which filters to cases whose contraction intensity is
'low'. In the app, this case property is
contractions_dur = 'low'. I tried the following path, and am getting an xpath error in the app:
instance('casedb')/casedb/case[@case_type='Indicators'][index/parent=current()/@case_id][@status='open']/[contractions_dur = 'low']
The error message says invalid xpath 'expected beginning of path'
The only CommCare Help Site page I can find about instance syntax is this one about CommCare session instance paths. What is the proper syntax for an instance filtering for a specific case with a certain case property value?