FHIR Chat · search on code:in · terminology

Stream: terminology

Topic: search on code:in


view this post on Zulip Bob Milius (Dec 16 2021 at 19:26):

We want to be able to search for observations with a code in a valueset. We want to use code:in search, but it doesn't appear that HAPI supports that. Does anyone know of a FHIR implementation that does support code:in searches?

view this post on Zulip Lloyd McKenzie (Dec 16 2021 at 19:41):

I believe Grahame's server does.

view this post on Zulip Rob Hausam (Dec 17 2021 at 03:20):

@ Bob Milius This is a query that I use in my teaching - on my HAPI server (5.4.0 at present):

https://fhir.hausamconsulting.com/r4/Condition?code:in=http://example.org/vs/upper-respiratory-infection

I think this is what you are wanting to do, and HAPI does support it.
The value set and its expansion that the 'code:in' query uses is:

https://fhir.hausamconsulting.com/r4/ValueSet/upper-respiratory-infection
https://fhir.hausamconsulting.com/r4/ValueSet/upper-respiratory-infection/$expand

Last updated: Apr 12 2022 at 19:14 UTC