c# class generation from profile xml?

102 views
Skip to first unread message

Oliver Koenig

unread,
Sep 9, 2020, 12:28:50 PM9/9/20
to FHIR DOTNET
Hi everyone,
I need a way to automatically create c# class model from other profiles, as in here: https://github.com/hl7germany/basisprofil-de-stu3.
A similar question was asked in the google group three years ago: https://groups.google.com/g/fhir-dotnet/c/4RmN6_DEkd0, and was answered that it was not possible - yet?
Is it possible now, and if yes, then how?
Thanks a lot for any hint!
Best regards,
Oliver  

Mirjam Baltus

unread,
Sep 11, 2020, 1:45:51 AM9/11/20
to FHIR DOTNET
Hi Oliver,

You posted this question on the FHIR API github as well: https://github.com/FirelyTeam/fhir-net-api/issues/1478.
As mentioned there, it might be possible with the new code generator that will be moved to in 2.0.

Kind regards,
Mirjam

Op woensdag 9 september 2020 om 18:28:50 UTC+2 schreef okx.oliv...@gmail.com:

Oliver Koenig

unread,
Sep 14, 2020, 5:32:04 AM9/14/20
to FHIR DOTNET
Hi Mirjam,

could you hint me to about when to expect version 2.0 of the FHIR API?
E.g. late 2020 or early 2021 or later?
Thanks a lot!

Kind regards,
Oliver

Brian Postlethwaite

unread,
Sep 14, 2020, 6:32:03 AM9/14/20
to FHIR DOTNET
You might want to take a look at this and see if you really want to generate custom classes with custom serialization... 

The v2 client is in alpha, and will be your job to do the code generation, it's the tooling that you might be able to leverage. There will work your side for sure. 

Reply all
Reply to author
Forward
0 new messages