This
page
is
part
of
the
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
v6.0.0-ballot4:
Release
6
Ballot
(1st
Full
Ballot)
(see
Ballot
Notes
)
in
it's
permanent
home
(it
will
always
be
available
at
this
URL).
).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
for
published
versions
.
Page
versions:
R5
R4B
R4
R3
Responsible
Owner:
FHIR
Infrastructure
Work
Group
|
|
Use
Context
:
|
Official
URL
:
http://hl7.org/fhir/map-transform
|
|
|||
| active as of 2021-01-05 |
|
|||
|
|
|
|||
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-12-18T07:07:42.17+11:00
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 |
|
|
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). |
|
|
| 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?)
-
| 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 |