FHIR Chat · ConceptMap store and retrieve · implementers

Stream: implementers

Topic: ConceptMap store and retrieve


view this post on Zulip Medi Harsini (Aug 05 2020 at 00:38):

Hi, can I get some advise from poeple who use concept map actively for their codeSystems. How you store and how you retrieve. To give you an example if you have your own codeSystem (codesystem1) and your consumer for the same concept uses a different codesystem (codeSystem2) and then you create a conceptMap to support the mapping from CodeSystem1<=>CodeSystem2, then when the same consumer is uses its own CodeSystem2 when POSTing a new resource (doesnt matter what resource), then you would potentially invoke the conceptMap to map the code to your codesystem and potentially to store it in your DBs with your codesystem. When the same consumer is calling for the same resource, would you use the same conceptmap to retrieve it to the same original format as it was published or you send the resource with the codesystem1 value as how you stored it??!!

view this post on Zulip Lloyd McKenzie (Aug 05 2020 at 00:47):

You should, ideally, always store the received code in addition to any translation you've added - because otherwise you're likely to lose information (translations are rarely exact). However, there's no requirement to do so. However, if you echo back a copy of the record on a successful add/update, you should indicate what you've actually stored - including any translations you've added, any data you've changed and any data you've removed

view this post on Zulip Medi Harsini (Aug 05 2020 at 01:25):

Thanks, so in my example; resourceA is posted with codesystem1 => ResoruceA with both codesystem is stored => GET resourceA will result in sending the resource with both codesystem? and thats achievable in FHIR as long the datatype is codeableconcept and if coding is not profiles for be 0..1 .. right?

view this post on Zulip Lloyd McKenzie (Aug 05 2020 at 01:45):

Right. (And profiling CodeableConcept.coding to be 0..1 would be a pretty poor practice.)

view this post on Zulip Medi Harsini (Aug 05 2020 at 01:45):

Thanks @Lloyd McKenzie #


Last updated: Apr 12 2022 at 19:14 UTC