DataTransformer typedef

DataTransformer = Data Function(Data data)

Signature of a data transformer, which maps one Data object to another.

Used to convert data to another format (e.g. OMH or FHIR) or to protect privacy (e.g. hash an identifier). Grouped in a DataTransformerSchema.

Implementation

typedef DataTransformer = Data Function(Data);