FHIR Chat · hapi-jpa Terminology Services · hapi

Stream: hapi

Topic: hapi-jpa Terminology Services


view this post on Zulip James Agnew (Jun 24 2016 at 21:38):

Hi All,

Just a heads-up that the upcoming release of HAPI adds a terminology server which supports a bunch of funky new stuff including ValueSet expansion with filtering and text search, and searches like Observation?code:in=foo and Observation?code:below=foo.

If anyone wants to test this, that would be greatly appreciated. Our public server has been loaded with SNOMED CT (international edition) and LOINC.. hopefully more to come. Endpoint is here: http://fhirtest.uhn.ca/baseDstu3

view this post on Zulip Josh Mandel (Jun 24 2016 at 22:05):

That's fabulous! Do you include load scripts for SNOMED and LOINC?

view this post on Zulip James Agnew (Jun 24 2016 at 22:12):

Yup. The CLI will have the ability to load either of those CS's from their respective distribution zips.

It's a bit of a painful process, the SCT import takes about an hour on my high-powered laptop but it's pretty zippy once it's loaded.

view this post on Zulip Naminder Soorma (Jun 27 2016 at 12:00):

Before I go testing, does it support the $expand option on multiple filters?

view this post on Zulip James Agnew (Jun 27 2016 at 14:50):

Yup, It should support this. FYI David Hay gave it a whirl on Friday and promptly discovered that it wasn't properly expanding codes that have multiple parents. That's now fixed.

If you find anything else you think should work but doesn't, awesome.

view this post on Zulip James Agnew (Jun 27 2016 at 15:26):

Incidentally, here's a sample David provided: http://fhirtest.uhn.ca/baseDstu3/ValueSet/condition-code/$expand?filter=ankylosing

view this post on Zulip Eric Haas (Jun 27 2016 at 23:47):

@James Agnew When I run David's sample, the output parameter is not a valid ValueSet resource. There are missing elements between the meta and expansion elements.

view this post on Zulip James Agnew (Jun 28 2016 at 13:53):

Oops, that was missing. Fixed.

This brings me to a different question though.. Should/can the output ValueSet of the expansion contain the ValueSet.compose element that caused the expansion? The invariants allow this, the description is silent, and the examples don't have this.

view this post on Zulip Grahame Grieve (Jun 28 2016 at 19:49):

James - so you haven't noticed ExpansionProfile? See ExpansionProfile.includeDefinition

view this post on Zulip James Agnew (Jun 28 2016 at 19:50):

whoa! no, i didn't know about that....

FHIR terminology services are really elegantly designed, I like it.

view this post on Zulip Michael Lawley (Jun 28 2016 at 23:10):

Mostly elegant, but not ExpansionProfile IMO - being full of binary flags leads to combinatorial explosion of instances & not a good experience for client or server programmer

view this post on Zulip Rob Hausam (Jun 30 2016 at 12:19):

That's excellent, James. I'll start testing it - both on your public server and on mine.


Last updated: Apr 12 2022 at 19:14 UTC