This
page
is
part
of
the
FHIR
Specification
v6.0.0-ballot3:
v6.0.0-ballot4:
Release
6
Ballot
(3rd
Draft)
(1st
Full
Ballot)
(see
Ballot
Notes
).
The
current
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
the
Directory
of
published
versions
for
published
versions
Responsible
Owner:
FHIR
Infrastructure
Work
Group
|
|
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
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 | 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
FHIRPath
type
specifiers
|
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. Parameters to be documented . |
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 |