FHIR Cross-Version Extensions package for FHIR R4 from FHIR R5 - Version 0.0.1-snapshot-2. See the Directory of published versions
| Official URL: http://hl7.org/fhir/map-transform | Version: 5.0.0 | |||
| Standards status: Informative | Maturity Level: 2 | Computable Name: StructureMapTransform | ||
How data is copied/created.
This Code system is referenced in the content logical definition of the following value sets:
Properties
This code system defines the following properties for its concepts
| Name | Code | Type | Description | 
| fhirpath | 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 | 
| 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 |