FHIR Chat · CodeSystem · implementers

Stream: implementers

Topic: CodeSystem


view this post on Zulip Kelvin Lok (Aug 04 2017 at 08:00):

Is there any recommendation on how to populate CodeSystem in the UI (e.g. drop down list) in general.
For example, to populate a drop list with a list of gender, do I need to POST the valueset (http://http://hl7.org/fhir/valueset-administrative-gender) and CodeSystem (http://hl7.org/fhir/administrative-gender) to the fhir server first, then retrieve these data using a GET?

view this post on Zulip Grahame Grieve (Aug 04 2017 at 10:11):

on my server, you must post the code system first, but you can post the value set as a parameter to the $expand operation

view this post on Zulip Kelvin Lok (Aug 04 2017 at 10:17):

Thanks for the reply. At first I was thinking download this zip http://hl7.org/fhir/examples-json.zip and use the codesystem-administrative-gender.json and bind to the drop down list. But I think is better to retrieve from the FHIR server which is more maintainable.

view this post on Zulip Grahame Grieve (Aug 04 2017 at 10:17):

that's the intent, yes

view this post on Zulip Grahame Grieve (Aug 04 2017 at 10:17):

but you do need to maintain the TxServer. Still, there's lots of choices

view this post on Zulip Kelvin Lok (Aug 04 2017 at 10:20):

Can I use the normal FHIR server mix with the TxServer. I think my question should be is there any difference with the normal FHIR server and FHIR terminology server?

view this post on Zulip Grahame Grieve (Aug 04 2017 at 10:21):

well, the question is whether the FHIR server (a) supports the terminology resources (the generic servers do) and (b) supports the reasoning the required to implement the various terminology operations

view this post on Zulip Joshua Bell (Nov 30 2017 at 18:48):

What exactly does it mean for a CodeSystem's content to be not-present vs completed? How can I have a code system that is not-present but still have valuesets expand? Is there no way to get the Concepts out of that CodeSystem (referring to the terminology uploader for HAPI).

And are there limitations to expansion of a ValueSet when a CodeSystem content is not-present? (When I expand my ValueSet displays are not working in the expansion, HAPI3.1.0)

view this post on Zulip Lloyd McKenzie (Nov 30 2017 at 20:44):

Value set expansions aren't going to work well on any code system that isn't "complete" as the information needed to find all relevant codes isn't necessarily going to be present. However it's possible the terminology service might have access to the codes from some source other than FHIR. For example, we'd never have a "complete" FHIR CodeSystem instance for SNOMED (it'd be way too huge), but lots of terminology servers still load FHIR content from other sources.

view this post on Zulip Grahame Grieve (Nov 30 2017 at 21:11):

'.. lots of terminology servers load SNOMED CT content from other sources" - yes. That's exactly how it works

view this post on Zulip Joshua Bell (Nov 30 2017 at 21:49):

Is there a reason why it would successfully expand the codes in a value set, but not update their displays? Regarding my issue posted in HAPI: https://chat.fhir.org/#narrow/stream/hapi/subject/ValueSet.20expansion.20behavior.20using.20uploaded.20terminology I uploaded SNOMED and can expand a value set, but the displays in the expansion are wrong (using display from CodeSystem rather than the ValueSet). I would think that even if the CodeSystem is not complete, it at least has the two codes in that valueset and it should use the display name in the valueset. Or is it doing some special query that get's those two concepts from "black box" and the update doesn't happen after that process?

view this post on Zulip Grahame Grieve (Nov 30 2017 at 22:06):

it should not make any difference whether the code system is explicit or implicit. Beyond that, @James Agnew wrote the snomed part of the HAPI implementation, so I'm not sure.

view this post on Zulip Joshua Bell (Nov 30 2017 at 22:11):

Yea I've been reading the TerminologyUploader code, and it does a lot of extra behind the scenes stuff for uploading the CodeSystem by putting it sort of in the background after the CodeSystem has already been made. It seems to work fine, apart from the ValueSet expansions not working with it (Even when I wait to make a valueset for all the CodeSystem stuff to finish). The only thing I can think of is attempting to make an uploader that makes a CodeSystem "normally" - but I'm assuming that won't work well due to the size, hence the uploader service in the first place.

I suppose I'll make a post on the HAPI google forum instead of here, the HAPI stream doesn't really get a lot of traffic to it. Thanks for your insights

view this post on Zulip Grahame Grieve (Nov 30 2017 at 22:12):

yes the HAPI google forum has more active support. Though James is holidaying in Hanoi today, and then travelling back to Canada, so it'll be a few days


Last updated: Apr 12 2022 at 19:14 UTC