Stream: mapping-framework
Topic: API access
David Hay (Dec 11 2019 at 21:39):
The Firely implementation of the mapping language involves 2 operations - $convert to create a StructureMap from the mapping file, and $transform to execute a transform against that StructureMap. Is this something worth including and standardizing in the spec?
Vadim Peretokin (Dec 12 2019 at 12:35):
In a way most of it already is, see http://hl7.org/fhir/resource-operation-convert.html and https://www.hl7.org/fhir/structuremap-operation-transform.html. The only thing custom is Content-Type
of text/fhir-mapping;charset=utf-8
for $convert
so it knows what to do with it. Is that what you're looking for?
David Hay (Dec 12 2019 at 17:46):
Yeah - would be good to have a common content-type...
(Just for the record I love this implementation pattern! Will post about my new designer app that uses it once it is stable...)
Last updated: Apr 12 2022 at 19:14 UTC