FHIR Chat · (no topic) · cql

Stream: cql

Topic: (no topic)


view this post on Zulip Erich Schulz (Jul 01 2016 at 12:16):

@Bryn Rhodes - am I using the wrong branch or am i doing something else wrong?

with cql-to-elm

  49 define DateIvl: Interval[DateTime(2012, 3, 1, 0, 0, 0, 0), DateTime(2012, 9, 1, 0, 0, 0, 0))
...

 720 define Contains_ContainsDate: DateIvl contains DateTime(2012, 6, 1, 0, 0, 0, 0)
 721 define Contains_NotContainsDate: DateIvl contains DateTime(2012, 9, 1, 0, 0, 0,
     0)
 722 define Contains_ContainsImpreciseDate: DateIvl contains DateTime(2012, 4)
 723 define Contains_NotContainsImpreciseDate: DateIvl contains DateTime(2012, 9)
 724 define Contains_MayContainImpreciseDate: DateIvl contains DateTime(2012)

throws:

[720:31, 720:79] Could not resolve call to operator Contains with signature (list
<interval<System.DateTime>>,System.DateTime).
[721:34, 721:82] Could not resolve call to operator Contains with signature (list
<interval<System.DateTime>>,System.DateTime).
[722:40, 722:73] Could not resolve call to operator Contains with signature (list
<interval<System.DateTime>>,System.DateTime).
[723:43, 723:76] Could not resolve call to operator Contains with signature (list
<interval<System.DateTime>>,System.DateTime).
[724:42, 724:72] Could not resolve call to operator Contains with signature (list
<interval<System.DateTime>>,System.DateTime).

view this post on Zulip Mohammad Afaq Khan (Nov 21 2019 at 12:56):

@Bryn Rhodes

view this post on Zulip Mohammad Afaq Khan (Nov 21 2019 at 12:57):

Thanks for the help @Chris Moesel


Last updated: Apr 12 2022 at 19:14 UTC