FHIR Chat · hello · R3/R4 Conversion work

Stream: R3/R4 Conversion work

Topic: hello


view this post on Zulip Welcome Bot (Jul 23 2018 at 00:48):

Welcome to #R3/R4 Conversion work.

Description: For people interested in working on R3 / R4 mapping work

view this post on Zulip Grahame Grieve (Jul 23 2018 at 00:48):

hi @all. I have created this stream for people interested in helping out with the R3/R4 mapping work

view this post on Zulip Grahame Grieve (Jul 23 2018 at 00:49):

I have finally - after much background work - got the framework in place for this; it's taken me a lot longer than I wanted...

view this post on Zulip Grahame Grieve (Jul 23 2018 at 00:54):

ok, so, working on the conversions is a 5 part process:

1. getting the build working
2. running the conversion tests
3. identifying areas where the tests failed
4. fixing the issues in the maps, and then going back to #2.
5. When enough work has been done, committing the results

The build will automatically pick up changes from #5

view this post on Zulip Grahame Grieve (Jul 23 2018 at 00:57):

Step #1: see the wiki

view this post on Zulip Grahame Grieve (Jul 23 2018 at 00:59):

Step #2: use this command line, with the current directory set to "build":

java -cp publish\org.hl7.fhir.validator.jar org.junit.runner.JUnitCore org.hl7.fhir.conversion.tests.R3R4ConversionTests

view this post on Zulip Grahame Grieve (Jul 23 2018 at 01:04):

Step #3: open \implementations\r3maps\outcomes.json

view this post on Zulip Grahame Grieve (Jul 23 2018 at 01:05):

the root object in the json file contains a list of resource names: find the one for the resource you are interested in. (and ignore the same resource name in the list under StructureDefinition, which deals with the conversion of the profile)

view this post on Zulip Grahame Grieve (Jul 23 2018 at 02:33):

the next level under each resource type is a list of examples that have been converted, and the outcomes of the conversion. What the outcomes are depends on how well the mapping process works.

view this post on Zulip Lloyd McKenzie (Jul 23 2018 at 02:40):

Will the conversion process include defining extensions for content that exists in R4 but not in R3 (or vice versa)?

view this post on Zulip Grahame Grieve (Jul 23 2018 at 02:43):

no. The process doesn't lead to that. And my thought is that we're going to be lucky to do R3 -> R4 -> R3 round tripping. if we get that done, then we can think about it doing R4 -> R3 -> R4

view this post on Zulip Grahame Grieve (Jul 23 2018 at 02:52):

one of our challenges with this process is that substantiative changes are not complete on the resources...

view this post on Zulip Vadim Peretokin (Jul 23 2018 at 06:56):

Nice, I'll look at this tonight!

view this post on Zulip Grahame Grieve (Jul 23 2018 at 06:57):

output resources go in \r3maps\test-output

view this post on Zulip Grahame Grieve (Jul 23 2018 at 06:57):

at present, all maps are failing with some infrastructure error I need to look at

view this post on Zulip Grahame Grieve (Jul 23 2018 at 12:20):

ok so I've just committed a process that at least works somewhat


Last updated: Apr 12 2022 at 19:14 UTC