$translate-concepts endpoint can be used to translate concepts for given language.
It will search for translations given in Concept.designation.display
(see Aidbox concept format)
POST /$translate-concepts
language: <locale>
concepts:
- system: <system>
code: <code>
- system: <system>
code: <code>
Search for translations of concepts with LOINC codes 2-6 and 1-8 in French:
POST /$translate-concepts
language: fr-CA
concepts:
- system: http://loinc.org
code: 1-8
- system: http://loinc.org
code: 2-6
...
Result:
- code: 2-6
system: http://loinc.org
language: fr-CA
translation: Almécilline:Susceptibilité:Temps ponctuel:Isolat:Quantitatif:CLM
- code: 1-8
system: http://loinc.org
language: fr-CA
translation: 'Acyclovir:Susceptibilité:Temps ponctuel:Isolat:Quantitatif ou ordinal:'