Stream: v2 to FHIR
Topic: ConceptMap vs StructureMap
ravi.kuchi (Jun 21 2021 at 01:01):
Hi, I am new to this stream, so sorry for asking a basic question.
I tried my hand at Fhir Mapping Language (FML) and my thought was that FML can be used to convert V2 to FHIR using structure maps, to my surprise I see that the V2toFHIR defines conceptmaps as in the link https://github.com/HL7/v2-to-fhir/blob/master/fsh/Message%20ADT_A08%20to%20Bundle.fsh , please help me understand the decision and implementation here as I was looking at FML as the solution
Lloyd McKenzie (Jun 24 2021 at 01:26):
@Hans Buitendijk
(I'm curious too - this seems an odd use of ConceptMap...)
Hans Buitendijk (Jun 25 2021 at 00:46):
This was a fundamental decision in the project to do using ConceptMaps rather than FML or StructureMaps with Grahame in the room.
The problem with FML is that for review of mappings it is too "obtuse" to read and compare, rather a spreadsheet presentation provides the appropriate visual representation to establish, manage, and review actual mappings.
It was clearly recognized that that is not as computable and amenable to validation tools as other syntaxes, so there was also clear agreement that a structured format would be important. The choice was on ConceptMap as the ConceptMap structure was the easiest to map into (with some extensions) that other tools could then use to create either mapping tools directly, or StructureMaps and subsequently FML as they wish and see fit with the full knowledge of their local implementations that at the standard level would not be available, without encumbering that level of complexity and obtuse expressions that would make creation, managing, and review of maps inclusive of a wider audience that understand the data at hand.
And it works. Parties use the .csv or the ConceptMap as their starting points. So you can decide to generate your FML as you see fit.
ravi.kuchi (Jul 17 2021 at 19:24):
Thanks for the explanation!
Last updated: Apr 12 2022 at 19:14 UTC