There is a related ticket for this: [SPECQUERY-24] AQL query processor should ignore data with lifecycle_state = incomplete. - openEHR JIRA and is scheduled for next release of AQL specs.
On the other and the current specs already allows querying for VERSION, from where you should be able to refer to lifecycle_state. There is also a topic on this: Lifecycle_state in EHRbase - #5 by ian.mcnicoll.
1 Like