Page Status: updated 2025-03-31

Translate Code

Page index

Introduction

Examples of $translate commands.

Request

The request is made by calling the extended operation $translate.

GET|POST [base]/ConceptMap/$[operation]

Request Headers

See HTTP Header and Authorization for generic information about all HTTP headers used by the National Medication List.

Response Body

A ConceptMap, see ConceptMap for more information.

Examples

Example 1 - Translate code to Snomed

This example shows how to translate a code within Doseringshastighetsenhet till Snomed CT Doseringshastighetsenhet (nll-ucum-rate-unit-to-snomed).

Request

GET [base]/ConceptMap/nll-ucum-rate-unit-to-snomed/$translate?system=http://unitsofmeasure.org&code=L/min

Request Headers

Header Value Comment
x-request-id 93af3557-a835-48a7-9ebf-8c93ea7d12e7
x-user-agent {"name":"Test system testaren","version":"0.01010101010.1 beta"} Decoded value

Response Body

See Example of translate a code in a ConceptMap.