Stream: implementers
Topic: Adding French to ValueSets
Joel Francis (Mar 27 2019 at 19:29):
Hi,
Are there any written/specific rules in the FHIRspecification on how I can add translation to FHIR ValueSets?
What I mean by this is if I wanted to create a new ValueSet from the FHIR Administrative-gender valueset and include French display values, would I
simply add the "designation" element to the existing instance indicating the language and value.
Is this approach currently adopted?
Thanks,
Grahame Grieve (Mar 27 2019 at 22:46):
it would be better to define a code system supplement. but you just do it in a value set - by adding a designation with language (though you don't need to do that if you're defining a new value set of your own - just make the language fr)
Lloyd McKenzie (Mar 28 2019 at 00:43):
Is there a mechanism to contribute those translations to the core specification for the code system?
Grahame Grieve (Mar 28 2019 at 03:14):
sure we support code system supplements
Joel Francis (Mar 28 2019 at 11:25):
it would be better to define a code system supplement. but you just do it in a value set - by adding a designation with language (though you don't need to do that if you're defining a new value set of your own - just make the language fr)
@Grahame Grieve Thank you. Since we are not adding or removing values and merely converting to french, we will add the designation element as suggested
Joel Francis (Mar 28 2019 at 11:35):
sure we support code system supplements
What exactly distinguishes a CodeSystem from a supplement? I can see that the only immediate contextual difference is the CodeSystem.content which would be set to supplement.
It is not clear whether any material translated be forwarded back to the core specification. since the example I gave used an HL7 Code System, is it worth adding this for clarity in the FHIR spec?
Lloyd McKenzie (Mar 28 2019 at 14:27):
Code systems define concepts. Code system supplements can only add properties and designations to concepts defined in a base code system.
Lloyd McKenzie (Mar 28 2019 at 14:27):
Not quite following your last question
Jim Steel (Mar 29 2019 at 01:33):
My understanding is that the question is whether the translations could be included as designations in the spec definition at https://www.hl7.org/fhir/codesystem-administrative-gender.html
Grahame Grieve (Mar 29 2019 at 02:26):
that would need a code system supplement. The build does support this already
Grahame Grieve (Mar 29 2019 at 02:26):
(added for the dutch)
Jim Steel (Mar 29 2019 at 02:28):
To play slightly devil's advocate, is there a reason that the languages ValueSet in the spec (https://www.hl7.org/fhir/valueset-languages.html) includes multi-language designations in the ValueSet itself, but gender should instead define a supplement?
Grahame Grieve (Mar 29 2019 at 02:29):
because we actually define the code system for gender. I'd move the language ones to a supplement but I haven't done the tooling to make use of a supplement for IETF lang (since it doesn't come as a code system resource)
Last updated: Apr 12 2022 at 19:14 UTC