firely-net-sdk
firely-net-sdk copied to clipboard
Convert Java POCO inter-version conversion to C#
Grahame has generated+handwritten a set of Java classes that convert DSTU2<->R3<->R4<->R4B. It seems possible to convert this Java code to C#, either using smart search/replace, or writing a Java parser (ANTLR?) + output with something like Roslyn.
Pretty sure @brianpos was working on this?
I was looking into it originally then switched over to porting the mapping engine, which I completed and is on github and NuGet.
I also investigated what it might take to get the fhirpath expressions in it converted to code too, however stalled at that point. Got enough for most search parameters, but that was it at the time.
The cql generation that is now open source might make this more interesting too as the main step I stalled on was type casting. Maybe time to revive the effort.
Also note that after I ported the mapping engine GG made some largish changes that I haven't been able to get back in and update so recognise that this would be quite a challenge. Hence why I switched to porting the engine rather than the code.
It seems this is not going to happen.