Closed ppazos closed 4 years ago
@ppazos please attach OPT and example composition so that @chevalleyc can directly try to reproduce the error
@Geisterfalle @chevalleyc FYI: https://github.com/ehrbase/fhir-bridge/blob/master/src/main/resources/opt/Laborbefund.opt
2020-07-29: re-tested for https://github.com/ehrbase/project_management/issues/319
The error still happens, it seems related to the last issue reported in https://github.com/ehrbase/ehrbase/issues/270
@ppazos can you please check if this has been resolved with the latest changes
Tested with the current code base the following expression:
"q":"SELECT cluster
FROM EHR e
CONTAINS COMPOSITION c
CONTAINS CLUSTER cluster[openEHR-EHR-CLUSTER.specimen.v1]
WHERE '2020-01-01' <= cluster/items[at0034]/value/value AND cluster/items[at0034]/value/value <= '2020-12-12'
"
Seems working without flaw. In doubt, could you please post a valid composition matching the template and the query to finalize testing before closing this issue. Tx
Assuming this issue is not occurring anymore.
The AQL seems correct, but it seems I'm getting some malformed SQL mapping, maybe I'm missing something.