Stream: R3/R4 Conversion work
Topic: hello
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
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
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...
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
Grahame Grieve (Jul 23 2018 at 00:57):
Step #1: see the wiki
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
Grahame Grieve (Jul 23 2018 at 01:04):
Step #3: open \implementations\r3maps\outcomes.json
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)
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.
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)?
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
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...
Vadim Peretokin (Jul 23 2018 at 06:56):
Nice, I'll look at this tonight!
Grahame Grieve (Jul 23 2018 at 06:57):
output resources go in \r3maps\test-output
Grahame Grieve (Jul 23 2018 at 06:57):
at present, all maps are failing with some infrastructure error I need to look at
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