Hello,
my idea was to provide some french translation for ElementDefinition of a StructureDefinition .
i use ConceptScheme as an example … and wanted to extand the ConceptScheme StructureDefinition so that we can have have a french “explanation” for each Element.
Example : CodeSystem.versionNeeded
where can i set that for this element we can have somewhere that a french explanation of this element is “Version Nécessaire” with a language tag “fr” .
Any string in any resource - including StructureDefinition - can have translations captured using the translation extension. However, there’s no mechanism to support those in the base publication machinery nor in profile tooling like Forge - yet. We do capture translations for resource names, but for individual resource elements, nor for short descriptions, etc.
It would look like what’s below. That said, I’m not sure whether doing a proper translation on the full id makes sense. You can’t use a translation of the id - all instances must use the English names. If you want something in French (or any other language), it would make more sense to translate the label as that’s something that could be user-facing.
thank you for your clear example.
Do Fhir provide documentation about “id” & “_id” format ? (first time for me to see that)
Yes i agree, but id is required and label not. for example, fhir doesnt provide the label for CodeSystem.versionNeeded Element.
So i can not express a french translation for an unknown attribute … or like this ?
{
“label”: “”,
“_label”: {
“extension”: [
{
“url”: “”,
“extension”: [
{“url”:“lang”, “valueCode”: “fr”},
{“url”:“content”, “valueString”: “version nécessaire”}
]
}
]
}
…
}