Skip to content

Filtering a Bundle by Resource.Effective #1924

Discussion options

You must be logged in to vote

Hi @AngeloMSFerreira,

DateTime literals begin with a @. See also the FhirPath specification: http:https://hl7.org/fhirpath/#datetime

So try to write te expression like this:

  res.Select("entry.resource.where(effective >= @2016-01-01)");

Happy coding!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AngeloMSFerreira
Comment options

Answer selected by AngeloMSFerreira
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants