FHIR Chat · generators · dotnet

Stream: dotnet

Topic: generators


view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 28 2015 at 05:46):

The generated models in the ft-t4-generation stream are almost complete now.

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 28 2015 at 05:48):

Files left that are not generated:
Quantity constraint classes, and Element.cs, Extension.cs, Narrative.cs and Resource.cs

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 28 2015 at 07:25):

Only classes not included in the generated lsit are now: element.cs, extension.cs, narrativ.cse and resource.cs

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 28 2015 at 07:25):

These appear to have lots of differences from the other classes.

view this post on Zulip Ewout Kramer (Dec 28 2015 at 17:46):

I do generate element.cs etc. they come from the base definitions. These are partial, and I think there's a hand-writter counter part in another partial class...

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 30 2015 at 09:35):

The dotnet code generation has been outputing the base class for data type nested classes as BackboneElement, which is incorrect as they cannot have modifier extensions.

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 30 2015 at 09:36):

e.g. Timing Class, TimingRepeatComponent nested class

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 30 2015 at 09:36):

Now generating with correct baseclass.

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 30 2015 at 09:36):

Anyone know if this might cause other issues?

view this post on Zulip z Brian Postlethwaite (old - don't use) (Dec 30 2015 at 21:56):

Code generation also now works if you replace the source XML files with the ones from the current build (and unit tests work too) - Just need to also update SerializarionTests.cs as the Questionnaire definition was changed.


Last updated: Apr 12 2022 at 19:14 UTC