FHIR Chat · Conceptmap · implementers

Stream: implementers

Topic: Conceptmap


view this post on Zulip Andrew Ross (May 06 2016 at 14:58):

I'm working on an implementation of concept mapping that tries to conform to FHIR's ConceptMap as much as possible. we have a use case which involves translating an entire set of concepts in one set of systems to another set of systems. I was looking at the $translate and $closure operations for ConceptMap, and $translate seems to match this operation, but only for a single input concept (when in our use case, we have many)

view this post on Zulip Andrew Ross (May 06 2016 at 15:00):

would it make sense to either update the $translate operation to accept multiple concepts, or to add another operation (maybe as a POST) to allow for the $translateMany case?

view this post on Zulip Grahame Grieve (May 06 2016 at 15:00):

http://hl7.org/fhir/terminology-service.html#2.5.1.9

view this post on Zulip Andrew Ross (May 06 2016 at 15:00):

ah, nice!

view this post on Zulip Andrew Ross (May 06 2016 at 15:01):

i think that answers my question, thanks!

view this post on Zulip Grahame Grieve (May 06 2016 at 15:02):

np

view this post on Zulip Andrew Ross (May 06 2016 at 15:06):

actually... this might not fully match our use case. i'm looking at the docs for batch operations, and it seems like they require that there are no interdependencies between the individual elements, but here there are. For example, if coding system 1 has concepts for "male" and "breast-cancer", while coding system 2 has a concept for "male-breast-cancer", when I ask to translate "male" and "breast-cancer" in coding system 1 to coding system 2, i want to receive "male-breast-cancer" back

view this post on Zulip Andrew Ross (May 06 2016 at 15:08):

for a single request, maybe the right way to structure it would be to request a translation for one of the concepts with the other added to the "dependency" section

view this post on Zulip Grahame Grieve (May 06 2016 at 15:08):

ahh. then batch isn't what you want

view this post on Zulip Andrew Ross (May 06 2016 at 15:08):

but for a batch request, i want each concept's "dependency" to be every other concept

view this post on Zulip Grahame Grieve (May 06 2016 at 15:09):

look here:

view this post on Zulip Grahame Grieve (May 06 2016 at 15:09):

http://hl7.org/fhir/conceptmap-operations.html

view this post on Zulip Grahame Grieve (May 06 2016 at 15:09):

at dependency and product

view this post on Zulip Andrew Ross (May 06 2016 at 15:09):

yep

view this post on Zulip Andrew Ross (May 06 2016 at 15:10):

i guess we could just have it be a single request, where we pick one concept at random to be the main one and put the rest into "dependency", then get back some number of matches/products

view this post on Zulip Andrew Ross (May 06 2016 at 15:11):

but it can't really be a GET request, because there might be quite a lot of inputs

view this post on Zulip Andrew Ross (May 06 2016 at 15:12):

this is all happening internally for right now, as part of how we interpret data we're getting in different coding systems from different EHRs

view this post on Zulip Andrew Ross (May 06 2016 at 15:12):

but ultimately we might expose our own mapping logic as a service

view this post on Zulip Grahame Grieve (May 06 2016 at 15:12):

sure, post

view this post on Zulip Grahame Grieve (May 06 2016 at 15:13):

the question of which is primary - the underlying ConceptMap requires that you identify a primary one, and so it would match that.

view this post on Zulip Andrew Ross (May 06 2016 at 15:13):

right

view this post on Zulip Grahame Grieve (May 06 2016 at 15:13):

Agree that in some cases there isn't a 'primary' but saying that you identify a primary simplifies the model

view this post on Zulip Vadim Peretokin (Jul 01 2016 at 03:20):

ConceptMap has a target ValueSet - can I only map to codes that are a part of the target valueset? What if I map to a codesystem that's not included in the target valueset? This is given the May2016 snapshot, I know group changed things slightly in latest CI version

view this post on Zulip Grahame Grieve (Jul 01 2016 at 03:21):

yes, you can only map to codes in the value set

view this post on Zulip Grahame Grieve (Jul 01 2016 at 03:21):

that hasn't changed

view this post on Zulip Vadim Peretokin (Jul 01 2016 at 03:21):

ok

view this post on Zulip Grahame Grieve (Jul 01 2016 at 03:22):

if you want to map outside the target value set, you've chosen the wrong value set

view this post on Zulip Vadim Peretokin (Jul 01 2016 at 03:22):

shouldn't the constraints say something about this? I feel that without a constraint, the door is slightly open

view this post on Zulip Grahame Grieve (Jul 01 2016 at 03:35):

The constraints probably could say something about that now. So you could make a task proposing that

view this post on Zulip David Cai (Jul 11 2016 at 06:07):

When you use the $translate operation, can you use the source code/valueset pair, or do you have to use the source code/codesystem pair?

view this post on Zulip Grahame Grieve (Jul 11 2016 at 06:16):

at present, you need to provide code/code system. btw, this question belongs in the new terminology stream

view this post on Zulip David Cai (Jul 11 2016 at 06:18):

Oh ok thanks Grahame. Sorry I searched ConceptMap and thought it would be the appropriate stream.

view this post on Zulip Grahame Grieve (Jul 11 2016 at 06:19):

np.

view this post on Zulip Jay Lyle (Nov 09 2017 at 16:33):

moved to terminology https://chat.fhir.org/#narrow/stream/terminology/subject/ConcetpMap/near/107887

view this post on Zulip Ravishankar P (Jun 02 2021 at 08:32):

Hi All,

please share some examples links to create ConceptMap and put that map in some URL??

view this post on Zulip Lloyd McKenzie (Jun 02 2021 at 13:34):

Have you looked at the examples already in the core FHIR specification? Also, not clear what you mean by "put that map in some URL".


Last updated: Apr 12 2022 at 19:14 UTC