This
page
is
part
of
the
FHIR
Specification
(v5.0.0:
R5
-
STU
v6.0.0-ballot3:
Release
6
Ballot
(3rd
Draft)
(see
Ballot
Notes
).
This
is
the
The
current
published
version
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
FHIR
Infrastructure
Work
Group
|
Maturity Level : 2 | Trial Use | Use Context : Country: World |
Official
URL
:
http://hl7.org/fhir/map-transform
|
Version
:
|
|||
| active as of 2021-01-05 | Computable Name : StructureMapTransform | |||
| Flags : CaseSensitive, Complete. All codes ValueSet: Structure Map Transform | OID : 2.16.840.1.113883.4.642.4.682 | |||
This
"This
Code
system
is
used
in
the
following
FHIR
core-defined
or
referenced
value
sets:
How data is copied/created.
Generated Narrative: CodeSystem map-transform
Last updated: 2025-04-01T12:16:37.966+11:00
Profile: Shareable CodeSystem
Properties
This code system defines the following properties for its concepts
| Name | Code | Type | Description |
| FHIRPath Equivalent | fhirpath | string | FHIRPath equivalent for transform function |
Concepts
This
case-sensitive
code
system
http://hl7.org/fhir/map-transform
defines
the
following
codes:
| Code | Definition | FHIRPath Equivalent | Copy |
| create |
create(type : string) - type is passed through to the application on the standard API, and must be known by it. |
n/a |
|
| copy |
copy(source). |
n/a |
|
| truncate |
truncate(source, length) - source must be stringy type. |
substring |
|
| escape |
escape(source, fmt1, fmt2) - change source from one kind of escaping to another (plain, java, xml, json). note that this is for when the string itself is escaped. |
n/a |
|
| cast |
cast(source,
type?)
-
cast
(convert)
source
from
one
type
to
another.
Target
type
can
be
left
as
implicit
if
there
is
one
and
only
one
target
type
known.
The
default
namespace
for
the
type
is
'FHIR'
(see
|
n/a |
|
| append |
append(source...) - source is element or string. |
& (String concatenation) |
|
| translate |
translate(source, uri_of_map) - use the translate operation. |
%terminologies.translate() |
|
| reference |
reference(source : object) - return a string that references the provided tree properly. |
related to resolve() but returns the string pointer |
|
| dateOp |
Perform
a
date
operation.
|
n/a |
|
| uuid |
Generate a random UUID (in lowercase). No Parameters. |
n/a |
|
| pointer |
Return the appropriate string to put in a reference that refers to the resource provided as a parameter. |
n/a |
|
| evaluate |
Execute the supplied FHIRPath expression and use the value returned by that. |
n/a |
|
| cc |
Create a CodeableConcept. Parameters = (text) or (system. Code[, display]). |
n/a |
|
| c |
Create a Coding. Parameters = (system. Code[, display]). |
n/a |
|
| qty |
Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit. |
n/a |
|
| id |
Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set. |
n/a |
|
| cp |
Create a contact details. Parameters = (value) or (system, value). If no system is provided, the system should be inferred from the content of the value. |
n/a |
|
See the full registry of code systems defined as part of FHIR.
Explanation of the columns that may appear on this page:
| Level | A few code lists that FHIR defines are hierarchical - each code is assigned a level. See Code System for further information. |
| Source | The source of the definition of the code (when the value set draws in codes defined elsewhere) |
| Code | The code (used as the code in the resource instance). If the code is in italics, this indicates that the code is not selectable ('Abstract') |
| Display | The display (used in the display element of a Coding ). If there is no display, implementers should not simply display the code, but map the concept into their application |
| Definition | An explanation of the meaning of the concept |
| Comments | Additional notes about how to use the code |