FHIR Chat · hapi-fhir: issue 277: Client should have better "or" para... · hapi

Stream: hapi

Topic: hapi-fhir: issue 277: Client should have better "or" para...


view this post on Zulip Zulip HAPI Bot (Jan 06 2016 at 15:14):

jamesagnew opened issue 277

Currently to generate a list of "or" tokens, you can do this:

client
        .search()
        .forResource(Observation.class)
        .where(
            Observation.CODE.exactly().identifiers(
                new IdentifierDt("http://loinc.org", "123"),
                new IdentifierDt("http://loinc.org", "234"),
                new IdentifierDt("http://loinc.org", "345")))
        .execute();

..but this relies on using identifiers where tokens would be more appropriate, and isn't intuitive. We should come up with a better syntax for this.


Last updated: Apr 12 2022 at 19:14 UTC