firely-net-sdk icon indicating copy to clipboard operation
firely-net-sdk copied to clipboard

Convert Java POCO inter-version conversion to C#

Open ewoutkramer opened this issue 2 years ago • 2 comments

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.

ewoutkramer avatar Oct 10 '22 11:10 ewoutkramer

Pretty sure @brianpos was working on this?

ewoutkramer avatar Jul 19 '23 14:07 ewoutkramer

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.

brianpos avatar Jul 19 '23 20:07 brianpos

It seems this is not going to happen.

mmsmits avatar May 01 '24 13:05 mmsmits