FHIR Chat · Multiple Fhir version · implementers

Stream: implementers

Topic: Multiple Fhir version


view this post on Zulip Sethu (Nov 22 2019 at 21:02):

Hey, Need to use R4 & Stu3 within the same project in a .Net Stack. The official Nuget Packages Hl7.Fhir.STU3 and Hl7.Fhir.R4 cannot used within the same project due to namespace collisions. There is package Carevolution.Fhir.Core (https://www.nuget.org/packages/CareEvolution.Fhir.Core/) supports multiple versions within the same assembly. It is less frequently updated and not sure what is supported in CareEvolution vs. the Official packages. It states it supports POCO & serializations. Any help is much appreciated.

view this post on Zulip Alexander Zautke (Nov 22 2019 at 21:32):

You can find an explanation on how to make multiple versions work with the "extern alias" feature of C# here: https://github.com/brianpos/FhirPathTester

view this post on Zulip Sethu (Nov 22 2019 at 22:26):

Thanks Alexander! Another one, if there is a message (bundle) that gets generated in stu3, what are the options to covert it to R4, rather than building the resources from scratch

view this post on Zulip Lloyd McKenzie (Nov 23 2019 at 06:01):

There are StructureMaps that allow translation from STU3 to R4. However, not everything can be converted automatically.

view this post on Zulip Sethu (Nov 25 2019 at 21:15):

Lloyd, could you please point me to some info on Structure Maps, how to apply them. Don't know much about them, want to learn a bit more. Thanks!

view this post on Zulip Lloyd McKenzie (Nov 25 2019 at 21:36):

Have you looked at the StructureMap resource in the spec and the section on the mapping language? If you've done that, you might also find this video helpful: https://www.youtube.com/watch?v=CKNbBRIL8M8

view this post on Zulip Sethu (Nov 25 2019 at 21:38):

Thanks


Last updated: Apr 12 2022 at 19:14 UTC