This
page
is
part
of
the
FHIR
Specification
(v1.0.2:
DSTU
(v3.0.2:
STU
2).
3).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
R2
R3
R2
| Vocabulary Work Group | Maturity Level : N/A | Ballot Status : Informative | Compartments : Not linked to any defined compartments |
This is the narrative for the resource. See also the XML or JSON format.
OPERATION: Concept Translation
The official URL for this operation definition is:
http://hl7.org/fhir/OperationDefinition/ConceptMap-translate
Translate
a
code
from
one
value
set
to
another,
based
on
the
existing
value
set
and
concept
maps
resources,
and/or
other
additional
knowledge
available
to
the
server.
||
One
(and
only
one)
of
the
in
parameters
(code,
coding,
codeableConcept)
must
be
provided,
to
identify
the
code
that
is
to
be
translated.
||
The operation returns a set of parameters including a 'result' for whether there is an acceptable match, and a list of possible matches. Note that the list of matches may include notes of codes for which mapping is specifically excluded, so implementers have to check the match.equivalence for each match
URL: [base]/ConceptMap/$translate
URL: [base]/ConceptMap/[id]/$translate
Parameters
| Use | Name | Cardinality | Type | Binding | Documentation |
| IN | code | 0..1 | code |
The code that is to be translated. If a code is provided, a system must be provided |
|
| IN | system | 0..1 | uri |
The system for the code that is to be translated |
|
| IN | version | 0..1 | string |
The version of the system, if one was provided in the source data |
|
| IN |
|
0..1 | uri |
Identifies
the
value
set
used
when
the
concept
(system/code
pair)
was
chosen.
May
be
a
logical
id,
or
an
absolute
or
relative
|
|
| IN | coding | 0..1 | Coding |
A coding to translate |
|
| IN | codeableConcept | 0..1 | CodeableConcept |
A full codeableConcept to validate. The server can translate any of the coding values (e.g. existing translations) as it chooses |
|
| IN | target |
|
uri |
Identifies
the
value
set
in
which
a
translation
is
sought.
May
be
a
logical
id,
or
an
absolute
or
relative
| |
| IN | targetsystem | 0..1 | uri | identifies a target code system in which a mapping is sought. This parameter is an alternative to the target parameter - only one is required. Searching for any translation to a target code system irrespective of the context (e.g. target valueset) may lead to unsafe results, and it is at the discretion of the server to decide when to support this operation |
|
| IN | dependency | 0..* |
Another element that may help produce the correct mapping |
||
| IN | dependency.element | 0..1 | uri |
The element for this dependency |
|
| IN | dependency.concept | 0..1 | CodeableConcept |
The value for this dependency |
|
| IN | reverse | 0..1 | boolean | if this is true, then the operation should return all the codes that might be mapped to this code. This parameter reverses the meaning of the source and target parameters | |
| OUT | result | 1..1 | boolean |
True if the concept could be translated successfully. The value can only be true if at least one returned match has an equivalence which is not unmatched or disjoint |
|
| OUT | message | 0..1 | string |
Error details, for display to a human. If this is provided when result = true, the message carries hints and warnings (e.g. a note that the matches could be improved by providing additional detail) |
|
| OUT | match | 0..* |
A concept in the target value set with an equivalence. Note that there may be multiple matches of equal or differing equivalence, and the matches may include equivalence values that mean that there is no match |
||
| OUT | match.equivalence | 0..1 | code |
A code indicating the equivalence of the translation, using values from [ConceptMapEquivalence]{concept-map-equivalence.html} |
|
| OUT | match.concept | 0..1 | Coding |
The translation outcome. Note that this would never have userSelected = true, since the process of translations implies that the user is not selecting the code (and only the client could know differently) |
|
| OUT | match.product | 0..* |
Another element that is the product of this mapping |
||
| OUT | match.product.element | 0..1 | uri |
The element for this product |
|
| OUT | match.product.concept | 0..1 | Coding |
The value for this product |
|
| OUT | match.source | 0..1 | uri | The canonical URI for the concept map from which this mapping comes from |
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.