Translation set endpoints allow you to review and manage value sets, translation sets, and related translation set links.
A value set is a list of values (e.g., LOINC, SNOMED, or a custom code set) that should be translated during the process of data exchange.
A translation set contains two value sets: one for incoming values and one for outgoing values between systems. A translation set also defines how those values should map to each other. Learn about translation sets.
A translation set link defines where the translation set should be applied in log processing for a specific subscription.
Anyone in a Redox organization can view translation sets and related value sets or links, but you must be assigned to an engineer or support role to update or delete them.
You can:
- retrieve a list of value sets by environment or organization;
- retrieve a list of translation sets by environment or organization;
- create, update, or delete value sets;
- create, update, or delete translation sets or links;
- create, update, or delete a value in a value set; or
- create or delete a translation in a translation set;
Update translation set
Update a translation set by either adding new mappings or changing or deleting existing mappings. It may be helpful to use the Get translation set endpoint first to review current mappings before updating.
Whether adding, updating, or deleting mappings, the translations array in the request body should include all current mappings with their respective fromValueId and toValueId. Then:
- To add mappings, add entries for new mappings with both their fromValueId and toValueId properties specified.
- To update existing mappings, include both the fromValueId and toValueId, whether you want to retain the value as-is or change it to the new value.
- To delete values, exclude the current mapping from the translations array altogether.
This endpoint allows you to update one translation set at a time.
cURL request example
Path Parameters
- translationSetIdrequired, string
Contains the unique identifier for the translation set.
Request Body Schema
- namestring
Contains the human-readable name of the asset.
- fromValueSetIdstring
Identifies the value set you to translate FROM.
Format: uuid - toValueSetIdstring
Identifies the value set you want to translate TO.
Format: uuid - translationsArray of object
Contains the list of mapped value pairs by their respective unique identifiers.
- toValueIdstring
Specifies the unique identifier of a value in the TO value set.
Format: uuid - fromValueIdstring
Specifies the unique identifier of a value in the FROM value set.
Format: uuid
- isCaseSensitiveboolean
Indicates if the translation set is case sensitive or not.
- metaobject
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- payloadobject
Contains the id of the created or modified asset.
- idstring
Contains the unique identifier of the asset.
Format: uuid