FHIR Mapping Language (FML)
0.1.0 - STU 1 International flag

FHIR Mapping Language (FML), published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/mapping-language-ig/ and changes regularly. See the Directory of published versions

ValueSet: Structure Map Transform

Official URL: http://hl7.org/fhir/ValueSet/map-transform Version: 0.1.0
Standards status: Trial-use Maturity Level: 2 Computable Name: StructureMapTransform
Other Identifiers: OID:2.16.840.1.113883.4.642.3.681, OID:2.16.840.1.113883.4.642.3.667 (use: old, )

How data is copied/created.

References

Logical Definition (CLD)

 

Expansion

Expansion performed internally based on codesystem Structure Map Transform v6.0.0-ballot3 (CodeSystem)

This value set contains 17 concepts

SystemCodeDisplay (en)DefinitionJSONXML
http://hl7.org/fhir/map-transform  createcreate

create(type : string) - type is passed through to the application on the standard API, and must be known by it.

http://hl7.org/fhir/map-transform  copycopy

copy(source).

http://hl7.org/fhir/map-transform  truncatetruncate

truncate(source, length) - source must be stringy type.

http://hl7.org/fhir/map-transform  escapeescape

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.

http://hl7.org/fhir/map-transform  castcast

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)

http://hl7.org/fhir/map-transform  appendappend

append(source...) - source is element or string.

http://hl7.org/fhir/map-transform  translatetranslate

translate(source, uri_of_map) - use the translate operation.

http://hl7.org/fhir/map-transform  referencereference

reference(source : object) - return a string that references the provided tree properly.

http://hl7.org/fhir/map-transform  dateOpdateOp

Perform a date operation. Parameters to be documented.

http://hl7.org/fhir/map-transform  uuiduuid

Generate a random UUID (in lowercase). No Parameters.

http://hl7.org/fhir/map-transform  pointerpointer

Return the appropriate string to put in a reference that refers to the resource provided as a parameter.

http://hl7.org/fhir/map-transform  evaluateevaluate

Execute the supplied FHIRPath expression and use the value returned by that.

http://hl7.org/fhir/map-transform  cccc

Create a CodeableConcept. Parameters = (text) or (system. Code[, display]).

http://hl7.org/fhir/map-transform  cc

Create a Coding. Parameters = (system. Code[, display]).

http://hl7.org/fhir/map-transform  qtyqty

Create a quantity. Parameters = (text) or (value, unit, [system, code]) where text is the natural representation e.g. [comparator]value[space]unit.

http://hl7.org/fhir/map-transform  idid

Create an identifier. Parameters = (system, value[, type]) where type is a code from the identifier type value set.

http://hl7.org/fhir/map-transform  cpcp

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.


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. In this scheme, some codes are under other codes, and imply that the code they are under also applies
System 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)
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