Skip to main content

core.structuremaptransform

Home > @medplum/core > structureMapTransform

structureMapTransform() function

Transforms input values using a FHIR StructureMap.

See: https://www.hl7.org/fhir/mapping-language.html

Signature:

export declare function structureMapTransform(structureMap: StructureMap, input: TypedValue[], transformMaps?: TransformMapCollection): TypedValue[];

Parameters

Parameter

Type

Description

structureMap

StructureMap

The StructureMap to transform.

input

TypedValue[]

The input values.

transformMaps

TransformMapCollection

(Optional) Optional collection of imported StructureMaps and ConceptMaps.

Returns:

TypedValue[]

The transformed values.