Stream: cql
Topic: Query with multiple Sources
Matthew Dugal (Mar 01 2018 at 17:47):
In ELM, a Query can have multiple Sources. I am trying to find an example of what this looks like in CQL so I can better understand it but am coming up empty. Is there an example or a draft measure I can look to?
Bryn Rhodes (Mar 01 2018 at 18:52):
There's an example in the spec, 3.9 Multi-source Queries:
define "Encounters with Warfarin and Parenteral Therapies": from "Encounters" E, "Warfarin Therapy" W, "Parenteral Therapy" P where W.effectiveTime starts during E.period and P.effectiveTime starts during E.period
Matthew Dugal (Mar 01 2018 at 20:01):
This is helpful. Thank you.
Last updated: Apr 12 2022 at 19:14 UTC