FHIR Chat · FHIR Mapping Language - lost in documentation · implementers

Stream: implementers

Topic: FHIR Mapping Language - lost in documentation


view this post on Zulip Peter Scholz (Nov 25 2016 at 11:00):

After @Grahame Grieve 's presentation at the DevDays,
I just wanted to start playing around with the FHIR Mapping Language using java code
but I don't manage to find a good starting point (examples or doc) how to dive into it

view this post on Zulip Oliver Egger (Nov 25 2016 at 12:58):

Hi @Peter Scholz , I also just started to dive in this week with FHIR Mapping Language/java code. I started with the StructureMapTests Junit tests in package org.hl7.fhir.dstu3.test. I checked out the projects fhir/build/implementations/java/org.hl7.fhir.dstu3 and fhir/build/implementations/java/org.hl7.fhir.utilities that the tests can be run (some path adjustments was necessary since i'm osx based). I'm currently working my way through the tutorial, and started defining the structuredefinitions/maps for it and can run step 1 to step3 but needed to adjust the code a little bit. I'm in the process of setting it up on github.

view this post on Zulip Peter Scholz (Nov 25 2016 at 13:29):

So you are working using the SVN repository on gforge ?
As I started to use hapi, i fear I'm missing those UnitTests

view this post on Zulip Oliver Egger (Nov 25 2016 at 13:36):

yes, I'm using the svn repository from gforge. I don't know if and how hapi supports the mapping language already, would be interested to know to :-)

view this post on Zulip Grahame Grieve (Nov 25 2016 at 13:50):

I don't think James has done that yet

view this post on Zulip Grahame Grieve (Nov 25 2016 at 13:54):

At DevDays, I was asked about whether we could publish the mappings between R2 and R3. I've been thinking about that. I could, maybe, do that. But to do that, I have to publish R2 definitions in R3 as logical mappings, in some other namespace, I think. But that sounds like a total headspin for everyone....

view this post on Zulip Oliver Egger (Nov 25 2016 at 14:05):

yes, another namespace adventure ... but would be nice to convert profiles from R2 to R3 ... (eat your own dog food :-))

view this post on Zulip Grahame Grieve (Nov 25 2016 at 14:06):

oh we already have that - the R2 profiles are published in R3 format and vice versa

view this post on Zulip Oliver Egger (Nov 25 2016 at 14:10):

with the help of the mapping lanugage? i was thinking to convert own defined profiles from R2 to R3 with a map.

view this post on Zulip Grahame Grieve (Nov 25 2016 at 14:23):

well, right now, I have java code to do the conversion. I am thinking of translating it to the mapping language

view this post on Zulip Peter Scholz (Nov 25 2016 at 14:26):

at least StructureMappingUtilities is included in the current sources so I guess that might work with hapi as well,
right now I have checked out the gforge version too, to have the samples from the unit tests

I think I can give the tutorial a try during next week

view this post on Zulip Oliver Egger (Nov 25 2016 at 15:08):

i published my first beginner steps (currently stuck in step 4) in the tutorial: https://github.com/ahdis/fhir-mapping-tutorial feedback welcome!


Last updated: Apr 12 2022 at 19:14 UTC