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;
Create link
Apply a translation set to a specific location within log processing. There are up to four stages that you can link a translation set to (i.e., REQUEST and RESPOND or SEND and RECEIVE), depending on whether you own either the source, destination, or both. Learn about log processing stages.
To fully link a translation set, you must select the relevant field path where the translation should happen.
You can create a value set via API or the Redox dashboard (create and link a translation set in the dashboard).
This endpoint allows you to link one translation set at a time.
cURL request example
Request Body Schema
- translationSetrequired, object
Describes the translation set being linked.
- idstring
Contains the unique identifier of the asset.
Format: uuid
- sourcerequired, object
Specifies the source of the subscription that an asset is or should be linked to.
- idrequired, string
Contains the unique identifier of the source.
Format: uuid
- destinationrequired, object
Specifies the destination of the subscription that an asset is or should be linked to.
- idrequired, string
Contains the unique identifier of the destination.
Format: uuid
- dataModelrequired, string
Specifies the Redox data model that the link applies to or should apply to.
- directionrequired, string
Indicates the direction in which the translation set is or should be linked. This can be either
from-to
(translates a "from" value into a "to" value), orto-from
(tranlates a "to" value into a "from" value).Possible Values:from-to
,to-from
- processingLocationrequired, string
Identifies where a link will be applied during log processing. There are up to four stages that an asset can be linked to, depending on whether you own either the source, the destination, or both.
Possible Values:source-request
,destination-request
,source-response
,destination-response
- pathsrequired, Array of object
Lists the field paths linked to a translation set. These paths must be unique on the path property.
- dataTypestring
Describes the format of the data found at the path location.
- titlestring
Specifies a human-readable title for the field path.
- pathstring
Specifies the path in a message to the location of the data to be translated. The path must always start with a $ to be considered valid.
- 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