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[], loader?: (url: string) => StructureMap[]): TypedValue[];
Parameters
Parameter | Type | Description |
---|---|---|
structureMap | StructureMap | The StructureMap to transform. |
input | TypedValue[] | The input values. |
loader | (url: string) => StructureMap[] | (Optional) Optional loader function for loading imported StructureMaps. |
Returns:
The transformed values.