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 value set
Update a value set by either adding new values or changing or deleting existing values. It may be helpful to use the Get value set endpoint first to review current values before updating.
Whether adding, updating, or deleting values, the values array in the request body should include all current values with their respective id and value. Then:
- To add values, add entries for new values with only their value property specified. Any entries without an id property will be added as new values.
- To update existing values, include the current value with its id as-is, then change the value string.
- To delete values, exclude the current value from the values array altogether.
This endpoint allows you to update one value set at a time.
cURL request example
Path Parameters
- valueSetIdrequired, string
Contains the unique identifier of the value set.
Request Body Schema
- namestring
Contains the human-readable name of the asset.
- valuesArray of object
- idstring
Contains the unique identifier of the asset.
Format: uuid - valuestring
Contains the actual string value data.
- 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 details about a value set.
- idstring
Contains the unique identifier of the asset.
Format: uuid - versionnumber
Contains the numeric version of the asset. Version numbers start at 1 and increment in whole numbers whenever the asset is updated.
- namestring
Contains the human-readable name of the asset.
- environmentIdstring
Contains the unique identifier of the Redox environment.
Format: uuid - organizationIdnumber
Contains the unique identifier of the Redox organization.
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- creatingUserIdnumber
Contains the unique identifier of the user.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- lastUpdatingUserIdnumber
Contains the unique identifier of the user.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletingUserIdnullable, number
Contains the unique identifier of the user.
- valuesArray of object
- idstring
Contains the unique identifier of the asset.
Format: uuid - valuestring
Contains the actual string value data.
- promotionAssociationsArray of object
Contains a list of promotions associated with this asset.
- organizationobject
Describes the Redox organization that the asset belongs to.
- idnumber
Contains the unique identifier of the Redox organization.
- namenullable, string
Contains the human-readable name of the Redox organization.
- fromAssetobject
Describes the original asset that was created in staging and promoted to production.
- idstring
Contains the unique identifier of the asset.
Format: uuid - environmentobject
Describes the Redox environment that the asset belongs to.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- typestringPossible Values:
configModifier
,filter
,translationSet
- latestVersionnumber
Displays the most recent version of the original asset in staging. This may vary from the version number in production. A different version number may indicate you need to re-promote the asset to production.
- toAssetobject
Describes the promoted asset that can be used or linked to subscriptions in production.
- idstring
Contains the unique identifier of the asset.
Format: uuid - environmentobject
Describes the Redox environment that the asset belongs to.
- idstring
Contains the unique identifier of the Redox environment.
Format: uuid
- typestringPossible Values:
configModifier
,filter
,translationSet
- latestVersionnumber
Displays the most recent version of the promoted asset in production. This may vary from the version number in staging. A different version number may indicate you need to re-promote the staging asset to production.
- outOfDateboolean
Indicates whether the version of the promoted asset in production is different from the version of the original asset in staging.
- createdAtstring
Displays the date and time that the asset was originally created in ISO 8601 format.
- createdByobject
Contains the metadata about the user who created the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- updatedAtstring
Displays the date and time that the asset was last updated in ISO 8601 format.
- updatedByobject
Contains the metadata about the user who last updated the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.
- deletedAtnullable, string
Displays the date and time that the asset was deleted. Returns a
null
value if the asset hasn't been deleted. - deletedBynullable, object
Contains the metadata about the user who deleted the asset.
- idnumber
Contains the unique identifier of the user.
- namenullable, string
Displays the user's full name.